# Generated by Django 5.1.9 on 2025-05-28 08:15

from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ("authentik_core", "0048_delete_oldauthenticatedsession_content_type"),
        ("authentik_sources_ldap", "0008_groupldapsourceconnection_userldapsourceconnection"),
    ]

    operations = [
        migrations.AddField(
            model_name="groupldapsourceconnection",
            name="validated_by",
            field=models.UUIDField(
                blank=True,
                help_text="Unique ID used while checking if this object still exists in the directory.",
                null=True,
            ),
        ),
        migrations.AddField(
            model_name="ldapsource",
            name="delete_not_found_objects",
            field=models.BooleanField(
                default=False,
                help_text="Delete authentik users and groups which were previously supplied by this source, but are now missing from it.",
            ),
        ),
        migrations.AddField(
            model_name="userldapsourceconnection",
            name="validated_by",
            field=models.UUIDField(
                blank=True,
                help_text="Unique ID used while checking if this object still exists in the directory.",
                null=True,
            ),
        ),
        migrations.AddIndex(
            model_name="groupldapsourceconnection",
            index=models.Index(fields=["validated_by"], name="authentik_s_validat_b70447_idx"),
        ),
        migrations.AddIndex(
            model_name="userldapsourceconnection",
            index=models.Index(fields=["validated_by"], name="authentik_s_validat_ff2ebc_idx"),
        ),
    ]
