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
DB_VERSION = 128
DB_VERSION = 129
# Variance created as sqlite has a bunch of undefined aggregate functions.

View File

@ -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,