authentik.providers.saml.migrations.0026_samlsession_authentik_p_expires_e2c90e_idx_and_more
1# Generated by Django 5.2.19 on 2026-11-26 18:05 2 3from django.conf import settings 4from django.db import migrations, models 5 6 7class Migration(migrations.Migration): 8 9 dependencies = [ 10 ("authentik_core", "0069_useractivity"), 11 ("authentik_providers_saml", "0025_samlprovider_ignore_force_authn"), 12 migrations.swappable_dependency(settings.AUTH_USER_MODEL), 13 ] 14 15 operations = [ 16 migrations.AddIndex( 17 model_name="samlsession", 18 index=models.Index(fields=["expires"], name="authentik_p_expires_e2c90e_idx"), 19 ), 20 migrations.AddIndex( 21 model_name="samlsession", 22 index=models.Index(fields=["expiring"], name="authentik_p_expirin_c73e4b_idx"), 23 ), 24 migrations.AddIndex( 25 model_name="samlsession", 26 index=models.Index( 27 fields=["expiring", "expires"], name="authentik_p_expirin_65b6f1_idx" 28 ), 29 ), 30 ]
class
Migration(django.db.migrations.migration.Migration):
8class Migration(migrations.Migration): 9 10 dependencies = [ 11 ("authentik_core", "0069_useractivity"), 12 ("authentik_providers_saml", "0025_samlprovider_ignore_force_authn"), 13 migrations.swappable_dependency(settings.AUTH_USER_MODEL), 14 ] 15 16 operations = [ 17 migrations.AddIndex( 18 model_name="samlsession", 19 index=models.Index(fields=["expires"], name="authentik_p_expires_e2c90e_idx"), 20 ), 21 migrations.AddIndex( 22 model_name="samlsession", 23 index=models.Index(fields=["expiring"], name="authentik_p_expirin_c73e4b_idx"), 24 ), 25 migrations.AddIndex( 26 model_name="samlsession", 27 index=models.Index( 28 fields=["expiring", "expires"], name="authentik_p_expirin_65b6f1_idx" 29 ), 30 ), 31 ]
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_core', '0069_useractivity'), ('authentik_providers_saml', '0025_samlprovider_ignore_force_authn'), ('authentik_core', '__first__')]
operations =
[<AddIndex model_name='samlsession', index=<Index: fields=['expires'] name='authentik_p_expires_e2c90e_idx'>>, <AddIndex model_name='samlsession', index=<Index: fields=['expiring'] name='authentik_p_expirin_c73e4b_idx'>>, <AddIndex model_name='samlsession', index=<Index: fields=['expiring', 'expires'] name='authentik_p_expirin_65b6f1_idx'>>]