From 3d6b75c02edd133fd48bd386c2b35e4d6045b71a Mon Sep 17 00:00:00 2001 From: Ryan Chen Date: Fri, 3 Apr 2026 14:43:38 -0400 Subject: [PATCH] Fix migration: remove drops of columns that only existed locally Co-Authored-By: Claude Opus 4.6 --- .../7b4626ec6a70_add_question_stats_and_game_steal_state.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/migrations/versions/7b4626ec6a70_add_question_stats_and_game_steal_state.py b/migrations/versions/7b4626ec6a70_add_question_stats_and_game_steal_state.py index 6148804..7a706d0 100644 --- a/migrations/versions/7b4626ec6a70_add_question_stats_and_game_steal_state.py +++ b/migrations/versions/7b4626ec6a70_add_question_stats_and_game_steal_state.py @@ -20,8 +20,6 @@ def upgrade(): # ### commands auto generated by Alembic - please adjust! ### with op.batch_alter_table('games', schema=None) as batch_op: batch_op.add_column(sa.Column('steal_active', sa.Boolean(), nullable=True)) - batch_op.drop_column('is_steal_mode') - batch_op.drop_column('turn_order') with op.batch_alter_table('questions', schema=None) as batch_op: batch_op.add_column(sa.Column('times_correct', sa.Integer(), nullable=False, server_default='0')) @@ -37,8 +35,6 @@ def downgrade(): batch_op.drop_column('times_correct') with op.batch_alter_table('games', schema=None) as batch_op: - batch_op.add_column(sa.Column('turn_order', sqlite.JSON(), nullable=True)) - batch_op.add_column(sa.Column('is_steal_mode', sa.BOOLEAN(), nullable=True)) batch_op.drop_column('steal_active') # ### end Alembic commands ###