Skip to content

Commit 97f28b7

Browse files
VincentCauchoisjacquesfize
authored andcommitted
fix(alembic): add missing depends_on import-samples migration
Alembic migration "geonature-samples@3d0bf4ee67d1 - 'geonature samples'" - with insert of 'hors protocole' in `gn_meta.sinp_datatype_protocols` - is required for "import-samples@a81f74d0a518 'insert_import_sample_data'", because the latter refers to this protocol.
1 parent f35e120 commit 97f28b7

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

backend/geonature/migrations/versions/imports/a81f74d0a518_insert_import_sample_data.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,10 @@
1616
revision = "a81f74d0a518"
1717
down_revision = None
1818
branch_labels = ("import-samples",)
19-
depends_on = "2b0b3bd0248c"
19+
depends_on = (
20+
"2b0b3bd0248c", # import@2b0b3bd0248c - "multidest"
21+
"3d0bf4ee67d1", # geonature-samples@3d0bf4ee67d1 - "geonature samples"
22+
)
2023

2124

2225
def upgrade():

0 commit comments

Comments
 (0)