From 83391e3b56331a0290bce9d883c5b75ec4ecb52a Mon Sep 17 00:00:00 2001 From: irtazaakram Date: Wed, 27 Sep 2023 17:48:09 +0500 Subject: [PATCH] feat: migrations for django 4.2 --- ...er_historicaldatasharingconsent_options.py | 17 ++++ ...ificationemailtemplate_options_and_more.py | 90 +++++++++++++++++++ .../migrations/0187_merge_20230927_1245.py | 14 +++ ...enterprisecustomerconfiguration_options.py | 17 ++++ ...enterprisecustomerconfiguration_options.py | 17 ++++ ...enterprisecustomerconfiguration_options.py | 17 ++++ ...enterprisecustomerconfiguration_options.py | 17 ++++ ...enterprisecustomerconfiguration_options.py | 17 ++++ ...enterprisecustomerconfiguration_options.py | 17 ++++ 9 files changed, 223 insertions(+) create mode 100644 consent/migrations/0007_alter_historicaldatasharingconsent_options.py create mode 100644 enterprise/migrations/0186_alter_historicalenrollmentnotificationemailtemplate_options_and_more.py create mode 100644 enterprise/migrations/0187_merge_20230927_1245.py create mode 100644 integrated_channels/blackboard/migrations/0018_alter_historicalblackboardenterprisecustomerconfiguration_options.py create mode 100644 integrated_channels/canvas/migrations/0033_alter_historicalcanvasenterprisecustomerconfiguration_options.py create mode 100644 integrated_channels/cornerstone/migrations/0030_alter_historicalcornerstoneenterprisecustomerconfiguration_options.py create mode 100644 integrated_channels/degreed/migrations/0032_alter_historicaldegreedenterprisecustomerconfiguration_options.py create mode 100644 integrated_channels/degreed2/migrations/0024_alter_historicaldegreed2enterprisecustomerconfiguration_options.py create mode 100644 integrated_channels/moodle/migrations/0028_alter_historicalmoodleenterprisecustomerconfiguration_options.py diff --git a/consent/migrations/0007_alter_historicaldatasharingconsent_options.py b/consent/migrations/0007_alter_historicaldatasharingconsent_options.py new file mode 100644 index 0000000000..29b445c6a9 --- /dev/null +++ b/consent/migrations/0007_alter_historicaldatasharingconsent_options.py @@ -0,0 +1,17 @@ +# Generated by Django 4.2.5 on 2023-09-25 08:43 + +from django.db import migrations + + +class Migration(migrations.Migration): + + dependencies = [ + ('consent', '0006_alter_historicaldatasharingconsent_options'), + ] + + operations = [ + migrations.AlterModelOptions( + name='historicaldatasharingconsent', + options={'get_latest_by': 'history_date', 'ordering': ('-history_date', '-history_id'), 'verbose_name': 'historical Data Sharing Consent Record'}, + ), + ] diff --git a/enterprise/migrations/0186_alter_historicalenrollmentnotificationemailtemplate_options_and_more.py b/enterprise/migrations/0186_alter_historicalenrollmentnotificationemailtemplate_options_and_more.py new file mode 100644 index 0000000000..c9cc4963f5 --- /dev/null +++ b/enterprise/migrations/0186_alter_historicalenrollmentnotificationemailtemplate_options_and_more.py @@ -0,0 +1,90 @@ +# Generated by Django 4.2.5 on 2023-09-25 08:43 + +from django.db import migrations, models +import django.db.models.deletion + + +class Migration(migrations.Migration): + + dependencies = [ + ('enterprise', '0185_auto_20230921_1007'), + ] + + operations = [ + migrations.AlterModelOptions( + name='historicalenrollmentnotificationemailtemplate', + options={'get_latest_by': 'history_date', 'ordering': ('-history_date', '-history_id'), 'verbose_name': 'historical enrollment notification email template'}, + ), + migrations.AlterModelOptions( + name='historicalenterprisecourseenrollment', + options={'get_latest_by': 'history_date', 'ordering': ('-history_date', '-history_id'), 'verbose_name': 'historical enterprise course enrollment'}, + ), + migrations.AlterModelOptions( + name='historicalenterprisecourseentitlement', + options={'get_latest_by': 'history_date', 'ordering': ('-history_date', '-history_id'), 'verbose_name': 'historical enterprise course entitlement'}, + ), + migrations.AlterModelOptions( + name='historicalenterprisecustomer', + options={'get_latest_by': 'history_date', 'ordering': ('-history_date', '-history_id'), 'verbose_name': 'historical Enterprise Customer'}, + ), + migrations.AlterModelOptions( + name='historicalenterprisecustomercatalog', + options={'get_latest_by': 'history_date', 'ordering': ('-history_date', '-history_id'), 'verbose_name': 'historical Enterprise Customer Catalog'}, + ), + migrations.AlterModelOptions( + name='historicalenterprisecustomerinvitekey', + options={'get_latest_by': 'history_date', 'ordering': ('-history_date', '-history_id'), 'verbose_name': 'historical enterprise customer invite key'}, + ), + migrations.AlterModelOptions( + name='historicalenterprisecustomerssoconfiguration', + options={'get_latest_by': 'history_date', 'ordering': ('-history_date', '-history_id'), 'verbose_name': 'historical Enterprise Customer SSO Configuration'}, + ), + migrations.AlterModelOptions( + name='historicalenterprisecustomeruser', + options={'get_latest_by': 'history_date', 'ordering': ('-history_date', '-history_id'), 'verbose_name': 'historical Enterprise Customer Learner'}, + ), + migrations.AlterModelOptions( + name='historicallearnercreditenterprisecourseenrollment', + options={'get_latest_by': 'history_date', 'ordering': ('-history_date', '-history_id'), 'verbose_name': 'historical learner credit enterprise course enrollment'}, + ), + migrations.AlterModelOptions( + name='historicallicensedenterprisecourseenrollment', + options={'get_latest_by': 'history_date', 'ordering': ('-history_date', '-history_id'), 'verbose_name': 'historical licensed enterprise course enrollment'}, + ), + migrations.AlterModelOptions( + name='historicalpendingenrollment', + options={'get_latest_by': 'history_date', 'ordering': ('-history_date', '-history_id'), 'verbose_name': 'historical pending enrollment'}, + ), + migrations.AlterModelOptions( + name='historicalpendingenterprisecustomeradminuser', + options={'get_latest_by': 'history_date', 'ordering': ('-history_date', '-history_id'), 'verbose_name': 'historical pending enterprise customer admin user'}, + ), + migrations.AlterModelOptions( + name='historicalpendingenterprisecustomeruser', + options={'get_latest_by': 'history_date', 'ordering': ('-history_date', '-history_id'), 'verbose_name': 'historical pending enterprise customer user'}, + ), + migrations.AlterModelOptions( + name='historicalsystemwideenterpriseuserroleassignment', + options={'get_latest_by': 'history_date', 'ordering': ('-history_date', '-history_id'), 'verbose_name': 'historical system wide enterprise user role assignment'}, + ), + 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'), + ), + ] diff --git a/enterprise/migrations/0187_merge_20230927_1245.py b/enterprise/migrations/0187_merge_20230927_1245.py new file mode 100644 index 0000000000..1df39b798a --- /dev/null +++ b/enterprise/migrations/0187_merge_20230927_1245.py @@ -0,0 +1,14 @@ +# Generated by Django 4.2.5 on 2023-09-27 12:45 + +from django.db import migrations + + +class Migration(migrations.Migration): + + dependencies = [ + ('enterprise', '0186_alter_historicalenrollmentnotificationemailtemplate_options_and_more'), + ('enterprise', '0186_auto_20230921_1828'), + ] + + operations = [ + ] diff --git a/integrated_channels/blackboard/migrations/0018_alter_historicalblackboardenterprisecustomerconfiguration_options.py b/integrated_channels/blackboard/migrations/0018_alter_historicalblackboardenterprisecustomerconfiguration_options.py new file mode 100644 index 0000000000..4de7be7e9d --- /dev/null +++ b/integrated_channels/blackboard/migrations/0018_alter_historicalblackboardenterprisecustomerconfiguration_options.py @@ -0,0 +1,17 @@ +# Generated by Django 4.2.5 on 2023-09-25 08:43 + +from django.db import migrations + + +class Migration(migrations.Migration): + + dependencies = [ + ('blackboard', '0017_alter_historicalblackboardenterprisecustomerconfiguration_options'), + ] + + operations = [ + migrations.AlterModelOptions( + name='historicalblackboardenterprisecustomerconfiguration', + options={'get_latest_by': 'history_date', 'ordering': ('-history_date', '-history_id'), 'verbose_name': 'historical blackboard enterprise customer configuration'}, + ), + ] diff --git a/integrated_channels/canvas/migrations/0033_alter_historicalcanvasenterprisecustomerconfiguration_options.py b/integrated_channels/canvas/migrations/0033_alter_historicalcanvasenterprisecustomerconfiguration_options.py new file mode 100644 index 0000000000..9d073d2e45 --- /dev/null +++ b/integrated_channels/canvas/migrations/0033_alter_historicalcanvasenterprisecustomerconfiguration_options.py @@ -0,0 +1,17 @@ +# Generated by Django 4.2.5 on 2023-09-25 08:43 + +from django.db import migrations + + +class Migration(migrations.Migration): + + dependencies = [ + ('canvas', '0032_alter_historicalcanvasenterprisecustomerconfiguration_options'), + ] + + operations = [ + migrations.AlterModelOptions( + name='historicalcanvasenterprisecustomerconfiguration', + options={'get_latest_by': 'history_date', 'ordering': ('-history_date', '-history_id'), 'verbose_name': 'historical canvas enterprise customer configuration'}, + ), + ] diff --git a/integrated_channels/cornerstone/migrations/0030_alter_historicalcornerstoneenterprisecustomerconfiguration_options.py b/integrated_channels/cornerstone/migrations/0030_alter_historicalcornerstoneenterprisecustomerconfiguration_options.py new file mode 100644 index 0000000000..16bbaf7a00 --- /dev/null +++ b/integrated_channels/cornerstone/migrations/0030_alter_historicalcornerstoneenterprisecustomerconfiguration_options.py @@ -0,0 +1,17 @@ +# Generated by Django 4.2.5 on 2023-09-25 08:43 + +from django.db import migrations + + +class Migration(migrations.Migration): + + dependencies = [ + ('cornerstone', '0029_alter_historicalcornerstoneenterprisecustomerconfiguration_options'), + ] + + operations = [ + migrations.AlterModelOptions( + name='historicalcornerstoneenterprisecustomerconfiguration', + options={'get_latest_by': 'history_date', 'ordering': ('-history_date', '-history_id'), 'verbose_name': 'historical cornerstone enterprise customer configuration'}, + ), + ] diff --git a/integrated_channels/degreed/migrations/0032_alter_historicaldegreedenterprisecustomerconfiguration_options.py b/integrated_channels/degreed/migrations/0032_alter_historicaldegreedenterprisecustomerconfiguration_options.py new file mode 100644 index 0000000000..05340ea665 --- /dev/null +++ b/integrated_channels/degreed/migrations/0032_alter_historicaldegreedenterprisecustomerconfiguration_options.py @@ -0,0 +1,17 @@ +# Generated by Django 4.2.5 on 2023-09-25 08:43 + +from django.db import migrations + + +class Migration(migrations.Migration): + + dependencies = [ + ('degreed', '0031_alter_historicaldegreedenterprisecustomerconfiguration_options'), + ] + + operations = [ + migrations.AlterModelOptions( + name='historicaldegreedenterprisecustomerconfiguration', + options={'get_latest_by': 'history_date', 'ordering': ('-history_date', '-history_id'), 'verbose_name': 'historical degreed enterprise customer configuration'}, + ), + ] diff --git a/integrated_channels/degreed2/migrations/0024_alter_historicaldegreed2enterprisecustomerconfiguration_options.py b/integrated_channels/degreed2/migrations/0024_alter_historicaldegreed2enterprisecustomerconfiguration_options.py new file mode 100644 index 0000000000..97c197d683 --- /dev/null +++ b/integrated_channels/degreed2/migrations/0024_alter_historicaldegreed2enterprisecustomerconfiguration_options.py @@ -0,0 +1,17 @@ +# Generated by Django 4.2.5 on 2023-09-25 08:43 + +from django.db import migrations + + +class Migration(migrations.Migration): + + dependencies = [ + ('degreed2', '0023_alter_historicaldegreed2enterprisecustomerconfiguration_options'), + ] + + operations = [ + migrations.AlterModelOptions( + name='historicaldegreed2enterprisecustomerconfiguration', + options={'get_latest_by': 'history_date', 'ordering': ('-history_date', '-history_id'), 'verbose_name': 'historical degreed2 enterprise customer configuration'}, + ), + ] diff --git a/integrated_channels/moodle/migrations/0028_alter_historicalmoodleenterprisecustomerconfiguration_options.py b/integrated_channels/moodle/migrations/0028_alter_historicalmoodleenterprisecustomerconfiguration_options.py new file mode 100644 index 0000000000..87c2158b1e --- /dev/null +++ b/integrated_channels/moodle/migrations/0028_alter_historicalmoodleenterprisecustomerconfiguration_options.py @@ -0,0 +1,17 @@ +# Generated by Django 4.2.5 on 2023-09-25 08:43 + +from django.db import migrations + + +class Migration(migrations.Migration): + + dependencies = [ + ('moodle', '0027_alter_historicalmoodleenterprisecustomerconfiguration_options'), + ] + + operations = [ + migrations.AlterModelOptions( + name='historicalmoodleenterprisecustomerconfiguration', + options={'get_latest_by': 'history_date', 'ordering': ('-history_date', '-history_id'), 'verbose_name': 'historical moodle enterprise customer configuration'}, + ), + ]