# Generated by Django 3.2 on 2021-04-26 12:45

import django.db.models.deletion
from django.db import migrations, models


class Migration(migrations.Migration):

    initial = True

    dependencies = [
        ("authentik_core", "0019_source_managed"),
    ]

    operations = [
        migrations.CreateModel(
            name="LDAPProvider",
            fields=[
                (
                    "provider_ptr",
                    models.OneToOneField(
                        auto_created=True,
                        on_delete=django.db.models.deletion.CASCADE,
                        parent_link=True,
                        primary_key=True,
                        serialize=False,
                        to="authentik_core.provider",
                    ),
                ),
                (
                    "base_dn",
                    models.TextField(
                        default="DC=ldap,DC=goauthentik,DC=io",
                        help_text="DN under which objects are accessible.",
                    ),
                ),
            ],
            options={
                "verbose_name": "LDAP Provider",
                "verbose_name_plural": "LDAP Providers",
            },
            bases=("authentik_core.provider", models.Model),
        ),
    ]
