From c359d945da37b82e608cbbebc77a066a0bf0e5db Mon Sep 17 00:00:00 2001 From: gluap Date: Mon, 10 Apr 2023 12:38:37 +0200 Subject: [PATCH] the current version of region does not have that column - furthermore it now has an index for its id column already during creation. --- api/migrations/versions/f4b0f460254d_add_osm_id_indexes.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/api/migrations/versions/f4b0f460254d_add_osm_id_indexes.py b/api/migrations/versions/f4b0f460254d_add_osm_id_indexes.py index b2b3663..8a9d972 100644 --- a/api/migrations/versions/f4b0f460254d_add_osm_id_indexes.py +++ b/api/migrations/versions/f4b0f460254d_add_osm_id_indexes.py @@ -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")