From 455e92e6f6b7ae599257e5f91598851508716c75 Mon Sep 17 00:00:00 2001 From: sqlcoder Date: Tue, 22 Sep 2009 22:04:05 +0100 Subject: [PATCH] fix tourneytypes insert for postgres --- pyfpdb/Database.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pyfpdb/Database.py b/pyfpdb/Database.py index f4de8169..87d178b3 100755 --- a/pyfpdb/Database.py +++ b/pyfpdb/Database.py @@ -1015,7 +1015,9 @@ class Database: if self.backend == self.SQLITE: c.execute("INSERT INTO TourneyTypes (id, siteId, buyin, fee) VALUES (NULL, 1, 0, 0);") else: - c.execute("insert into TourneyTypes values (0,1,0,0,0,0,0,null,0,0,0);") + c.execute("""insert into TourneyTypes(id, siteId, buyin, fee, maxSeats, knockout + ,rebuyOrAddon, speed, headsUp, shootout, matrix) + values (0, 1, 0, 0, 0, False, False, null, False, False, False);""") #end def fillDefaultData