Skip to content

Commit

Permalink
feat: migrations for django 4.2
Browse files Browse the repository at this point in the history
  • Loading branch information
irtazaakram committed Sep 27, 2023
1 parent 733e7c9 commit 83391e3
Show file tree
Hide file tree
Showing 9 changed files with 223 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -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'},
),
]
Original file line number Diff line number Diff line change
@@ -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'),
),
]
14 changes: 14 additions & 0 deletions enterprise/migrations/0187_merge_20230927_1245.py
Original file line number Diff line number Diff line change
@@ -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 = [
]
Original file line number Diff line number Diff line change
@@ -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'},
),
]
Original file line number Diff line number Diff line change
@@ -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'},
),
]
Original file line number Diff line number Diff line change
@@ -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'},
),
]
Original file line number Diff line number Diff line change
@@ -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'},
),
]
Original file line number Diff line number Diff line change
@@ -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'},
),
]
Original file line number Diff line number Diff line change
@@ -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'},
),
]

0 comments on commit 83391e3

Please sign in to comment.