diff --git a/pyfpdb/Database.py b/pyfpdb/Database.py index f4de8169..53e2a10e 100755 --- a/pyfpdb/Database.py +++ b/pyfpdb/Database.py @@ -1014,6 +1014,8 @@ class Database: c.execute("INSERT INTO Sites (name,currency) VALUES ('PartyPoker', 'USD')") if self.backend == self.SQLITE: c.execute("INSERT INTO TourneyTypes (id, siteId, buyin, fee) VALUES (NULL, 1, 0, 0);") + elif self.backend == self.PGSQL: + c.execute("insert into TourneyTypes values (0,1,0,0,0,'0','0',null,'0','0','0');") else: c.execute("insert into TourneyTypes values (0,1,0,0,0,0,0,null,0,0,0);")