authentik.sources.ldap.migrations.0013_ldapsource_service_bind_method
1# Generated by Django 5.2.17 on 2026-09-10 17:00 2 3from django.db import migrations, models 4 5 6class Migration(migrations.Migration): 7 dependencies = [ 8 ("authentik_sources_ldap", "0012_ldapsource_sync_group_parents"), 9 ] 10 11 operations = [ 12 migrations.AddField( 13 model_name="ldapsource", 14 name="service_bind_method", 15 field=models.TextField( 16 choices=[ 17 ("simple", "Simple or anonymous bind"), 18 ("sasl_external", "SASL EXTERNAL"), 19 ], 20 default="simple", 21 help_text="Authentication method used for LDAP synchronization and writeback.", 22 ), 23 ), 24 ]
class
Migration(django.db.migrations.migration.Migration):
7class Migration(migrations.Migration): 8 dependencies = [ 9 ("authentik_sources_ldap", "0012_ldapsource_sync_group_parents"), 10 ] 11 12 operations = [ 13 migrations.AddField( 14 model_name="ldapsource", 15 name="service_bind_method", 16 field=models.TextField( 17 choices=[ 18 ("simple", "Simple or anonymous bind"), 19 ("sasl_external", "SASL EXTERNAL"), 20 ], 21 default="simple", 22 help_text="Authentication method used for LDAP synchronization and writeback.", 23 ), 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.