diff --git a/pyfpdb/Database.py b/pyfpdb/Database.py index 7546edd9..a0dd1495 100644 --- a/pyfpdb/Database.py +++ b/pyfpdb/Database.py @@ -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. diff --git a/pyfpdb/SQL.py b/pyfpdb/SQL.py index a78fca5f..77e2bd4a 100644 --- a/pyfpdb/SQL.py +++ b/pyfpdb/SQL.py @@ -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,