Minor fix to backend database spec.
This commit is contained in:
parent
0eba561699
commit
2bc0094052
1 changed files with 1 additions and 1 deletions
|
@ -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 INTEGER,
|
||||
game_id UNIQUE INTEGER,
|
||||
FOREIGN KEY(game_id) REFERENCES games(id));
|
||||
|
||||
// "cyan_player" and "magenta_player" should correspond to an existing entry in
|
||||
|
|
Loading…
Reference in a new issue