From 60bc0b43a0fdbb1475c8c59567796198b85653e5 Mon Sep 17 00:00:00 2001 From: Irtaza Akram <51848298+irtazaakram@users.noreply.github.com> Date: Wed, 27 Sep 2023 17:01:24 +0500 Subject: [PATCH] feat: django 4.2 migrations (#33344) --- ...2_alter_ltiproviderconfig_site_and_more.py | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 common/djangoapps/third_party_auth/migrations/0012_alter_ltiproviderconfig_site_and_more.py diff --git a/common/djangoapps/third_party_auth/migrations/0012_alter_ltiproviderconfig_site_and_more.py b/common/djangoapps/third_party_auth/migrations/0012_alter_ltiproviderconfig_site_and_more.py new file mode 100644 index 000000000000..ba9854b1fc2c --- /dev/null +++ b/common/djangoapps/third_party_auth/migrations/0012_alter_ltiproviderconfig_site_and_more.py @@ -0,0 +1,35 @@ +# Generated by Django 4.2.5 on 2023-09-25 09:45 + +from django.db import migrations, models +import django.db.models.deletion + + +class Migration(migrations.Migration): + + dependencies = [ + ('sites', '0002_alter_domain_unique'), + ('third_party_auth', '0011_applemigrationuseridinfo'), + ] + + operations = [ + migrations.AlterField( + model_name='ltiproviderconfig', + name='site', + field=models.ForeignKey(default=1, help_text='The Site that this provider configuration belongs to.', on_delete=django.db.models.deletion.CASCADE, related_name='%(class)ss', to='sites.site'), + ), + migrations.AlterField( + model_name='oauth2providerconfig', + name='site', + field=models.ForeignKey(default=1, help_text='The Site that this provider configuration belongs to.', on_delete=django.db.models.deletion.CASCADE, related_name='%(class)ss', to='sites.site'), + ), + migrations.AlterField( + model_name='samlconfiguration', + name='site', + field=models.ForeignKey(default=1, help_text='The Site that this SAML configuration belongs to.', on_delete=django.db.models.deletion.CASCADE, related_name='%(class)ss', to='sites.site'), + ), + migrations.AlterField( + model_name='samlproviderconfig', + name='site', + field=models.ForeignKey(default=1, help_text='The Site that this provider configuration belongs to.', on_delete=django.db.models.deletion.CASCADE, related_name='%(class)ss', to='sites.site'), + ), + ]