authentik.stages.invitation.migrations.0010_alter_invitation_name
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_stages_invitation", "0009_invitation_authentik_s_expires_96f4b8_idx_and_more"), 12 ] 13 14 operations = [ 15 migrations.AlterField( 16 model_name="invitation", 17 name="name", 18 field=models.TextField( 19 validators=[ 20 django.core.validators.RegexValidator( 21 re.compile("^[-a-zA-Z0-9_]+\\Z"), 22 "Enter a valid “slug” consisting of letters, numbers, underscores or hyphens.", 23 "invalid", 24 ) 25 ] 26 ), 27 ), 28 ]
class
Migration(django.db.migrations.migration.Migration):
9class Migration(migrations.Migration): 10 11 dependencies = [ 12 ("authentik_stages_invitation", "0009_invitation_authentik_s_expires_96f4b8_idx_and_more"), 13 ] 14 15 operations = [ 16 migrations.AlterField( 17 model_name="invitation", 18 name="name", 19 field=models.TextField( 20 validators=[ 21 django.core.validators.RegexValidator( 22 re.compile("^[-a-zA-Z0-9_]+\\Z"), 23 "Enter a valid “slug” consisting of letters, numbers, underscores or hyphens.", 24 "invalid", 25 ) 26 ] 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.