authentik.flows.migrations.0023_flow_denied_action
1# Generated by Django 4.0.5 on 2022-07-02 12:42 2 3from django.db import migrations, models 4 5 6class Migration(migrations.Migration): 7 dependencies = [ 8 ("authentik_flows", "0022_flow_layout"), 9 ] 10 11 operations = [ 12 migrations.AddField( 13 model_name="flow", 14 name="denied_action", 15 field=models.TextField( 16 choices=[ 17 ("message_continue", "Message Continue"), 18 ("message", "Message"), 19 ("continue", "Continue"), 20 ], 21 default="message_continue", 22 help_text="Configure what should happen when a flow denies access to a user.", 23 ), 24 ), 25 ]
class
Migration(django.db.migrations.migration.Migration):
7class Migration(migrations.Migration): 8 dependencies = [ 9 ("authentik_flows", "0022_flow_layout"), 10 ] 11 12 operations = [ 13 migrations.AddField( 14 model_name="flow", 15 name="denied_action", 16 field=models.TextField( 17 choices=[ 18 ("message_continue", "Message Continue"), 19 ("message", "Message"), 20 ("continue", "Continue"), 21 ], 22 default="message_continue", 23 help_text="Configure what should happen when a flow denies access to a user.", 24 ), 25 ), 26 ]
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.