fix tourneytypes insert for postgres again
This commit is contained in:
parent
8d01caa30f
commit
01c33c26f8
|
@ -1094,7 +1094,7 @@ class Database:
|
||||||
if self.backend == self.SQLITE:
|
if self.backend == self.SQLITE:
|
||||||
c.execute("INSERT INTO TourneyTypes (id, siteId, buyin, fee) VALUES (NULL, 1, 0, 0);")
|
c.execute("INSERT INTO TourneyTypes (id, siteId, buyin, fee) VALUES (NULL, 1, 0, 0);")
|
||||||
elif self.backend == self.PGSQL:
|
elif self.backend == self.PGSQL:
|
||||||
c.execute("insert into TourneyTypes values (0,1,0,0,0,False,False,null,False,False,False);")
|
c.execute("insert into TourneyTypes values (1,1,0,0,0,False,False,null,False,False,False);")
|
||||||
else:
|
else:
|
||||||
c.execute("""insert into TourneyTypes(id, siteId, buyin, fee, maxSeats, knockout
|
c.execute("""insert into TourneyTypes(id, siteId, buyin, fee, maxSeats, knockout
|
||||||
,rebuyOrAddon, speed, headsUp, shootout, matrix)
|
,rebuyOrAddon, speed, headsUp, shootout, matrix)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user