2016-06-20 16:59:15 +01:00
|
|
|
BEGIN TRANSACTION;
|
2016-07-10 01:18:13 +01:00
|
|
|
CREATE TABLE "TotalScores" (
|
2016-08-04 02:41:02 +01:00
|
|
|
`User` TEXT NOT NULL,
|
|
|
|
`TotalScore` INTEGER NOT NULL,
|
|
|
|
`AverageTime` INTEGER NOT NULL,
|
2016-06-20 16:59:15 +01:00
|
|
|
PRIMARY KEY(User)
|
|
|
|
);
|
|
|
|
CREATE TABLE "Questions" (
|
2016-08-04 02:41:02 +01:00
|
|
|
`ID` INTEGER PRIMARY KEY AUTOINCREMENT,
|
|
|
|
`Category` TEXT NOT NULL,
|
|
|
|
`Question` TEXT NOT NULL,
|
|
|
|
`Answer` TEXT NOT NULL
|
2016-06-20 16:59:15 +01:00
|
|
|
);
|
2016-08-04 02:41:02 +01:00
|
|
|
CREATE TABLE `CustomJS` (
|
|
|
|
`ID` INTEGER PRIMARY KEY AUTOINCREMENT,
|
|
|
|
`GuildID` TEXT NOT NULL,
|
|
|
|
`CommandName` TEXT NOT NULL,
|
|
|
|
`Script` TEXT NOT NULL
|
|
|
|
);
|
|
|
|
COMMIT;
|