# Generated by Django 3.2.9 on 2021-12-05 13:50

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


class Migration(migrations.Migration):
    dependencies = [
        ("authentik_core", "0018_auto_20210330_1345_squashed_0028_alter_token_intent"),
        (
            "authentik_flows",
            "0019_alter_flow_background_squashed_0024_alter_flow_compatibility_mode",
        ),
    ]

    operations = [
        migrations.CreateModel(
            name="FlowToken",
            fields=[
                (
                    "token_ptr",
                    models.OneToOneField(
                        auto_created=True,
                        on_delete=django.db.models.deletion.CASCADE,
                        parent_link=True,
                        primary_key=True,
                        serialize=False,
                        to="authentik_core.token",
                    ),
                ),
                ("_plan", models.TextField()),
                (
                    "flow",
                    models.ForeignKey(
                        on_delete=django.db.models.deletion.CASCADE, to="authentik_flows.flow"
                    ),
                ),
            ],
            options={
                "verbose_name": "Flow Token",
                "verbose_name_plural": "Flow Tokens",
            },
            bases=("authentik_core.token",),
        ),
    ]
