From 822c592db82297467cdcd4b0caf02e6cef12c6f9 Mon Sep 17 00:00:00 2001 From: steffen123 Date: Sun, 11 Jul 2010 06:42:37 +0200 Subject: [PATCH] DB: add category and limitType to TourneyTypes --- pyfpdb/Database.py | 2 +- pyfpdb/SQL.py | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/pyfpdb/Database.py b/pyfpdb/Database.py index a0dd1495..5e591d1b 100644 --- a/pyfpdb/Database.py +++ b/pyfpdb/Database.py @@ -74,7 +74,7 @@ except ImportError: use_numpy = False -DB_VERSION = 128 +DB_VERSION = 129 # Variance created as sqlite has a bunch of undefined aggregate functions. diff --git a/pyfpdb/SQL.py b/pyfpdb/SQL.py index 77e2bd4a..415fe3af 100644 --- a/pyfpdb/SQL.py +++ b/pyfpdb/SQL.py @@ -370,6 +370,8 @@ class Sql: currency varchar(4) NOT NULL, buyIn INT NOT NULL, fee INT NOT NULL, + category varchar(9) NOT NULL, + limitType char(2) NOT NULL, buyInChips INT, maxSeats INT, rebuy BOOLEAN, @@ -395,6 +397,8 @@ class Sql: currency varchar(4) NOT NULL, buyin INT NOT NULL, fee INT NOT NULL, + category varchar(9), + limitType char(2), buyInChips INT, maxSeats INT, rebuy BOOLEAN, @@ -419,6 +423,8 @@ class Sql: currency VARCHAR(4) NOT NULL, buyin INT NOT NULL, fee INT NOT NULL, + category TEXT, + limitType TEXT, buyInChips INT, maxSeats INT, rebuy BOOLEAN,