Skip to content

Commit

Permalink
chore: adding migrations related with django-history. (openedx#32935)
Browse files Browse the repository at this point in the history
  • Loading branch information
awais786 authored Aug 8, 2023
1 parent 52bdb70 commit 4da29d9
Show file tree
Hide file tree
Showing 15 changed files with 283 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Generated by Django 3.2.20 on 2023-08-08 09:44

from django.db import migrations


class Migration(migrations.Migration):

dependencies = [
('course_modes', '0015_expiration_datetime_explicit_admin'),
]

operations = [
migrations.AlterModelOptions(
name='historicalcoursemode',
options={'get_latest_by': ('history_date', 'history_id'), 'ordering': ('-history_date', '-history_id'), 'verbose_name': 'historical course mode', 'verbose_name_plural': 'historical course modes'},
),
]
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Generated by Django 3.2.20 on 2023-08-08 09:44

from django.db import migrations


class Migration(migrations.Migration):

dependencies = [
('entitlements', '0015_add_unique_together_constraint'),
]

operations = [
migrations.AlterModelOptions(
name='historicalcourseentitlement',
options={'get_latest_by': ('history_date', 'history_id'), 'ordering': ('-history_date', '-history_id'), 'verbose_name': 'historical course entitlement', 'verbose_name_plural': 'historical course entitlements'},
),
migrations.AlterModelOptions(
name='historicalcourseentitlementsupportdetail',
options={'get_latest_by': ('history_date', 'history_id'), 'ordering': ('-history_date', '-history_id'), 'verbose_name': 'historical course entitlement support detail', 'verbose_name_plural': 'historical course entitlement support details'},
),
]
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Generated by Django 3.2.20 on 2023-08-08 09:44

from django.db import migrations


class Migration(migrations.Migration):

dependencies = [
('split_modulestore_django', '0002_data_migration'),
]

operations = [
migrations.AlterModelOptions(
name='historicalsplitmodulestorecourseindex',
options={'get_latest_by': ('history_date', 'history_id'), 'ordering': ('-history_date', '-history_id'), 'verbose_name': 'historical split modulestore course index', 'verbose_name_plural': 'historical Split modulestore course indexes'},
),
]
21 changes: 21 additions & 0 deletions common/djangoapps/student/migrations/0045_auto_20230808_0944.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Generated by Django 3.2.20 on 2023-08-08 09:44

from django.db import migrations


class Migration(migrations.Migration):

dependencies = [
('student', '0044_courseenrollmentcelebration_celebrate_weekly_goal'),
]

operations = [
migrations.AlterModelOptions(
name='historicalcourseenrollment',
options={'get_latest_by': ('history_date', 'history_id'), 'ordering': ('-history_date', '-history_id'), 'verbose_name': 'historical course enrollment', 'verbose_name_plural': 'historical course enrollments'},
),
migrations.AlterModelOptions(
name='historicalmanualenrollmentaudit',
options={'get_latest_by': ('history_date', 'history_id'), 'ordering': ('-history_date', '-history_id'), 'verbose_name': 'historical manual enrollment audit', 'verbose_name_plural': 'historical manual enrollment audits'},
),
]
29 changes: 29 additions & 0 deletions lms/djangoapps/certificates/migrations/0035_auto_20230808_0944.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# Generated by Django 3.2.20 on 2023-08-08 09:44

from django.db import migrations


class Migration(migrations.Migration):

dependencies = [
('certificates', '0034_auto_20220401_1213'),
]

operations = [
migrations.AlterModelOptions(
name='historicalcertificateallowlist',
options={'get_latest_by': ('history_date', 'history_id'), 'ordering': ('-history_date', '-history_id'), 'verbose_name': 'historical certificate allowlist', 'verbose_name_plural': 'historical certificate allowlists'},
),
migrations.AlterModelOptions(
name='historicalcertificatedateoverride',
options={'get_latest_by': ('history_date', 'history_id'), 'ordering': ('-history_date', '-history_id'), 'verbose_name': 'historical certificate date override', 'verbose_name_plural': 'historical certificate date overrides'},
),
migrations.AlterModelOptions(
name='historicalcertificateinvalidation',
options={'get_latest_by': ('history_date', 'history_id'), 'ordering': ('-history_date', '-history_id'), 'verbose_name': 'historical certificate invalidation', 'verbose_name_plural': 'historical certificate invalidations'},
),
migrations.AlterModelOptions(
name='historicalgeneratedcertificate',
options={'get_latest_by': ('history_date', 'history_id'), 'ordering': ('-history_date', '-history_id'), 'verbose_name': 'historical generated certificate', 'verbose_name_plural': 'historical generated certificates'},
),
]
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Generated by Django 3.2.20 on 2023-08-08 09:44

from django.db import migrations


class Migration(migrations.Migration):

dependencies = [
('course_goals', '0008_coursegoalreminderstatus'),
]

operations = [
migrations.AlterModelOptions(
name='historicalcoursegoal',
options={'get_latest_by': ('history_date', 'history_id'), 'ordering': ('-history_date', '-history_id'), 'verbose_name': 'historical course goal', 'verbose_name_plural': 'historical course goals'},
),
]
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Generated by Django 3.2.20 on 2023-08-08 09:44

from django.db import migrations


class Migration(migrations.Migration):

dependencies = [
('course_overviews', '0028_flex_peer_ora_course_setting'),
]

operations = [
migrations.AlterModelOptions(
name='historicalcourseoverview',
options={'get_latest_by': ('history_date', 'history_id'), 'ordering': ('-history_date', '-history_id'), 'verbose_name': 'historical course overview', 'verbose_name_plural': 'historical course overviews'},
),
]
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Generated by Django 3.2.20 on 2023-08-08 09:44

from django.db import migrations


class Migration(migrations.Migration):

dependencies = [
('course_apps', '0001_initial'),
]

operations = [
migrations.AlterModelOptions(
name='historicalcourseappstatus',
options={'get_latest_by': ('history_date', 'history_id'), 'ordering': ('-history_date', '-history_id'), 'verbose_name': 'historical course app status', 'verbose_name_plural': 'historical course app statuss'},
),
]
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Generated by Django 3.2.20 on 2023-08-08 09:44

from django.db import migrations


class Migration(migrations.Migration):

dependencies = [
('course_live', '0002_auto_20220617_1822'),
]

operations = [
migrations.AlterModelOptions(
name='historicalcourseliveconfiguration',
options={'get_latest_by': ('history_date', 'history_id'), 'ordering': ('-history_date', '-history_id'), 'verbose_name': 'historical course live configuration', 'verbose_name_plural': 'historical course live configurations'},
),
]
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Generated by Django 3.2.20 on 2023-08-08 09:44

from django.db import migrations


class Migration(migrations.Migration):

dependencies = [
('demographics', '0003_auto_20200827_1949'),
]

operations = [
migrations.AlterModelOptions(
name='historicaluserdemographics',
options={'get_latest_by': ('history_date', 'history_id'), 'ordering': ('-history_date', '-history_id'), 'verbose_name': 'historical user demographic', 'verbose_name_plural': 'historical user demographic'},
),
]
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Generated by Django 3.2.20 on 2023-08-08 09:44

from django.db import migrations


class Migration(migrations.Migration):

dependencies = [
('discussions', '0016_auto_20230518_0935'),
]

operations = [
migrations.AlterModelOptions(
name='historicaldiscussionsconfiguration',
options={'get_latest_by': ('history_date', 'history_id'), 'ordering': ('-history_date', '-history_id'), 'verbose_name': 'historical discussions configuration', 'verbose_name_plural': 'historical discussions configurations'},
),
]
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Generated by Django 3.2.20 on 2023-08-08 09:44

from django.db import migrations


class Migration(migrations.Migration):

dependencies = [
('external_user_ids', '0005_add_caliper_and_xapi_lti_types'),
]

operations = [
migrations.AlterModelOptions(
name='historicalexternalid',
options={'get_latest_by': ('history_date', 'history_id'), 'ordering': ('-history_date', '-history_id'), 'verbose_name': 'historical external id', 'verbose_name_plural': 'historical external ids'},
),
migrations.AlterModelOptions(
name='historicalexternalidtype',
options={'get_latest_by': ('history_date', 'history_id'), 'ordering': ('-history_date', '-history_id'), 'verbose_name': 'historical external id type', 'verbose_name_plural': 'historical external id types'},
),
]
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Generated by Django 3.2.20 on 2023-08-08 09:44

from django.db import migrations


class Migration(migrations.Migration):

dependencies = [
('programs', '0015_historicalprogramdiscussionsconfiguration_historicalprogramliveconfiguration_programdiscussionsconfi'),
]

operations = [
migrations.AlterModelOptions(
name='historicalprogramdiscussionsconfiguration',
options={'get_latest_by': ('history_date', 'history_id'), 'ordering': ('-history_date', '-history_id'), 'verbose_name': 'historical program discussions configuration', 'verbose_name_plural': 'historical program discussions configurations'},
),
migrations.AlterModelOptions(
name='historicalprogramliveconfiguration',
options={'get_latest_by': ('history_date', 'history_id'), 'ordering': ('-history_date', '-history_id'), 'verbose_name': 'historical program live configuration', 'verbose_name_plural': 'historical program live configurations'},
),
]
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Generated by Django 3.2.20 on 2023-08-08 09:44

from django.db import migrations


class Migration(migrations.Migration):

dependencies = [
('schedules', '0020_remove_config_rollout_fields'),
]

operations = [
migrations.AlterModelOptions(
name='historicalschedule',
options={'get_latest_by': ('history_date', 'history_id'), 'ordering': ('-history_date', '-history_id'), 'verbose_name': 'historical Schedule', 'verbose_name_plural': 'historical Schedules'},
),
]
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Generated by Django 3.2.20 on 2023-08-08 09:44

from django.db import migrations


class Migration(migrations.Migration):

dependencies = [
('calendar_sync', '0002_auto_20200709_1743'),
]

operations = [
migrations.AlterModelOptions(
name='historicalusercalendarsyncconfig',
options={'get_latest_by': ('history_date', 'history_id'), 'ordering': ('-history_date', '-history_id'), 'verbose_name': 'historical user calendar sync config', 'verbose_name_plural': 'historical user calendar sync configs'},
),
]

0 comments on commit 4da29d9

Please sign in to comment.