From 3076d4247d5620b0ffc4514b3e310aaf116fc89f Mon Sep 17 00:00:00 2001 From: Mathieu ROUDAUT Date: Wed, 21 Feb 2024 08:35:57 +0100 Subject: [PATCH] fix: SQL migrations order --- .../versions/04afdcd0e42a_add_additional_data_column_to_v_.py | 3 ++- .../5a2c9c65129f_add_sensitivity_filter_export_synthese.py | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/backend/geonature/migrations/versions/04afdcd0e42a_add_additional_data_column_to_v_.py b/backend/geonature/migrations/versions/04afdcd0e42a_add_additional_data_column_to_v_.py index b3a910c01c..c4cfb88cd4 100644 --- a/backend/geonature/migrations/versions/04afdcd0e42a_add_additional_data_column_to_v_.py +++ b/backend/geonature/migrations/versions/04afdcd0e42a_add_additional_data_column_to_v_.py @@ -5,13 +5,14 @@ Create Date: 2023-12-19 15:26:36.530424 """ + from alembic import op import sqlalchemy as sa # revision identifiers, used by Alembic. revision = "04afdcd0e42a" -down_revision = "6734d8f7eb2a" +down_revision = "d99a7c22cc3c" branch_labels = None depends_on = None diff --git a/backend/geonature/migrations/versions/5a2c9c65129f_add_sensitivity_filter_export_synthese.py b/backend/geonature/migrations/versions/5a2c9c65129f_add_sensitivity_filter_export_synthese.py index 018aa19125..e391f97986 100644 --- a/backend/geonature/migrations/versions/5a2c9c65129f_add_sensitivity_filter_export_synthese.py +++ b/backend/geonature/migrations/versions/5a2c9c65129f_add_sensitivity_filter_export_synthese.py @@ -1,7 +1,7 @@ """add sensitivity filter export synthese Revision ID: 5a2c9c65129f -Revises: d99a7c22cc3c +Revises: 04afdcd0e42a Create Date: 2023-08-08 16:23:53.059110 """ @@ -12,7 +12,7 @@ # revision identifiers, used by Alembic. revision = "5a2c9c65129f" -down_revision = "d99a7c22cc3c" +down_revision = "04afdcd0e42a" branch_labels = None depends_on = None