authentik.policies.reputation.migrations.0008_reputation_authentik_p_expires_da493f_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 ( 10 "authentik_policies_reputation", 11 "0007_reputation_authentik_p_identif_9434d7_idx_and_more", 12 ), 13 ] 14 15 operations = [ 16 migrations.AddIndex( 17 model_name="reputation", 18 index=models.Index(fields=["expires"], name="authentik_p_expires_da493f_idx"), 19 ), 20 migrations.AddIndex( 21 model_name="reputation", 22 index=models.Index(fields=["expiring"], name="authentik_p_expirin_2ab34f_idx"), 23 ), 24 migrations.AddIndex( 25 model_name="reputation", 26 index=models.Index( 27 fields=["expiring", "expires"], name="authentik_p_expirin_2a8ec7_idx" 28 ), 29 ), 30 ]
class
Migration(django.db.migrations.migration.Migration):
7class Migration(migrations.Migration): 8 9 dependencies = [ 10 ( 11 "authentik_policies_reputation", 12 "0007_reputation_authentik_p_identif_9434d7_idx_and_more", 13 ), 14 ] 15 16 operations = [ 17 migrations.AddIndex( 18 model_name="reputation", 19 index=models.Index(fields=["expires"], name="authentik_p_expires_da493f_idx"), 20 ), 21 migrations.AddIndex( 22 model_name="reputation", 23 index=models.Index(fields=["expiring"], name="authentik_p_expirin_2ab34f_idx"), 24 ), 25 migrations.AddIndex( 26 model_name="reputation", 27 index=models.Index( 28 fields=["expiring", "expires"], name="authentik_p_expirin_2a8ec7_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_policies_reputation', '0007_reputation_authentik_p_identif_9434d7_idx_and_more')]
operations =
[<AddIndex model_name='reputation', index=<Index: fields=['expires'] name='authentik_p_expires_da493f_idx'>>, <AddIndex model_name='reputation', index=<Index: fields=['expiring'] name='authentik_p_expirin_2ab34f_idx'>>, <AddIndex model_name='reputation', index=<Index: fields=['expiring', 'expires'] name='authentik_p_expirin_2a8ec7_idx'>>]