authentik.sources.kerberos.migrations.0004_kerberossource_sync_outgoing_trigger_mode

 1# Generated by Django 5.2.9 on 2025-12-08 13:45
 2
 3from django.db import migrations, models
 4
 5
 6class Migration(migrations.Migration):
 7
 8    dependencies = [
 9        ("authentik_sources_kerberos", "0003_migrate_userkerberossourceconnection_identifier"),
10    ]
11
12    operations = [
13        migrations.AddField(
14            model_name="kerberossource",
15            name="sync_outgoing_trigger_mode",
16            field=models.TextField(
17                choices=[
18                    ("none", "None"),
19                    ("immediate", "Immediate"),
20                    ("deferred_end", "Deferred End"),
21                ],
22                default="deferred_end",
23                help_text="When to trigger sync for outgoing providers",
24            ),
25        ),
26    ]
class Migration(django.db.migrations.migration.Migration):
 7class Migration(migrations.Migration):
 8
 9    dependencies = [
10        ("authentik_sources_kerberos", "0003_migrate_userkerberossourceconnection_identifier"),
11    ]
12
13    operations = [
14        migrations.AddField(
15            model_name="kerberossource",
16            name="sync_outgoing_trigger_mode",
17            field=models.TextField(
18                choices=[
19                    ("none", "None"),
20                    ("immediate", "Immediate"),
21                    ("deferred_end", "Deferred End"),
22                ],
23                default="deferred_end",
24                help_text="When to trigger sync for outgoing providers",
25            ),
26        ),
27    ]

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_sources_kerberos', '0003_migrate_userkerberossourceconnection_identifier')]
operations = [<AddField model_name='kerberossource', name='sync_outgoing_trigger_mode', field=<django.db.models.fields.TextField>>]