remove default value and allow null for Hands.rush

This commit is contained in:
steffen123 2010-07-11 06:37:25 +02:00
parent 17b3b77022
commit cfb0a3f3d5
2 changed files with 4 additions and 4 deletions

View File

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

View File

@ -259,7 +259,7 @@ class Sql:
importTime DATETIME NOT NULL,
seats TINYINT NOT NULL,
maxSeats TINYINT NOT NULL,
rush BOOLEAN NOT NULL DEFAULT True,
rush BOOLEAN,
boardcard1 smallint, /* 0=none, 1-13=2-Ah 14-26=2-Ad 27-39=2-Ac 40-52=2-As */
boardcard2 smallint,
boardcard3 smallint,
@ -296,7 +296,7 @@ class Sql:
importTime timestamp without time zone NOT NULL,
seats SMALLINT NOT NULL,
maxSeats SMALLINT NOT NULL,
rush BOOLEAN NOT NULL DEFAULT True,
rush BOOLEAN,
boardcard1 smallint, /* 0=none, 1-13=2-Ah 14-26=2-Ad 27-39=2-Ac 40-52=2-As */
boardcard2 smallint,
boardcard3 smallint,
@ -332,7 +332,7 @@ class Sql:
importTime REAL NOT NULL,
seats INT NOT NULL,
maxSeats INT NOT NULL,
rush BOOLEAN NOT NULL DEFAULT 1,
rush BOOLEAN,
boardcard1 INT, /* 0=none, 1-13=2-Ah 14-26=2-Ad 27-39=2-Ac 40-52=2-As */
boardcard2 INT,
boardcard3 INT,