diff --git a/backend_database_specification.md b/backend_database_specification.md index cc04a86..9c7d75d 100644 --- a/backend_database_specification.md +++ b/backend_database_specification.md @@ -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