DB: add category and limitType to TourneyTypes

This commit is contained in:
steffen123 2010-07-11 06:42:37 +02:00
parent cfb0a3f3d5
commit 822c592db8
2 changed files with 7 additions and 1 deletions

View File

@ -74,7 +74,7 @@ except ImportError:
use_numpy = False use_numpy = False
DB_VERSION = 128 DB_VERSION = 129
# Variance created as sqlite has a bunch of undefined aggregate functions. # Variance created as sqlite has a bunch of undefined aggregate functions.

View File

@ -370,6 +370,8 @@ class Sql:
currency varchar(4) NOT NULL, currency varchar(4) NOT NULL,
buyIn INT NOT NULL, buyIn INT NOT NULL,
fee INT NOT NULL, fee INT NOT NULL,
category varchar(9) NOT NULL,
limitType char(2) NOT NULL,
buyInChips INT, buyInChips INT,
maxSeats INT, maxSeats INT,
rebuy BOOLEAN, rebuy BOOLEAN,
@ -395,6 +397,8 @@ class Sql:
currency varchar(4) NOT NULL, currency varchar(4) NOT NULL,
buyin INT NOT NULL, buyin INT NOT NULL,
fee INT NOT NULL, fee INT NOT NULL,
category varchar(9),
limitType char(2),
buyInChips INT, buyInChips INT,
maxSeats INT, maxSeats INT,
rebuy BOOLEAN, rebuy BOOLEAN,
@ -419,6 +423,8 @@ class Sql:
currency VARCHAR(4) NOT NULL, currency VARCHAR(4) NOT NULL,
buyin INT NOT NULL, buyin INT NOT NULL,
fee INT NOT NULL, fee INT NOT NULL,
category TEXT,
limitType TEXT,
buyInChips INT, buyInChips INT,
maxSeats INT, maxSeats INT,
rebuy BOOLEAN, rebuy BOOLEAN,