From 9f52867bf65261f0d760512418a9f8f25895826a Mon Sep 17 00:00:00 2001 From: steffen123 Date: Wed, 4 Aug 2010 23:41:50 +0200 Subject: [PATCH] add HP.wentAllInOnStreet field. explanation on wiki. --- pyfpdb/Database.py | 2 +- pyfpdb/SQL.py | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/pyfpdb/Database.py b/pyfpdb/Database.py index cf62dcad..7672d33c 100644 --- a/pyfpdb/Database.py +++ b/pyfpdb/Database.py @@ -74,7 +74,7 @@ except ImportError: use_numpy = False -DB_VERSION = 139 +DB_VERSION = 140 # Variance created as sqlite has a bunch of undefined aggregate functions. diff --git a/pyfpdb/SQL.py b/pyfpdb/SQL.py index 73505129..86eb3e95 100644 --- a/pyfpdb/SQL.py +++ b/pyfpdb/SQL.py @@ -543,6 +543,7 @@ class Sql: position CHAR(1), seatNo SMALLINT NOT NULL, sitout BOOLEAN NOT NULL, + wentAllInOnStreet SMALLINT, card1 smallint NOT NULL, /* 0=none, 1-13=2-Ah 14-26=2-Ad 27-39=2-Ac 40-52=2-As */ card2 smallint NOT NULL, @@ -659,6 +660,7 @@ class Sql: position CHAR(1), seatNo SMALLINT NOT NULL, sitout BOOLEAN NOT NULL, + wentAllInOnStreet SMALLINT, card1 smallint NOT NULL, /* 0=none, 1-13=2-Ah 14-26=2-Ad 27-39=2-Ac 40-52=2-As */ card2 smallint NOT NULL, @@ -774,6 +776,7 @@ class Sql: position TEXT, seatNo INT NOT NULL, sitout BOOLEAN NOT NULL, + wentAllInOnStreet INT, card1 INT NOT NULL, /* 0=none, 1-13=2-Ah 14-26=2-Ad 27-39=2-Ac 40-52=2-As */ card2 INT NOT NULL,