authentik.enterprise.providers.microsoft_entra.migrations.0006_microsoftentraprovider_discovery_enabled

 1# Generated by Django 5.2.16 on 2026-08-03 13:20
 2
 3from django.db import migrations, models
 4
 5
 6class Migration(migrations.Migration):
 7
 8    dependencies = [
 9        (
10            "authentik_providers_microsoft_entra",
11            "0005_microsoftentraproviderpropertymappingsgroup_and_more",
12        ),
13    ]
14
15    operations = [
16        migrations.AddField(
17            model_name="microsoftentraprovider",
18            name="discovery_enabled",
19            field=models.BooleanField(
20                default=True,
21                help_text="When enabled, authentik will attempt to discover existing resources in the remote system.",
22            ),
23        ),
24    ]
class Migration(django.db.migrations.migration.Migration):
 7class Migration(migrations.Migration):
 8
 9    dependencies = [
10        (
11            "authentik_providers_microsoft_entra",
12            "0005_microsoftentraproviderpropertymappingsgroup_and_more",
13        ),
14    ]
15
16    operations = [
17        migrations.AddField(
18            model_name="microsoftentraprovider",
19            name="discovery_enabled",
20            field=models.BooleanField(
21                default=True,
22                help_text="When enabled, authentik will attempt to discover existing resources in the remote system.",
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_microsoft_entra', '0005_microsoftentraproviderpropertymappingsgroup_and_more')]
operations = [<AddField model_name='microsoftentraprovider', name='discovery_enabled', field=<django.db.models.fields.BooleanField>>]