authentik.providers.proxy.migrations.0017_proxysession_authentik_p_expires_01cd49_idx_and_more
1# Generated by Django 5.2.19 on 2026-11-26 18:05 2 3from django.db import migrations, models 4 5 6class Migration(migrations.Migration): 7 8 dependencies = [ 9 ("authentik_providers_proxy", "0016_proxysession"), 10 ] 11 12 operations = [ 13 migrations.AddIndex( 14 model_name="proxysession", 15 index=models.Index(fields=["expires"], name="authentik_p_expires_01cd49_idx"), 16 ), 17 migrations.AddIndex( 18 model_name="proxysession", 19 index=models.Index(fields=["expiring"], name="authentik_p_expirin_061f14_idx"), 20 ), 21 migrations.AddIndex( 22 model_name="proxysession", 23 index=models.Index( 24 fields=["expiring", "expires"], name="authentik_p_expirin_584f2e_idx" 25 ), 26 ), 27 ]
class
Migration(django.db.migrations.migration.Migration):
7class Migration(migrations.Migration): 8 9 dependencies = [ 10 ("authentik_providers_proxy", "0016_proxysession"), 11 ] 12 13 operations = [ 14 migrations.AddIndex( 15 model_name="proxysession", 16 index=models.Index(fields=["expires"], name="authentik_p_expires_01cd49_idx"), 17 ), 18 migrations.AddIndex( 19 model_name="proxysession", 20 index=models.Index(fields=["expiring"], name="authentik_p_expirin_061f14_idx"), 21 ), 22 migrations.AddIndex( 23 model_name="proxysession", 24 index=models.Index( 25 fields=["expiring", "expires"], name="authentik_p_expirin_584f2e_idx" 26 ), 27 ), 28 ]
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.
operations =
[<AddIndex model_name='proxysession', index=<Index: fields=['expires'] name='authentik_p_expires_01cd49_idx'>>, <AddIndex model_name='proxysession', index=<Index: fields=['expiring'] name='authentik_p_expirin_061f14_idx'>>, <AddIndex model_name='proxysession', index=<Index: fields=['expiring', 'expires'] name='authentik_p_expirin_584f2e_idx'>>]