Skip to content

Commit 293c390

Browse files
committed
Fix: Error in migration
1 parent 95bc76a commit 293c390

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

migrations/versions/ce0b8ccd98ce_.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,11 @@
1818
def upgrade():
1919
### commands auto generated by Alembic - please adjust! ###
2020
op.add_column('email_notification', sa.Column('after_ticket_purchase', sa.Integer(), nullable=True))
21-
op.drop_column('email_notification', 'event_schedule')
2221
op.execute('UPDATE email_notification SET after_ticket_purchase = 1 WHERE after_ticket_purchase is NULL ', execution_options=None)
2322
### end Alembic commands ###
2423

2524

2625
def downgrade():
2726
### commands auto generated by Alembic - please adjust! ###
28-
op.add_column('email_notification', sa.Column('event_schedule', sa.INTEGER(), autoincrement=False, nullable=True))
2927
op.drop_column('email_notification', 'after_ticket_purchase')
3028
### end Alembic commands ###

0 commit comments

Comments
 (0)