From a8a53c7690f8517278a2534c284d2b6c37ba1c63 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maximilian=20Ke=C3=9Fler?= Date: Thu, 2 Mar 2023 22:16:04 +0100 Subject: [PATCH] update database: add columns for actions and deck --- database.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/database.py b/database.py index 326fd10..de39238 100644 --- a/database.py +++ b/database.py @@ -31,7 +31,8 @@ def create_games_table(): "one_extra_card BOOLEAN," "one_less_card BOOLEAN," "all_or_nothing BOOLEAN," - "num_turns SMALLINT" + "num_turns SMALLINT," + "actions TEXT" ");".format(tablename)) conn.commit() # else: @@ -51,6 +52,7 @@ def create_seeds_table(): "variant_id SMALLINT NOT NULL," "feasible BOOLEAN," # theoretical solvability "max_score_theoretical SMALLINT" # if infeasible, max score + "deck VARCHAR(60)" ");".format(tablename)) conn.commit()