authentik.core.migrations.0044_usersourceconnection_new_identifier

 1# Generated by Django 5.0.13 on 2025-04-07 14:04
 2
 3from django.db import migrations, models
 4
 5
 6class Migration(migrations.Migration):
 7
 8    dependencies = [
 9        ("authentik_core", "0043_alter_group_options"),
10    ]
11
12    operations = [
13        migrations.AddField(
14            model_name="usersourceconnection",
15            name="new_identifier",
16            field=models.TextField(default=""),
17            preserve_default=False,
18        ),
19    ]
class Migration(django.db.migrations.migration.Migration):
 7class Migration(migrations.Migration):
 8
 9    dependencies = [
10        ("authentik_core", "0043_alter_group_options"),
11    ]
12
13    operations = [
14        migrations.AddField(
15            model_name="usersourceconnection",
16            name="new_identifier",
17            field=models.TextField(default=""),
18            preserve_default=False,
19        ),
20    ]

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', '0043_alter_group_options')]
operations = [<AddField model_name='usersourceconnection', name='new_identifier', field=<django.db.models.fields.TextField>, preserve_default=False>]