corrected sqlite table layout. this also fixes hudcache generation for tourneys on sqlite

This commit is contained in:
steffen123
2010-08-11 04:25:47 +02:00
parent 5cba225fb3
commit 02b5ea8d37
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -918,7 +918,7 @@ class Sql:
commentTs timestamp without time zone)"""
elif db_server == 'sqlite':
self.query['createTourneysPlayersTable'] = """CREATE TABLE TourneysPlayers (
id INT PRIMARY KEY,
id INTEGER PRIMARY KEY,
tourneyId INT,
playerId INT,
rank INT,
@@ -963,7 +963,7 @@ class Sql:
commentTs timestamp without time zone)"""
elif db_server == 'sqlite':
self.query['createHandsActionsTable'] = """CREATE TABLE HandsActions (
id INT PRIMARY KEY,
id INTEGER PRIMARY KEY,
handsPlayerId BIGINT,
street SMALLINT,
actionNo SMALLINT,