SQL: Change column types to 'timestamp' for sessionCache
This commit is contained in:
parent
ab5e28e73d
commit
efa1a9e6cf
|
@ -1516,10 +1516,10 @@ class Sql:
|
|||
elif db_server == 'sqlite':
|
||||
self.query['createSessionsCacheTable'] = """CREATE TABLE SessionsCache (
|
||||
id INTEGER PRIMARY KEY,
|
||||
sessionStart REAL NOT NULL,
|
||||
sessionEnd REAL NOT NULL,
|
||||
gameStart REAL NOT NULL,
|
||||
gameEnd REAL NOT NULL,
|
||||
sessionStart timestamp NOT NULL,
|
||||
sessionEnd timestamp NOT NULL,
|
||||
gameStart timestamp NOT NULL,
|
||||
gameEnd timestamp NOT NULL,
|
||||
sessionId INT,
|
||||
date TEXT NOT NULL, /* 1st char is style (A/T/H/S), other 6 are the key */
|
||||
type TEXT,
|
||||
|
|
Loading…
Reference in New Issue
Block a user