authentik.core.migrations.0038_source_authentik_c_enabled_d72365_idx
1# Generated by Django 5.0.7 on 2024-07-22 13:32 2 3from django.db import migrations, models 4 5 6class Migration(migrations.Migration): 7 8 dependencies = [ 9 ("authentik_core", "0037_remove_source_property_mappings"), 10 ("authentik_flows", "0027_auto_20231028_1424"), 11 ("authentik_policies", "0011_policybinding_failure_result_and_more"), 12 ] 13 14 operations = [ 15 migrations.AddIndex( 16 model_name="source", 17 index=models.Index(fields=["enabled"], name="authentik_c_enabled_d72365_idx"), 18 ), 19 ]
class
Migration(django.db.migrations.migration.Migration):
7class Migration(migrations.Migration): 8 9 dependencies = [ 10 ("authentik_core", "0037_remove_source_property_mappings"), 11 ("authentik_flows", "0027_auto_20231028_1424"), 12 ("authentik_policies", "0011_policybinding_failure_result_and_more"), 13 ] 14 15 operations = [ 16 migrations.AddIndex( 17 model_name="source", 18 index=models.Index(fields=["enabled"], name="authentik_c_enabled_d72365_idx"), 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.