Fix typo in backend database spec.

This commit is contained in:
Stephen Seo 2022-03-18 16:45:44 +09:00
parent 2bc0094052
commit 2f38bf9a0b

View file

@ -12,7 +12,7 @@ PRAGMA foreign_keys = ON;
// fields should be self explanatory for the players table
CREATE TABLE players (id INTEGER PRIMARY KEY NOT NULL,
date_added TEXT NOT NULL,
game_id UNIQUE INTEGER,
game_id INTEGER UNIQUE,
FOREIGN KEY(game_id) REFERENCES games(id));
// "cyan_player" and "magenta_player" should correspond to an existing entry in