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

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


class Migration(migrations.Migration):

    initial = True

    dependencies = [
        ("links", "0001_initial"),
        ("nodes", "0001_initial"),
        ("sites", "0001_initial"),
        migrations.swappable_dependency(settings.AUTH_USER_MODEL),
    ]

    operations = [
        migrations.AddField(
            model_name="reference",
            name="author",
            field=models.ForeignKey(
                blank=True,
                null=True,
                on_delete=django.db.models.deletion.CASCADE,
                related_name="references",
                to=settings.AUTH_USER_MODEL,
            ),
        ),
        migrations.AddField(
            model_name="reference",
            name="features",
            field=models.ManyToManyField(
                blank=True, related_name="references", to="nodes.nodefeature"
            ),
        ),
        migrations.AddField(
            model_name="reference",
            name="roles",
            field=models.ManyToManyField(
                blank=True, related_name="references", to="nodes.noderole"
            ),
        ),
        migrations.AddField(
            model_name="reference",
            name="sites",
            field=models.ManyToManyField(
                blank=True, related_name="references", to="sites.site"
            ),
        ),
        migrations.CreateModel(
            name="ExperienceReference",
            fields=[],
            options={
                "verbose_name": "Reference",
                "verbose_name_plural": "References",
                "proxy": True,
                "indexes": [],
                "constraints": [],
            },
            bases=("links.reference",),
        ),
    ]
