backend: Update db_handler's db spec.
This commit is contained in:
parent
a1668aa0b6
commit
e7c3670498
1 changed files with 2 additions and 2 deletions
|
@ -39,8 +39,8 @@ fn init_conn(sqlite_path: &str, first_run: DBFirstRun) -> Result<Connection, Str
|
|||
let result = conn.execute(
|
||||
"
|
||||
CREATE TABLE games (id INTEGER PRIMARY KEY NOT NULL,
|
||||
cyan_player INTEGER UNIQUE NOT NULL,
|
||||
magenta_player INTEGER UNIQUE NOT NULL,
|
||||
cyan_player INTEGER UNIQUE,
|
||||
magenta_player INTEGER UNIQUE,
|
||||
date_added TEXT NOT NULL,
|
||||
board TEXT NOT NULL,
|
||||
status INTEGER NOT NULL,
|
||||
|
|
Loading…
Reference in a new issue