Skip to content

Commit

Permalink
fix: fix migraitons generation order
Browse files Browse the repository at this point in the history
  • Loading branch information
UsamaSadiq committed Dec 22, 2023
1 parent aa3fb57 commit 1f78e36
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 56 deletions.
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# Generated by Django 3.2.21 on 2023-09-27 12:01
# Generated by Django 4.2.8 on 2023-12-22 11:55

from django.db import migrations


class Migration(migrations.Migration):

dependencies = [
('content_assignments', '0007_index_assignment_state'),
('content_assignments', '0013_add_redeemed_action'),
]

operations = [
Expand All @@ -18,4 +18,8 @@ class Migration(migrations.Migration):
name='historicallearnercontentassignment',
options={'get_latest_by': ('history_date', 'history_id'), 'ordering': ('-history_date', '-history_id'), 'verbose_name': 'historical learner content assignment', 'verbose_name_plural': 'historical learner content assignments'},
),
migrations.AlterModelOptions(
name='historicallearnercontentassignmentaction',
options={'get_latest_by': ('history_date', 'history_id'), 'ordering': ('-history_date', '-history_id'), 'verbose_name': 'historical learner content assignment action', 'verbose_name_plural': 'historical learner content assignment actions'},
),
]

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
# Generated by Django 3.2.21 on 2023-09-27 12:01
# Generated by Django 4.2.8 on 2023-12-22 11:55

from django.db import migrations, models
import django.db.models.deletion
from django.db import migrations


class Migration(migrations.Migration):

dependencies = [
('content_assignments', '0008_auto_20230927_1201'),
('subsidy_access_policy', '0017_active_assignment_config_unique'),
('subsidy_access_policy', '0019_subsidyaccesspolicy_description_allow_blank'),
]

operations = [
Expand All @@ -28,9 +26,4 @@ class Migration(migrations.Migration):
name='historicalsubsidyaccesspolicy',
options={'get_latest_by': ('history_date', 'history_id'), 'ordering': ('-history_date', '-history_id'), 'verbose_name': 'historical subsidy access policy', 'verbose_name_plural': 'historical subsidy access policys'},
),
migrations.AlterField(
model_name='subsidyaccesspolicy',
name='assignment_configuration',
field=models.OneToOneField(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='subsidy_access_policy', to='content_assignments.assignmentconfiguration'),
),
]

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# Generated by Django 3.2.21 on 2023-09-27 12:01
# Generated by Django 4.2.8 on 2023-12-22 11:55

from django.db import migrations


class Migration(migrations.Migration):

dependencies = [
('subsidy_request', '0011_subsidy_request_course_partners_jsonfield'),
('subsidy_request', '0012_alter_couponcoderequest_reviewer_and_more'),
]

operations = [
Expand Down

This file was deleted.

0 comments on commit 1f78e36

Please sign in to comment.