Skip to content

Commit

Permalink
fix migration dependency order issue
Browse files Browse the repository at this point in the history
  • Loading branch information
struan committed Jan 11, 2024
1 parent 749b560 commit 89f03a9
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion hub/migrations/0053_datatype_area_type.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
class Migration(migrations.Migration):

dependencies = [
("hub", "0053_alter_dataset_release_date"),
("hub", "0058_areaoverlap_area_overlaps"),
]

operations = [
Expand Down
2 changes: 1 addition & 1 deletion hub/migrations/0054_fill_datatype_area_type.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def reverse(apps, schema_editor): # pragma: no cover
class Migration(migrations.Migration):

dependencies = [
("hub", "0054_increase_dataset_name_length"),
("hub", "0053_datatype_area_type"),
]

operations = [migrations.RunPython(update_field, reverse_code=reverse)]
2 changes: 1 addition & 1 deletion hub/migrations/0054_increase_dataset_name_length.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
class Migration(migrations.Migration):

dependencies = [
("hub", "0053_datatype_area_type"),
("hub", "0060_alter_person_id_type"),
]

operations = [
Expand Down
2 changes: 1 addition & 1 deletion hub/migrations/0055_change_gss_uniqueness.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
class Migration(migrations.Migration):

dependencies = [
("hub", "0054_fill_datatype_area_type"),
("hub", "0053_alter_dataset_release_date"),
]

operations = [
Expand Down
2 changes: 1 addition & 1 deletion hub/migrations/0059_datatype_auto_converted.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
class Migration(migrations.Migration):

dependencies = [
("hub", "0058_areaoverlap_area_overlaps"),
("hub", "0054_fill_datatype_area_type"),
]

operations = [
Expand Down

0 comments on commit 89f03a9

Please sign in to comment.