Skip to content

Commit

Permalink
Apply 7.6 migration dependencies and add run_before to ensure 0001 ha…
Browse files Browse the repository at this point in the history
…ppens before 7.6 migrations
  • Loading branch information
SDScandrettKint committed Jan 28, 2025
1 parent 68011ec commit bdeb035
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions arches_her/migrations/0001_initial.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ class Migration(migrations.Migration):
("models", "9945_file_thumbnail_bin_file_thumbnail_text"),
]

run_before = [
("models", "9946_alter_notification_context"),
]

def add_plugins(apps, schema_editor):
Plugin = apps.get_model("models", "Plugin")

Expand Down
3 changes: 2 additions & 1 deletion arches_her/migrations/0002_move_pkg_sql.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
class Migration(migrations.Migration):

dependencies = [
("arches_her", "0001_initial")
("arches_her", "0001_initial"),
("models", "11499_add_editlog_resourceinstance_idx")
]

def add_map_layers(apps, schema_editor):
Expand Down
3 changes: 1 addition & 2 deletions arches_her/migrations/0003_add_bng_search_view.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@
class Migration(migrations.Migration):

dependencies = [
("arches_her", "0002_move_pkg_sql"),
("models", "10804_core_search_filters"),
("arches_her", "0002_move_pkg_sql")
]

def add_bng_component_to_search_view(apps, scheme_editor):
Expand Down

0 comments on commit bdeb035

Please sign in to comment.