authentik.providers.rac.migrations.0006_connectiontoken_authentik_p_expires_91f148_idx_and_more
1# Generated by Django 5.0.10 on 2025-01-13 18:05 2 3from django.db import migrations, models 4 5 6class Migration(migrations.Migration): 7 8 dependencies = [ 9 ("authentik_core", "0042_authenticatedsession_authentik_c_expires_08251d_idx_and_more"), 10 ("authentik_providers_rac", "0005_alter_racpropertymapping_options"), 11 ] 12 13 operations = [ 14 migrations.AddIndex( 15 model_name="connectiontoken", 16 index=models.Index(fields=["expires"], name="authentik_p_expires_91f148_idx"), 17 ), 18 migrations.AddIndex( 19 model_name="connectiontoken", 20 index=models.Index(fields=["expiring"], name="authentik_p_expirin_59a5a7_idx"), 21 ), 22 migrations.AddIndex( 23 model_name="connectiontoken", 24 index=models.Index( 25 fields=["expiring", "expires"], name="authentik_p_expirin_aed3ca_idx" 26 ), 27 ), 28 ]
class
Migration(django.db.migrations.migration.Migration):
7class Migration(migrations.Migration): 8 9 dependencies = [ 10 ("authentik_core", "0042_authenticatedsession_authentik_c_expires_08251d_idx_and_more"), 11 ("authentik_providers_rac", "0005_alter_racpropertymapping_options"), 12 ] 13 14 operations = [ 15 migrations.AddIndex( 16 model_name="connectiontoken", 17 index=models.Index(fields=["expires"], name="authentik_p_expires_91f148_idx"), 18 ), 19 migrations.AddIndex( 20 model_name="connectiontoken", 21 index=models.Index(fields=["expiring"], name="authentik_p_expirin_59a5a7_idx"), 22 ), 23 migrations.AddIndex( 24 model_name="connectiontoken", 25 index=models.Index( 26 fields=["expiring", "expires"], name="authentik_p_expirin_aed3ca_idx" 27 ), 28 ), 29 ]
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', '0042_authenticatedsession_authentik_c_expires_08251d_idx_and_more'), ('authentik_providers_rac', '0005_alter_racpropertymapping_options')]
operations =
[<AddIndex model_name='connectiontoken', index=<Index: fields=['expires'] name='authentik_p_expires_91f148_idx'>>, <AddIndex model_name='connectiontoken', index=<Index: fields=['expiring'] name='authentik_p_expirin_59a5a7_idx'>>, <AddIndex model_name='connectiontoken', index=<Index: fields=['expiring', 'expires'] name='authentik_p_expirin_aed3ca_idx'>>]