fix downgrade step of event geometry transform.

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

View file

@ -25,6 +25,6 @@ def upgrade():
def downgrade():
op.execute(
"ALTER TABLE overtaking_event ALTER COLUMN overtaking_event.geometry TYPE geometry;"
"ALTER TABLE overtaking_event ALTER COLUMN geometry TYPE geometry;"
)
op.execute("UPDATE overtaking_event SET geometry = ST_Transform(geometry, 4326);")