Skip to content

Commit

Permalink
fix: restore enum values
Browse files Browse the repository at this point in the history
  • Loading branch information
cfm committed Jul 1, 2022
1 parent b869973 commit 03f063a
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions alembic/versions/d7c8af95bc8e_.py
Original file line number Diff line number Diff line change
Expand Up @@ -277,6 +277,31 @@ def upgrade():
)
# ### end Alembic commands ###

# Set enum values:
conn = op.get_bind()

# downloaderrors (from original Alembic version 7f682532afa2)
conn.execute(
"""
INSERT INTO downloaderrors
('name')
VALUES
('CHECKSUM_ERROR'),
('DECRYPTION_ERROR');
"""
)

# replysendstatuses (from original Alembic version 86b01b6290da)
conn.execute(
"""
INSERT INTO replysendstatuses
('name')
VALUES
('PENDING'),
('FAILED');
"""
)


def downgrade():
# ### commands auto generated by Alembic - please adjust! ###
Expand Down

0 comments on commit 03f063a

Please sign in to comment.