authentik.core.migrations.0066_user_authentik_core_user_email_idx
1# Generated by Django 5.2.17 on 2026-09-22 15:43 2 3import django.db.models.functions.text 4from django.db import migrations, models 5 6 7class Migration(migrations.Migration): 8 9 dependencies = [ 10 ("authentik_core", "0065_merge_20260916_1253"), 11 ("authentik_rbac", "0011_initialpermissionspermission"), 12 ] 13 14 operations = [ 15 migrations.AddIndex( 16 model_name="user", 17 index=models.Index( 18 django.db.models.functions.text.Upper("email"), name="authentik_core_user_email_idx" 19 ), 20 ), 21 ]
class
Migration(django.db.migrations.migration.Migration):
8class Migration(migrations.Migration): 9 10 dependencies = [ 11 ("authentik_core", "0065_merge_20260916_1253"), 12 ("authentik_rbac", "0011_initialpermissionspermission"), 13 ] 14 15 operations = [ 16 migrations.AddIndex( 17 model_name="user", 18 index=models.Index( 19 django.db.models.functions.text.Upper("email"), name="authentik_core_user_email_idx" 20 ), 21 ), 22 ]
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.