From 5c4e79c1f29fcd9891e3b8040542ef3635898c88 Mon Sep 17 00:00:00 2001 From: mgcam Date: Tue, 9 Apr 2024 09:57:35 +0100 Subject: [PATCH] Fixed an error in the db migration script --- alembic/versions/2.1.0_extend_qc_state_dict.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/alembic/versions/2.1.0_extend_qc_state_dict.py b/alembic/versions/2.1.0_extend_qc_state_dict.py index 8844d8d..6687af0 100644 --- a/alembic/versions/2.1.0_extend_qc_state_dict.py +++ b/alembic/versions/2.1.0_extend_qc_state_dict.py @@ -15,7 +15,9 @@ def upgrade() -> None: - op.execute("INSERT INTO qc_state_dict VALUES ('On hold external', NULL)") + op.execute( + "INSERT INTO qc_state_dict (state, outcome) VALUES ('On hold external', NULL)" + ) def downgrade() -> None: