From 2ac6f995dbc2be3872dd28503350f9310229ed4e Mon Sep 17 00:00:00 2001 From: Jonathan Wu Date: Sat, 24 Sep 2022 18:05:22 -0400 Subject: [PATCH] Fix migration script --- src/migrate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/migrate.py b/src/migrate.py index 8f92469..d7e3920 100644 --- a/src/migrate.py +++ b/src/migrate.py @@ -15,6 +15,6 @@ db = cs50.SQL("sqlite:///database.db") -db.execute('ALTER TABLE contest_problems ADD COLUMN "flag_hint" varchar(256) NOT NULL DEFAULT("")') +db.execute("ALTER TABLE contest_problems ADD COLUMN 'flag_hint' varchar(256) NOT NULL DEFAULT('')") print('Migration completed.')