the current version of region does not have that column - furthermore it now has an index for its id column already during creation.

This commit is contained in:
gluap 2023-04-10 12:38:37 +02:00
parent a66d96568e
commit c359d945da
No known key found for this signature in database

View file

@ -18,9 +18,7 @@ depends_on = None
def upgrade():
op.execute("CREATE INDEX IF NOT EXISTS ix_road_way_id ON road (way_id);")
op.execute("CREATE INDEX IF NOT EXISTS ix_region_id ON region (relation_id);")
def downgrade():
op.drop_index("ix_road_way_id")
op.drop_index("ix_region_relation_id")