name: "Synonyms Room" panels { name: "MINUTE" path: "Panels/Room 3 Synonyms/entry_1" clue: "minute" answer: "tiny" symbols: SUN } panels { name: "ADORE" path: "Panels/Room 3 Synonyms/entry_2" clue: "adore" answer: "love" symbols: SUN } panels { name: "MASSIVE" path: "Panels/Room 3 Synonyms/entry_3" clue: "massive" answer: "huge" symbols: SUN } panels { name: "FRIGHT" path: "Panels/Room 3 Synonyms/entry_4" clue: "fright" answer: "fear" symbols: SUN } panels { name: "SURPASS" path: "Panels/Room 3 Synonyms/entry_5" clue: "surpass" answer: "best" symbols: SUN } panels { name: "VERSE" path: "Panels/Room 3 Synonyms/entry_6" clue: "verse" answer: "poetry" symbols: SUN } panels { name: "SERIOUS" path: "Panels/Room 3 Synonyms/entry_7" clue: "serious" answer: "grave" symbols: SUN } panels { name: "FURY" path: "Panels/Room 3 Synonyms/entry_8" clue: "fury" answer: "rage" symbols: SUN } ports { name: "ENTRY" path: "Components/Warps/worldport3" orientation: "south" } able class='tabs'> about summary refs log blame commit diff stats
path: root/schema.sql
blob: 61fdc454ae50513e86ed1bf4fa63aaaf70cc64c7 (plain) (tree)































                                                                    
CREATE TABLE `profiles` (
  `profile_id` INTEGER PRIMARY KEY,
  `profile_path` VARCHAR(255) NOT NULL
);

CREATE UNIQUE INDEX `profile_by_path` ON `profiles`(`profile_path`);

CREATE TABLE `games` (
  `game_id` INTEGER PRIMARY KEY,
  `steam_appid` INTEGER NOT NULL,
  `moon_image` VARCHAR(255) NOT NULL
);

CREATE UNIQUE INDEX `game_by_appid` ON `games`(`steam_appid`);

CREATE TABLE `achievements` (
  `achievement_id` INTEGER PRIMARY KEY,
  `game_id` INTEGER NOT NULL,
  `title` VARCHAR(255) NOT NULL
);

CREATE TABLE `dids` (
  `profile_id` INTEGER NOT NULL,
  `achievement_id` INTEGER NOT NULL,
  `achieved_at` DATETIME NOT NULL
);

CREATE TABLE `images` (
  `image_id` INTEGER PRIMARY KEY,
  `game_id` INTEGER NOT NULL,
  `filename` VARCHAR(255) NOT NULL
);