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:
parent
a66d96568e
commit
c359d945da
|
@ -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")
|
||||
|
|
Loading…
Reference in a new issue