authentik.providers.scim.migrations.0008_rename_scimgroup_scimprovidergroup_and_more

 1# Generated by Django 5.0.6 on 2024-06-04 07:45
 2
 3from django.conf import settings
 4from django.db import migrations
 5
 6
 7class Migration(migrations.Migration):
 8
 9    dependencies = [
10        ("authentik_core", "0035_alter_group_options_and_more"),
11        ("authentik_providers_scim", "0007_scimgroup_scim_id_scimuser_scim_id_and_more"),
12        migrations.swappable_dependency(settings.AUTH_USER_MODEL),
13    ]
14
15    operations = [
16        migrations.RenameModel(
17            old_name="SCIMGroup",
18            new_name="SCIMProviderGroup",
19        ),
20        migrations.RenameModel(
21            old_name="SCIMUser",
22            new_name="SCIMProviderUser",
23        ),
24    ]
class Migration(django.db.migrations.migration.Migration):
 8class Migration(migrations.Migration):
 9
10    dependencies = [
11        ("authentik_core", "0035_alter_group_options_and_more"),
12        ("authentik_providers_scim", "0007_scimgroup_scim_id_scimuser_scim_id_and_more"),
13        migrations.swappable_dependency(settings.AUTH_USER_MODEL),
14    ]
15
16    operations = [
17        migrations.RenameModel(
18            old_name="SCIMGroup",
19            new_name="SCIMProviderGroup",
20        ),
21        migrations.RenameModel(
22            old_name="SCIMUser",
23            new_name="SCIMProviderUser",
24        ),
25    ]

The base class for all migrations.

Migration files will import this from django.db.migrations.Migration and subclass it as a class called Migration. It will have one or more of the following attributes:

  • operations: A list of Operation instances, probably from django.db.migrations.operations
  • dependencies: A list of tuples of (app_path, migration_name)
  • run_before: A list of tuples of (app_path, migration_name)
  • replaces: A list of migration_names

Note that all migrations come out of migrations and into the Loader or Graph as instances, having been initialized with their app label and name.

dependencies = [('authentik_core', '0035_alter_group_options_and_more'), ('authentik_providers_scim', '0007_scimgroup_scim_id_scimuser_scim_id_and_more'), ('authentik_core', '__first__')]
operations = [<RenameModel old_name='SCIMGroup', new_name='SCIMProviderGroup'>, <RenameModel old_name='SCIMUser', new_name='SCIMProviderUser'>]