authentik.core.migrations.0037_remove_source_property_mappings

 1# Generated by Django 5.0.2 on 2024-02-29 11:21
 2
 3from django.db import migrations
 4
 5
 6class Migration(migrations.Migration):
 7
 8    dependencies = [
 9        ("authentik_sources_ldap", "0005_remove_ldappropertymapping_object_field_and_more"),
10        ("authentik_core", "0036_source_group_property_mappings_and_more"),
11    ]
12
13    operations = [
14        migrations.RemoveField(
15            model_name="source",
16            name="property_mappings",
17        ),
18    ]
class Migration(django.db.migrations.migration.Migration):
 7class Migration(migrations.Migration):
 8
 9    dependencies = [
10        ("authentik_sources_ldap", "0005_remove_ldappropertymapping_object_field_and_more"),
11        ("authentik_core", "0036_source_group_property_mappings_and_more"),
12    ]
13
14    operations = [
15        migrations.RemoveField(
16            model_name="source",
17            name="property_mappings",
18        ),
19    ]

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_ldap', '0005_remove_ldappropertymapping_object_field_and_more'), ('authentik_core', '0036_source_group_property_mappings_and_more')]
operations = [<RemoveField model_name='source', name='property_mappings'>]