authentik.sources.ldap.migrations.0012_ldapsource_sync_group_parents
1# Generated by Django 5.2.15 on 2026-07-24 10:35 2 3from django.db import migrations, models 4 5 6class Migration(migrations.Migration): 7 8 dependencies = [ 9 ("authentik_sources_ldap", "0011_ldapsource_sync_outgoing_trigger_mode"), 10 ] 11 12 operations = [ 13 migrations.AddField( 14 model_name="ldapsource", 15 name="sync_group_hierarchy", 16 field=models.BooleanField( 17 default=False, help_text="Sync group parentage/hierarchy from LDAP directories." 18 ), 19 ), 20 ]
class
Migration(django.db.migrations.migration.Migration):
7class Migration(migrations.Migration): 8 9 dependencies = [ 10 ("authentik_sources_ldap", "0011_ldapsource_sync_outgoing_trigger_mode"), 11 ] 12 13 operations = [ 14 migrations.AddField( 15 model_name="ldapsource", 16 name="sync_group_hierarchy", 17 field=models.BooleanField( 18 default=False, help_text="Sync group parentage/hierarchy from LDAP directories." 19 ), 20 ), 21 ]
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.