authentik.providers.saml.migrations.0010_auto_20201230_2112

 1# Generated by Django 3.1.4 on 2020-12-30 21:12
 2
 3from django.db import migrations, models
 4
 5
 6class Migration(migrations.Migration):
 7    dependencies = [
 8        ("authentik_providers_saml", "0009_auto_20201112_2016"),
 9    ]
10
11    operations = [
12        migrations.AlterField(
13            model_name="samlprovider",
14            name="audience",
15            field=models.TextField(
16                blank=True,
17                default="",
18                help_text=(
19                    "Value of the audience restriction field of the assertion. When left empty, no"
20                    " audience restriction will be added."
21                ),
22            ),
23        ),
24    ]
class Migration(django.db.migrations.migration.Migration):
 7class Migration(migrations.Migration):
 8    dependencies = [
 9        ("authentik_providers_saml", "0009_auto_20201112_2016"),
10    ]
11
12    operations = [
13        migrations.AlterField(
14            model_name="samlprovider",
15            name="audience",
16            field=models.TextField(
17                blank=True,
18                default="",
19                help_text=(
20                    "Value of the audience restriction field of the assertion. When left empty, no"
21                    " audience restriction will be added."
22                ),
23            ),
24        ),
25    ]

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_providers_saml', '0009_auto_20201112_2016')]
operations = [<AlterField model_name='samlprovider', name='audience', field=<django.db.models.fields.TextField>>]