fix tourneytypes insert for postgres
This commit is contained in:
parent
b0677545e0
commit
455e92e6f6
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user