authentik.flows.migrations.0030_alter_flow_background

 1# Generated by Django 5.2.8 on 2025-11-27 16:22
 2
 3import authentik.admin.files.fields
 4from django.db import migrations
 5
 6
 7class Migration(migrations.Migration):
 8
 9    dependencies = [
10        ("authentik_flows", "0029_alter_flow_slug"),
11    ]
12
13    operations = [
14        migrations.AlterField(
15            model_name="flow",
16            name="background",
17            field=authentik.admin.files.fields.FileField(
18                blank=True, default="", help_text="Background shown during execution"
19            ),
20        ),
21    ]
class Migration(django.db.migrations.migration.Migration):
 8class Migration(migrations.Migration):
 9
10    dependencies = [
11        ("authentik_flows", "0029_alter_flow_slug"),
12    ]
13
14    operations = [
15        migrations.AlterField(
16            model_name="flow",
17            name="background",
18            field=authentik.admin.files.fields.FileField(
19                blank=True, default="", help_text="Background shown during execution"
20            ),
21        ),
22    ]

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_flows', '0029_alter_flow_slug')]
operations = [<AlterField model_name='flow', name='background', field=<authentik.admin.files.fields.FileField>>]