authentik.flows.migrations.0029_alter_flow_slug
1# Generated by Django 5.2.8 on 2025-11-25 16:36 2 3import django.core.validators 4import re 5from django.db import migrations, models 6 7 8class Migration(migrations.Migration): 9 10 dependencies = [ 11 ("authentik_flows", "0028_flowtoken_revoke_on_execution"), 12 ] 13 14 operations = [ 15 migrations.AlterField( 16 model_name="flow", 17 name="slug", 18 field=models.TextField( 19 help_text="Visible in the URL.", 20 unique=True, 21 validators=[ 22 django.core.validators.RegexValidator( 23 re.compile("^[-a-zA-Z0-9_]+\\Z"), 24 "Enter a valid “slug” consisting of letters, numbers, underscores or hyphens.", 25 "invalid", 26 ) 27 ], 28 ), 29 ), 30 ]
class
Migration(django.db.migrations.migration.Migration):
9class Migration(migrations.Migration): 10 11 dependencies = [ 12 ("authentik_flows", "0028_flowtoken_revoke_on_execution"), 13 ] 14 15 operations = [ 16 migrations.AlterField( 17 model_name="flow", 18 name="slug", 19 field=models.TextField( 20 help_text="Visible in the URL.", 21 unique=True, 22 validators=[ 23 django.core.validators.RegexValidator( 24 re.compile("^[-a-zA-Z0-9_]+\\Z"), 25 "Enter a valid “slug” consisting of letters, numbers, underscores or hyphens.", 26 "invalid", 27 ) 28 ], 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.