Skip to content

Commit

Permalink
fix: updated migration order to match master for upcoming merge (#2742)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexZorkin authored Nov 22, 2023
1 parent b26124f commit daaccff
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 20 deletions.
14 changes: 0 additions & 14 deletions backend/api/migrations/0010_merge_20230830_2141.py

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ class Migration(migrations.Migration):
Attaches the functions for the migrations
"""
dependencies = [
('api', '0005_cachedpages'),
('api', '0013_create_missing_rescinded_history_records'),
]

operations = [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def remove_administrative_adjustment(apps, schema_editor):
class Migration(migrations.Migration):

dependencies = [
('api', '0006_new_label_changes'),
('api', '0014_new_label_changes'),
]

operations = [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
class Migration(migrations.Migration):

dependencies = [
('api', '0007_add_admin_adjustment_20230808_1803'),
('api', '0015_add_admin_adjustment_20230808_1803'),
]

operations = [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
class Migration(migrations.Migration):

dependencies = [
('api', '0008_alter_credittrade_number_of_credits'),
('api', '0016_alter_credittrade_number_of_credits'),
]
# apply migration only to test database
if connection.settings_dict['NAME'] == 'test_tfrs':
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def update_report_fields(apps, schema_editor):

class Migration(migrations.Migration):
dependencies = [
('api', '0013_create_missing_rescinded_history_records'),
('api', '0017_alter_compliace_report_history_status'),
]

operations = [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class Migration(migrations.Migration):
Attaches the update function to the migration operations
"""
dependencies = [
('api', '0014_report_history_grouping'),
('api', '0018_report_history_grouping'),
]

operations = [
Expand Down

0 comments on commit daaccff

Please sign in to comment.