mirror of
https://github.com/joaovitoriasilva/endurain.git
synced 2026-01-10 08:17:59 -05:00
Fixed index validation to alembic migration
This commit is contained in:
@@ -32,7 +32,7 @@ def upgrade() -> None:
|
||||
|
||||
if index_exists:
|
||||
# Drop the index if it exists
|
||||
op.drop_constraint('activities_garminconnect_activity_id_key', 'activities', type_='unique')
|
||||
op.drop_index(index_name, table_name='activities')
|
||||
|
||||
# ### commands auto generated by Alembic - please adjust! ###
|
||||
op.alter_column('users', 'password',
|
||||
|
||||
Reference in New Issue
Block a user