use serial key for cert games

This commit is contained in:
Maximilian Keßler 2024-10-10 16:31:39 +02:00
parent c04940fb9b
commit 4a9fb8896e

View file

@ -73,7 +73,7 @@ CREATE INDEX games_player_idx ON games (num_players);
/* Example games finishing with max score, not necessarily played by humans. */ /* Example games finishing with max score, not necessarily played by humans. */
DROP TABLE IF EXISTS certificate_games; DROP TABLE IF EXISTS certificate_games;
CREATE TABLE certificate_games ( CREATE TABLE certificate_games (
id INT PRIMARY KEY, id SERIAL PRIMARY KEY,
seed TEXT NOT NULL REFERENCES seeds, seed TEXT NOT NULL REFERENCES seeds,
num_turns SMALLINT NOT NULL, num_turns SMALLINT NOT NULL,
min_pace SMALLINT, min_pace SMALLINT,