database: add entry for starting_player
This commit is contained in:
parent
19501aa4da
commit
205380d1fa
2 changed files with 13 additions and 11 deletions
|
@ -0,0 +1 @@
|
||||||
|
from .database import cur, conn
|
|
@ -15,6 +15,7 @@ CREATE TABLE games (
|
||||||
id INT PRIMARY KEY,
|
id INT PRIMARY KEY,
|
||||||
seed TEXT NOT NULL REFERENCES seeds,
|
seed TEXT NOT NULL REFERENCES seeds,
|
||||||
num_players SMALLINT NOT NULL,
|
num_players SMALLINT NOT NULL,
|
||||||
|
starting_player SMALLINT NOT NULL DEFAULT 0,
|
||||||
score SMALLINT NOT NULL,
|
score SMALLINT NOT NULL,
|
||||||
variant_id SMALLINT NOT NULL,
|
variant_id SMALLINT NOT NULL,
|
||||||
deck_plays BOOLEAN,
|
deck_plays BOOLEAN,
|
||||||
|
|
Loading…
Reference in a new issue