authentik.enterprise.providers.ws_federation.migrations.0002_wsfederationprovider_saml_version

 1# Generated by Django 5.2.15 on 2026-07-08 12:58
 2
 3from django.db import migrations, models
 4
 5
 6class Migration(migrations.Migration):
 7
 8    dependencies = [
 9        ("authentik_providers_ws_federation", "0001_initial"),
10    ]
11
12    operations = [
13        migrations.AddField(
14            model_name="wsfederationprovider",
15            name="saml_version",
16            field=models.TextField(
17                choices=[("1.1", "SAML 1.1"), ("2.0", "SAML 2.0")],
18                default="2.0",
19                help_text="SAML assertion version to issue in the security token. Microsoft Entra ID and classic ADFS-style relying parties typically require SAML 1.1.",
20            ),
21        ),
22    ]
class Migration(django.db.migrations.migration.Migration):
 7class Migration(migrations.Migration):
 8
 9    dependencies = [
10        ("authentik_providers_ws_federation", "0001_initial"),
11    ]
12
13    operations = [
14        migrations.AddField(
15            model_name="wsfederationprovider",
16            name="saml_version",
17            field=models.TextField(
18                choices=[("1.1", "SAML 1.1"), ("2.0", "SAML 2.0")],
19                default="2.0",
20                help_text="SAML assertion version to issue in the security token. Microsoft Entra ID and classic ADFS-style relying parties typically require SAML 1.1.",
21            ),
22        ),
23    ]

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_ws_federation', '0001_initial')]
operations = [<AddField model_name='wsfederationprovider', name='saml_version', field=<django.db.models.fields.TextField>>]