corrected sqlite table layout. this also fixes hudcache generation for tourneys on sqlite
This commit is contained in:
parent
5cba225fb3
commit
02b5ea8d37
|
@ -74,7 +74,7 @@ except ImportError:
|
|||
use_numpy = False
|
||||
|
||||
|
||||
DB_VERSION = 140
|
||||
DB_VERSION = 141
|
||||
|
||||
|
||||
# Variance created as sqlite has a bunch of undefined aggregate functions.
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue
Block a user