authentik.sources.saml.migrations.0023_rename_issuer_samlsource_issuer_override

 1# Generated by Django 5.2.14 on 2026-05-20 01:11
 2
 3from django.db import migrations, models
 4
 5
 6class Migration(migrations.Migration):
 7
 8    dependencies = [
 9        ("authentik_sources_saml", "0022_samlsource_force_authn"),
10    ]
11
12    operations = [
13        migrations.RenameField(
14            model_name="samlsource",
15            old_name="issuer",
16            new_name="issuer_override",
17        ),
18        migrations.AlterField(
19            model_name="samlsource",
20            name="issuer_override",
21            field=models.TextField(
22                blank=True,
23                default=None,
24                help_text="Also known as Entity ID. Defaults to the Metadata URL.",
25            ),
26        ),
27    ]
class Migration(django.db.migrations.migration.Migration):
 7class Migration(migrations.Migration):
 8
 9    dependencies = [
10        ("authentik_sources_saml", "0022_samlsource_force_authn"),
11    ]
12
13    operations = [
14        migrations.RenameField(
15            model_name="samlsource",
16            old_name="issuer",
17            new_name="issuer_override",
18        ),
19        migrations.AlterField(
20            model_name="samlsource",
21            name="issuer_override",
22            field=models.TextField(
23                blank=True,
24                default=None,
25                help_text="Also known as Entity ID. Defaults to the Metadata URL.",
26            ),
27        ),
28    ]

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_sources_saml', '0022_samlsource_force_authn')]
operations = [<RenameField model_name='samlsource', old_name='issuer', new_name='issuer_override'>, <AlterField model_name='samlsource', name='issuer_override', field=<django.db.models.fields.TextField>>]