2016-06-20 16:59:15 +01:00
|
|
|
BEGIN TRANSACTION;
|
2016-07-10 01:18:13 +01:00
|
|
|
CREATE TABLE "TotalScores" (
|
2016-06-20 16:59:15 +01:00
|
|
|
`User` TEXT UNIQUE,
|
|
|
|
`TotalScore` INTEGER,
|
2016-07-10 01:18:13 +01:00
|
|
|
`AverageTime` INTEGER,
|
2016-06-20 16:59:15 +01:00
|
|
|
PRIMARY KEY(User)
|
|
|
|
);
|
|
|
|
CREATE TABLE "Questions" (
|
|
|
|
`ID` INTEGER PRIMARY KEY AUTOINCREMENT,
|
|
|
|
`Category` TEXT,
|
|
|
|
`Question` TEXT,
|
|
|
|
`Answer` TEXT
|
|
|
|
);
|
2016-07-10 01:18:13 +01:00
|
|
|
COMMIT;
|