Skip to content

Commit

Permalink
Fix migration script
Browse files Browse the repository at this point in the history
  • Loading branch information
jdabtieu committed Sep 24, 2022
1 parent 3434dcc commit 2ac6f99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/migrate.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.')

0 comments on commit 2ac6f99

Please sign in to comment.