authentik.enterprise.providers.microsoft_entra.migrations.0003_microsoftentraprovider_dry_run

 1# Generated by Django 5.0.12 on 2025-02-24 19:43
 2
 3from django.db import migrations, models
 4
 5
 6class Migration(migrations.Migration):
 7
 8    dependencies = [
 9        (
10            "authentik_providers_microsoft_entra",
11            "0002_microsoftentraprovidergroup_attributes_and_more",
12        ),
13    ]
14
15    operations = [
16        migrations.AddField(
17            model_name="microsoftentraprovider",
18            name="dry_run",
19            field=models.BooleanField(
20                default=False,
21                help_text="When enabled, provider will not modify or create objects 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            "0002_microsoftentraprovidergroup_attributes_and_more",
13        ),
14    ]
15
16    operations = [
17        migrations.AddField(
18            model_name="microsoftentraprovider",
19            name="dry_run",
20            field=models.BooleanField(
21                default=False,
22                help_text="When enabled, provider will not modify or create objects 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', '0002_microsoftentraprovidergroup_attributes_and_more')]
operations = [<AddField model_name='microsoftentraprovider', name='dry_run', field=<django.db.models.fields.BooleanField>>]