From ac9303e931db4cdd315ad96b0cc8ffe8c5892af7 Mon Sep 17 00:00:00 2001 From: Brian Helba Date: Fri, 8 Dec 2023 17:52:54 -0500 Subject: [PATCH] Fix dependency graph issues with migrations --- .../0014_alter_stagingapplication_skip_authorization.py | 2 +- dandiapi/api/migrations/0015_validation_fields.py | 2 +- ...035_alter_asset_zarr_delete_embargoedzarrarchive_and_more.py | 2 +- dandiapi/search/migrations/0001_initial.py | 2 +- dandiapi/zarr/migrations/0001_initial.py | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/dandiapi/api/migrations/0014_alter_stagingapplication_skip_authorization.py b/dandiapi/api/migrations/0014_alter_stagingapplication_skip_authorization.py index 469d797f9..4dfeb4914 100644 --- a/dandiapi/api/migrations/0014_alter_stagingapplication_skip_authorization.py +++ b/dandiapi/api/migrations/0014_alter_stagingapplication_skip_authorization.py @@ -5,7 +5,7 @@ class Migration(migrations.Migration): dependencies = [ - ('api', '0013_add_published_status'), + ('api', '0011_stagingapplication'), ] operations = [ diff --git a/dandiapi/api/migrations/0015_validation_fields.py b/dandiapi/api/migrations/0015_validation_fields.py index f942070fb..ba680849f 100644 --- a/dandiapi/api/migrations/0015_validation_fields.py +++ b/dandiapi/api/migrations/0015_validation_fields.py @@ -5,7 +5,7 @@ class Migration(migrations.Migration): dependencies = [ - ('api', '0014_alter_stagingapplication_skip_authorization'), + ('api', '0013_add_published_status'), ] operations = [ diff --git a/dandiapi/api/migrations/0035_alter_asset_zarr_delete_embargoedzarrarchive_and_more.py b/dandiapi/api/migrations/0035_alter_asset_zarr_delete_embargoedzarrarchive_and_more.py index 211ccd9b6..7ad90ac15 100644 --- a/dandiapi/api/migrations/0035_alter_asset_zarr_delete_embargoedzarrarchive_and_more.py +++ b/dandiapi/api/migrations/0035_alter_asset_zarr_delete_embargoedzarrarchive_and_more.py @@ -7,7 +7,7 @@ class Migration(migrations.Migration): dependencies = [ ('api', '0034_remove_embargoedzarrarchive_dandiset_and_more'), - ('zarr', '0001_initial'), + # ('zarr', '0001_initial'), ] operations = [ diff --git a/dandiapi/search/migrations/0001_initial.py b/dandiapi/search/migrations/0001_initial.py index e26b14d17..ce3a6c7e6 100644 --- a/dandiapi/search/migrations/0001_initial.py +++ b/dandiapi/search/migrations/0001_initial.py @@ -38,7 +38,7 @@ class Migration(migrations.Migration): dependencies = [ - ('api', '0041_assetblob_download_count_and_more'), + ('api', '0001_initial_squashed'), ] operations = [ diff --git a/dandiapi/zarr/migrations/0001_initial.py b/dandiapi/zarr/migrations/0001_initial.py index 412645101..bc1b28c86 100644 --- a/dandiapi/zarr/migrations/0001_initial.py +++ b/dandiapi/zarr/migrations/0001_initial.py @@ -14,7 +14,7 @@ class Migration(migrations.Migration): initial = True dependencies = [ - ('api', '0034_remove_embargoedzarrarchive_dandiset_and_more'), + # ('api', '0034_remove_embargoedzarrarchive_dandiset_and_more'), ] operations = [