From c136f7a2dcab1809b2a243d8eb0252e70dbd2580 Mon Sep 17 00:00:00 2001 From: steffen123 Date: Sat, 31 Jul 2010 22:27:24 +0200 Subject: [PATCH] fix pgsql table creation --- pyfpdb/SQL.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyfpdb/SQL.py b/pyfpdb/SQL.py index fcebc5c9..7ba5641b 100644 --- a/pyfpdb/SQL.py +++ b/pyfpdb/SQL.py @@ -146,8 +146,8 @@ class Sql: id BIGSERIAL, PRIMARY KEY (id), tourneysPlayerId INT NOT NULL, FOREIGN KEY (tourneysPlayerId) REFERENCES TourneysPlayers(id), playerId INT NOT NULL, FOREIGN KEY (playerId) REFERENCES Players(id), - buyInPercentage FLOAT UNSIGNED NOT NULL, - payOffPercentage FLOAT UNSIGNED NOT NULL)""" + buyInPercentage FLOAT NOT NULL, + payOffPercentage FLOAT NOT NULL)""" elif db_server == 'sqlite': self.query['createBackingsTable'] = """CREATE TABLE Backings ( id INTEGER PRIMARY KEY,