From d9fb4b4f3de2a2ab562360e069e78bd1a13c2972 Mon Sep 17 00:00:00 2001 From: irtazaakram Date: Wed, 27 Sep 2023 18:47:38 +0500 Subject: [PATCH 1/5] feat: django 4.2 migrations --- ...t_enterprise_course_enrollment_and_more.py | 34 +++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 enterprise/migrations/0187_alter_learnercreditenterprisecourseenrollment_enterprise_course_enrollment_and_more.py diff --git a/enterprise/migrations/0187_alter_learnercreditenterprisecourseenrollment_enterprise_course_enrollment_and_more.py b/enterprise/migrations/0187_alter_learnercreditenterprisecourseenrollment_enterprise_course_enrollment_and_more.py new file mode 100644 index 0000000000..f59b04fa60 --- /dev/null +++ b/enterprise/migrations/0187_alter_learnercreditenterprisecourseenrollment_enterprise_course_enrollment_and_more.py @@ -0,0 +1,34 @@ +# Generated by Django 4.2.5 on 2023-09-27 13:47 + +from django.db import migrations, models +import django.db.models.deletion + + +class Migration(migrations.Migration): + + dependencies = [ + ('enterprise', '0186_auto_20230921_1828'), + ] + + operations = [ + migrations.AlterField( + model_name='learnercreditenterprisecourseenrollment', + name='enterprise_course_enrollment', + field=models.OneToOneField(blank=True, help_text='The course enrollment the associated subsidy is for.', null=True, on_delete=django.db.models.deletion.CASCADE, related_name='%(class)s_enrollment_fulfillment', to='enterprise.enterprisecourseenrollment'), + ), + migrations.AlterField( + model_name='learnercreditenterprisecourseenrollment', + name='enterprise_course_entitlement', + field=models.OneToOneField(blank=True, help_text='The course entitlement the associated subsidy is for.', null=True, on_delete=django.db.models.deletion.CASCADE, related_name='%(class)s_entitlement_fulfillment', to='enterprise.enterprisecourseentitlement'), + ), + migrations.AlterField( + model_name='licensedenterprisecourseenrollment', + name='enterprise_course_enrollment', + field=models.OneToOneField(blank=True, help_text='The course enrollment the associated subsidy is for.', null=True, on_delete=django.db.models.deletion.CASCADE, related_name='%(class)s_enrollment_fulfillment', to='enterprise.enterprisecourseenrollment'), + ), + migrations.AlterField( + model_name='licensedenterprisecourseenrollment', + name='enterprise_course_entitlement', + field=models.OneToOneField(blank=True, help_text='The course entitlement the associated subsidy is for.', null=True, on_delete=django.db.models.deletion.CASCADE, related_name='%(class)s_entitlement_fulfillment', to='enterprise.enterprisecourseentitlement'), + ), + ] From f69ea5e71b2d13443d27e7e2fda30b175b57440d Mon Sep 17 00:00:00 2001 From: irtazaakram Date: Mon, 2 Oct 2023 10:36:57 +0500 Subject: [PATCH 2/5] fix: migrations --- ...courseenrollment_enterprise_course_enrollment_and_more.py} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename enterprise/migrations/{0187_alter_learnercreditenterprisecourseenrollment_enterprise_course_enrollment_and_more.py => 0188_alter_learnercreditenterprisecourseenrollment_enterprise_course_enrollment_and_more.py} (94%) diff --git a/enterprise/migrations/0187_alter_learnercreditenterprisecourseenrollment_enterprise_course_enrollment_and_more.py b/enterprise/migrations/0188_alter_learnercreditenterprisecourseenrollment_enterprise_course_enrollment_and_more.py similarity index 94% rename from enterprise/migrations/0187_alter_learnercreditenterprisecourseenrollment_enterprise_course_enrollment_and_more.py rename to enterprise/migrations/0188_alter_learnercreditenterprisecourseenrollment_enterprise_course_enrollment_and_more.py index f59b04fa60..4b6faea259 100644 --- a/enterprise/migrations/0187_alter_learnercreditenterprisecourseenrollment_enterprise_course_enrollment_and_more.py +++ b/enterprise/migrations/0188_alter_learnercreditenterprisecourseenrollment_enterprise_course_enrollment_and_more.py @@ -1,4 +1,4 @@ -# Generated by Django 4.2.5 on 2023-09-27 13:47 +# Generated by Django 4.2.5 on 2023-10-02 05:36 from django.db import migrations, models import django.db.models.deletion @@ -7,7 +7,7 @@ class Migration(migrations.Migration): dependencies = [ - ('enterprise', '0186_auto_20230921_1828'), + ('enterprise', '0187_auto_20230926_1627'), ] operations = [ From 07a6b532b01382449c6d8cd5d13ba2a53f9fa445 Mon Sep 17 00:00:00 2001 From: irtazaakram Date: Mon, 2 Oct 2023 11:06:20 +0500 Subject: [PATCH 3/5] chore: bump version --- enterprise/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/enterprise/__init__.py b/enterprise/__init__.py index d28160d589..fdf652a73f 100644 --- a/enterprise/__init__.py +++ b/enterprise/__init__.py @@ -2,4 +2,4 @@ Your project description goes here. """ -__version__ = "4.3.3" +__version__ = "4.3.2" From 740e038b5b9dd711f289c7e8626a4d2841d60d08 Mon Sep 17 00:00:00 2001 From: irtazaakram Date: Mon, 2 Oct 2023 11:18:50 +0500 Subject: [PATCH 4/5] fix: version bump --- enterprise/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/enterprise/__init__.py b/enterprise/__init__.py index fdf652a73f..0f816ecb43 100644 --- a/enterprise/__init__.py +++ b/enterprise/__init__.py @@ -2,4 +2,4 @@ Your project description goes here. """ -__version__ = "4.3.2" +__version__ = "4.3.4" From ae97e315c70ef7ec6dd638b39f4724405efef17d Mon Sep 17 00:00:00 2001 From: irtazaakram Date: Mon, 2 Oct 2023 11:20:32 +0500 Subject: [PATCH 5/5] fix: updated changelog --- CHANGELOG.rst | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 7d683b5db1..20069758cd 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -15,6 +15,11 @@ Change Log Unreleased ---------- + +[4.3.4] +------- +feat: add migrations for Django 4.2 + [4.3.3] ------- chore: adding display name to the sso orchestrator table