From a2f75d8376cc7517fb524e80850a34dd08c7f6f1 Mon Sep 17 00:00:00 2001 From: Jona Date: Fri, 17 Nov 2023 19:23:19 -0500 Subject: [PATCH] UNDO to fix database --- alembic/versions/5e03ce584f3c_add_eez.py | 1 + alembic/versions/c0bd1215a3ca_add_iho.py | 1 + alembic/versions/f9b7166c86b7_add_mpa.py | 1 + 3 files changed, 3 insertions(+) diff --git a/alembic/versions/5e03ce584f3c_add_eez.py b/alembic/versions/5e03ce584f3c_add_eez.py index e3d728df..80f32c7c 100644 --- a/alembic/versions/5e03ce584f3c_add_eez.py +++ b/alembic/versions/5e03ce584f3c_add_eez.py @@ -40,6 +40,7 @@ def get_eez_from_url( def upgrade() -> None: """Add eez""" + return bind = op.get_bind() session = orm.Session(bind=bind) diff --git a/alembic/versions/c0bd1215a3ca_add_iho.py b/alembic/versions/c0bd1215a3ca_add_iho.py index df574d85..fececd34 100644 --- a/alembic/versions/c0bd1215a3ca_add_iho.py +++ b/alembic/versions/c0bd1215a3ca_add_iho.py @@ -32,6 +32,7 @@ def get_iho_from_url( def upgrade() -> None: """Add iho""" + return bind = op.get_bind() session = orm.Session(bind=bind) diff --git a/alembic/versions/f9b7166c86b7_add_mpa.py b/alembic/versions/f9b7166c86b7_add_mpa.py index a44e10d8..a55cfcfa 100644 --- a/alembic/versions/f9b7166c86b7_add_mpa.py +++ b/alembic/versions/f9b7166c86b7_add_mpa.py @@ -32,6 +32,7 @@ def get_mpa_from_url( def upgrade() -> None: """Add mpa""" + return bind = op.get_bind() session = orm.Session(bind=bind)