# Generated by Django 5.2.9 on 2025-12-15 19:04

from django.db import migrations, models


class Migration(migrations.Migration):

    initial = True

    dependencies = []

    operations = [
        migrations.CreateModel(
            name="Flow",
            fields=[
                (
                    "id",
                    models.BigAutoField(
                        auto_created=True,
                        primary_key=True,
                        serialize=False,
                        verbose_name="ID",
                    ),
                ),
                ("is_seed_data", models.BooleanField(default=False, editable=False)),
                ("is_user_data", models.BooleanField(default=False, editable=False)),
                ("is_deleted", models.BooleanField(default=False, editable=False)),
                (
                    "name",
                    models.CharField(
                        help_text="Human-friendly identifier for the Mermaid flow.",
                        max_length=255,
                        unique=True,
                        verbose_name="Name",
                    ),
                ),
                (
                    "description",
                    models.TextField(
                        blank=True,
                        default="",
                        help_text="Optional context explaining when to use the flow.",
                        verbose_name="Description",
                    ),
                ),
                (
                    "definition",
                    models.TextField(
                        help_text="Mermaid syntax that renders the flow diagram.",
                        verbose_name="Definition",
                    ),
                ),
            ],
            options={
                "verbose_name": "Mermaid flow",
                "verbose_name_plural": "Mermaid flows",
                "db_table": "mermaid_flow",
                "ordering": ("name",),
            },
        ),
    ]
