]> git.seodisparate.com - EN605.607.81.SP22_ASDM_Project/commitdiff
Fix typo in backend database spec.
authorStephen Seo <seo.disparate@gmail.com>
Fri, 18 Mar 2022 07:45:44 +0000 (16:45 +0900)
committerStephen Seo <seo.disparate@gmail.com>
Fri, 18 Mar 2022 07:45:44 +0000 (16:45 +0900)
backend_database_specification.md

index cc04a8645afced0ee2f4e582b7fc542df772d718..9c7d75d8244de3ae54a36799173918199b69c9d4 100644 (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