From e3c81a48484023355ea82b1e32d65356539d8a64 Mon Sep 17 00:00:00 2001 From: Cory Francis Myers Date: Mon, 27 Jun 2022 15:51:00 -0700 Subject: [PATCH] fix: restore "replysendstatuses" default data from Alembic version 86b01b6290da --- alembic/versions/d7c8af95bc8e_.py | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/alembic/versions/d7c8af95bc8e_.py b/alembic/versions/d7c8af95bc8e_.py index 42fc03ef84..26f82d24eb 100644 --- a/alembic/versions/d7c8af95bc8e_.py +++ b/alembic/versions/d7c8af95bc8e_.py @@ -277,6 +277,19 @@ def upgrade(): ) # ### end Alembic commands ### + # Set the initial in-progress send statuses: PENDING, FAILED (from original Alembic version + # 86b01b6290da). + conn = op.get_bind() + conn.execute( + """ + INSERT INTO replysendstatuses + ('name') + VALUES + ('PENDING'), + ('FAILED'); + """ + ) + def downgrade(): # ### commands auto generated by Alembic - please adjust! ###