Revert Matts change for sqlite until fixed.
Previous syntax failed to insert the required line into TourneyTypes
This commit is contained in:
parent
ec9ce544ca
commit
b92feee021
|
@ -336,9 +336,10 @@ class fpdb_db:
|
||||||
self.cursor.execute("INSERT INTO Sites (name,currency) VALUES ('PokerStars', 'USD')")
|
self.cursor.execute("INSERT INTO Sites (name,currency) VALUES ('PokerStars', 'USD')")
|
||||||
self.cursor.execute("INSERT INTO Sites (name,currency) VALUES ('Everleaf', 'USD')")
|
self.cursor.execute("INSERT INTO Sites (name,currency) VALUES ('Everleaf', 'USD')")
|
||||||
self.cursor.execute("INSERT INTO Sites (name,currency) VALUES ('Win2day', 'USD')")
|
self.cursor.execute("INSERT INTO Sites (name,currency) VALUES ('Win2day', 'USD')")
|
||||||
self.cursor.execute("""INSERT INTO TourneyTypes
|
self.cursor.execute("INSERT INTO TourneyTypes VALUES (DEFAULT, 1, 0, 0, 0, False);")
|
||||||
(siteId,buyin,fee,knockout,rebuyOrAddon) VALUES
|
#self.cursor.execute("""INSERT INTO TourneyTypes
|
||||||
(1,0,0,0,?)""",(False,) )
|
# (siteId,buyin,fee,knockout,rebuyOrAddon) VALUES
|
||||||
|
# (1,0,0,0,?)""",(False,) )
|
||||||
#end def fillDefaultData
|
#end def fillDefaultData
|
||||||
|
|
||||||
def recreate_tables(self):
|
def recreate_tables(self):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user