# Generated by Django 5.2.8 on 2025-12-06 15:03

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


class Migration(migrations.Migration):

    initial = True

    dependencies = [
        ("contenttypes", "0002_remove_content_type_name"),
    ]

    operations = [
        migrations.CreateModel(
            name="SigilRoot",
            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)),
                ("prefix", models.CharField(max_length=50, unique=True)),
                (
                    "context_type",
                    models.CharField(
                        choices=[("config", "Configuration"), ("entity", "Entity")],
                        max_length=20,
                    ),
                ),
                (
                    "content_type",
                    models.ForeignKey(
                        blank=True,
                        null=True,
                        on_delete=django.db.models.deletion.CASCADE,
                        to="contenttypes.contenttype",
                    ),
                ),
            ],
            options={
                "verbose_name": "Sigil Root",
                "verbose_name_plural": "Sigil Roots",
                "db_table": "core_sigilroot",
            },
        ),
        migrations.CreateModel(
            name="CustomSigil",
            fields=[],
            options={
                "verbose_name": "Custom Sigil",
                "verbose_name_plural": "Custom Sigils",
                "proxy": True,
                "indexes": [],
                "constraints": [],
            },
            bases=("sigils.sigilroot",),
        ),
    ]
