From 380ff821b9081c3dead43f6f3136a3ca4389f775 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 | 2 +- 1 file changed, 1 insertion(+), 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..88c93f3 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,7 @@ 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: