Skip to content

Commit

Permalink
Old tablename
Browse files Browse the repository at this point in the history
Was too lazy to generate file again.
  • Loading branch information
JabLuszko committed Sep 13, 2024
1 parent d4a7921 commit d44897b
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions alembic/versions/676b8ac0e60a_stations.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,18 +49,18 @@ def upgrade():
sa.Column('last_updated', mapadroid.db.TZDateTime.TZDateTime(), nullable=False),
sa.PrimaryKeyConstraint('station_id')
)
op.create_index(op.f('ix_wr_station_battle_pokemon_id'), 'wr_station', ['battle_pokemon_id'], unique=False)
op.create_index(op.f('ix_wr_station_battle_window_end'), 'wr_station', ['battle_window_end'], unique=False)
op.create_index(op.f('ix_wr_station_end_time'), 'wr_station', ['end_time'], unique=False)
op.create_index(op.f('ix_wr_station_last_updated'), 'wr_station', ['last_updated'], unique=False)
op.create_index(op.f('ix_station_battle_pokemon_id'), 'station', ['battle_pokemon_id'], unique=False)
op.create_index(op.f('ix_station_battle_window_end'), 'station', ['battle_window_end'], unique=False)
op.create_index(op.f('ix_station_end_time'), 'station', ['end_time'], unique=False)
op.create_index(op.f('ix_station_last_updated'), 'station', ['last_updated'], unique=False)
# ### end Alembic commands ###


def downgrade():
# ### commands auto generated by Alembic - please adjust! ###
op.drop_index(op.f('ix_wr_station_last_updated'), table_name='wr_station')
op.drop_index(op.f('ix_wr_station_end_time'), table_name='wr_station')
op.drop_index(op.f('ix_wr_station_battle_window_end'), table_name='wr_station')
op.drop_index(op.f('ix_wr_station_battle_pokemon_id'), table_name='wr_station')
op.drop_index(op.f('ix_station_last_updated'), table_name='station')
op.drop_index(op.f('ix_station_end_time'), table_name='station')
op.drop_index(op.f('ix_station_battle_window_end'), table_name='station')
op.drop_index(op.f('ix_station_battle_pokemon_id'), table_name='station')
op.drop_table('station')
# ### end Alembic commands ###

0 comments on commit d44897b

Please sign in to comment.