Skip to content

Commit

Permalink
Fix downgrading from latest alembic migration
Browse files Browse the repository at this point in the history
...hopefully.
  • Loading branch information
kitsuta committed Oct 7, 2024
1 parent 8ceac5a commit 9d2b00c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,9 @@ def upgrade():


def downgrade():
op.drop_index(op.f('ix_receipt_item_fk_id'), table_name='receipt_item')
op.drop_column('receipt_item', 'fk_model')
op.drop_column('receipt_item', 'fk_id')
op.drop_index(op.f('ix_receipt_item_fk_id'), table_name='receipt_item')
op.create_table('marketplace_application',
sa.Column('id', postgresql.UUID(), autoincrement=False, nullable=False),
sa.Column('attendee_id', postgresql.UUID(), autoincrement=False, nullable=True),
Expand Down

0 comments on commit 9d2b00c

Please sign in to comment.