From 4252ece338305c241f47f17641bfa791a27102c4 Mon Sep 17 00:00:00 2001 From: Victoria Earl Date: Fri, 29 Nov 2024 20:30:21 +0100 Subject: [PATCH] Nope, we didn't need that last commit --- ...f85c05a4410e_add_supervisor_column_to_tracking_tables.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/alembic/versions/f85c05a4410e_add_supervisor_column_to_tracking_tables.py b/alembic/versions/f85c05a4410e_add_supervisor_column_to_tracking_tables.py index 2699441e8..9c4247c5d 100644 --- a/alembic/versions/f85c05a4410e_add_supervisor_column_to_tracking_tables.py +++ b/alembic/versions/f85c05a4410e_add_supervisor_column_to_tracking_tables.py @@ -52,18 +52,12 @@ def sqlite_column_reflect_listener(inspector, table, column_info): def upgrade(): - # ### commands auto generated by Alembic - please adjust! ### - op.drop_constraint('uq_indie_developer_attendee_id', 'indie_developer', type_='unique') op.add_column('page_view_tracking', sa.Column('supervisor', sa.Unicode(), server_default='', nullable=False)) op.add_column('report_tracking', sa.Column('supervisor', sa.Unicode(), server_default='', nullable=False)) op.add_column('tracking', sa.Column('supervisor', sa.Unicode(), server_default='', nullable=False)) - # ### end Alembic commands ### def downgrade(): - # ### commands auto generated by Alembic - please adjust! ### op.drop_column('tracking', 'supervisor') op.drop_column('report_tracking', 'supervisor') op.drop_column('page_view_tracking', 'supervisor') - op.create_unique_constraint('uq_indie_developer_attendee_id', 'indie_developer', ['attendee_id']) - # ### end Alembic commands ###