# Generated by Django 5.0.6 on 2024-05-18 13:44

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


class Migration(migrations.Migration):
    dependencies = [
        ("lnschema_core", "0049_rename_type_feature_dtype_and_more"),
    ]

    operations = [
        migrations.AddField(
            model_name="artifactfeatureset",
            name="feature_ref_is_semantic",
            field=models.BooleanField(default=None, null=True),
        ),
        migrations.AddField(
            model_name="artifactulabel",
            name="feature_ref_is_name",
            field=models.BooleanField(default=None, null=True),
        ),
        migrations.AddField(
            model_name="artifactulabel",
            name="ulabel_ref_is_name",
            field=models.BooleanField(default=None, null=True),
        ),
        migrations.AddField(
            model_name="collectionfeatureset",
            name="feature_ref_is_semantic",
            field=models.BooleanField(default=None, null=True),
        ),
        migrations.AddField(
            model_name="collectionulabel",
            name="feature_ref_is_name",
            field=models.BooleanField(default=None, null=True),
        ),
        migrations.AddField(
            model_name="collectionulabel",
            name="ulabel_ref_is_name",
            field=models.BooleanField(default=None, null=True),
        ),
        migrations.AlterField(
            model_name="artifactfeatureset",
            name="artifact",
            field=models.ForeignKey(
                on_delete=django.db.models.deletion.CASCADE,
                related_name="feature_set_links",
                to="lnschema_core.artifact",
            ),
        ),
        migrations.AlterField(
            model_name="artifactfeatureset",
            name="feature_set",
            field=models.ForeignKey(
                on_delete=django.db.models.deletion.PROTECT,
                related_name="artifact_links",
                to="lnschema_core.featureset",
            ),
        ),
        migrations.AlterField(
            model_name="artifactfeaturevalue",
            name="artifact",
            field=models.ForeignKey(
                on_delete=django.db.models.deletion.CASCADE,
                related_name="+",
                to="lnschema_core.artifact",
            ),
        ),
        migrations.AlterField(
            model_name="artifactfeaturevalue",
            name="feature_value",
            field=models.ForeignKey(
                on_delete=django.db.models.deletion.PROTECT,
                related_name="+",
                to="lnschema_core.featurevalue",
            ),
        ),
        migrations.AlterField(
            model_name="artifactulabel",
            name="artifact",
            field=models.ForeignKey(
                on_delete=django.db.models.deletion.CASCADE,
                related_name="ulabel_links",
                to="lnschema_core.artifact",
            ),
        ),
        migrations.AlterField(
            model_name="artifactulabel",
            name="feature",
            field=models.ForeignKey(
                default=None,
                null=True,
                on_delete=django.db.models.deletion.PROTECT,
                related_name="artifactulabel_links",
                to="lnschema_core.feature",
            ),
        ),
        migrations.AlterField(
            model_name="artifactulabel",
            name="ulabel",
            field=models.ForeignKey(
                on_delete=django.db.models.deletion.PROTECT,
                related_name="artifact_links",
                to="lnschema_core.ulabel",
            ),
        ),
        migrations.AlterField(
            model_name="collectionartifact",
            name="artifact",
            field=models.ForeignKey(
                on_delete=django.db.models.deletion.PROTECT,
                related_name="collection_links",
                to="lnschema_core.artifact",
            ),
        ),
        migrations.AlterField(
            model_name="collectionartifact",
            name="collection",
            field=models.ForeignKey(
                on_delete=django.db.models.deletion.CASCADE,
                related_name="artifact_links",
                to="lnschema_core.collection",
            ),
        ),
        migrations.AlterField(
            model_name="collectionfeatureset",
            name="collection",
            field=models.ForeignKey(
                on_delete=django.db.models.deletion.CASCADE,
                related_name="feature_set_links",
                to="lnschema_core.collection",
            ),
        ),
        migrations.AlterField(
            model_name="collectionfeatureset",
            name="feature_set",
            field=models.ForeignKey(
                on_delete=django.db.models.deletion.PROTECT,
                related_name="collection_links",
                to="lnschema_core.featureset",
            ),
        ),
        migrations.AlterField(
            model_name="collectionulabel",
            name="collection",
            field=models.ForeignKey(
                on_delete=django.db.models.deletion.CASCADE,
                related_name="ulabel_links",
                to="lnschema_core.collection",
            ),
        ),
        migrations.AlterField(
            model_name="collectionulabel",
            name="feature",
            field=models.ForeignKey(
                default=None,
                null=True,
                on_delete=django.db.models.deletion.PROTECT,
                related_name="collectionulabel_links",
                to="lnschema_core.feature",
            ),
        ),
        migrations.AlterField(
            model_name="collectionulabel",
            name="ulabel",
            field=models.ForeignKey(
                on_delete=django.db.models.deletion.PROTECT,
                related_name="collection_links",
                to="lnschema_core.ulabel",
            ),
        ),
        migrations.AlterField(
            model_name="runparamvalue",
            name="param_value",
            field=models.ForeignKey(
                on_delete=django.db.models.deletion.PROTECT,
                related_name="+",
                to="lnschema_core.paramvalue",
            ),
        ),
        migrations.AlterField(
            model_name="runparamvalue",
            name="run",
            field=models.ForeignKey(
                on_delete=django.db.models.deletion.CASCADE,
                related_name="+",
                to="lnschema_core.run",
            ),
        ),
    ]
