From 1386fdedb0466546995bdf4532b8aae777b77d91 Mon Sep 17 00:00:00 2001 From: Irtaza Akram <51848298+irtazaakram@users.noreply.github.com> Date: Mon, 2 Oct 2023 11:55:23 +0500 Subject: [PATCH] [Django 4.2]: Migrations from Django 4.2 (#1887) * feat: django 4.2 migrations --- CHANGELOG.rst | 5 +++ enterprise/__init__.py | 2 +- ...t_enterprise_course_enrollment_and_more.py | 34 +++++++++++++++++++ 3 files changed, 40 insertions(+), 1 deletion(-) create mode 100644 enterprise/migrations/0188_alter_learnercreditenterprisecourseenrollment_enterprise_course_enrollment_and_more.py 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 diff --git a/enterprise/__init__.py b/enterprise/__init__.py index d28160d589..0f816ecb43 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.4" diff --git a/enterprise/migrations/0188_alter_learnercreditenterprisecourseenrollment_enterprise_course_enrollment_and_more.py b/enterprise/migrations/0188_alter_learnercreditenterprisecourseenrollment_enterprise_course_enrollment_and_more.py new file mode 100644 index 0000000000..4b6faea259 --- /dev/null +++ b/enterprise/migrations/0188_alter_learnercreditenterprisecourseenrollment_enterprise_course_enrollment_and_more.py @@ -0,0 +1,34 @@ +# Generated by Django 4.2.5 on 2023-10-02 05:36 + +from django.db import migrations, models +import django.db.models.deletion + + +class Migration(migrations.Migration): + + dependencies = [ + ('enterprise', '0187_auto_20230926_1627'), + ] + + 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'), + ), + ]