authentik.stages.prompt.migrations.0005_alter_prompt_field_key
1# Generated by Django 3.2.8 on 2021-10-10 16:54 2 3from django.db import migrations, models 4 5 6class Migration(migrations.Migration): 7 dependencies = [ 8 ("authentik_stages_prompt", "0004_prompt_sub_text"), 9 ] 10 11 operations = [ 12 migrations.AlterField( 13 model_name="prompt", 14 name="field_key", 15 field=models.TextField( 16 help_text="Name of the form field, also used to store the value" 17 ), 18 ), 19 ]
class
Migration(django.db.migrations.migration.Migration):
7class Migration(migrations.Migration): 8 dependencies = [ 9 ("authentik_stages_prompt", "0004_prompt_sub_text"), 10 ] 11 12 operations = [ 13 migrations.AlterField( 14 model_name="prompt", 15 name="field_key", 16 field=models.TextField( 17 help_text="Name of the form field, also used to store the value" 18 ), 19 ), 20 ]
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.