diff --git a/arches/app/models/migrations/11725_add_blank_and_related_names.py b/arches/app/models/migrations/11725_add_blank_and_related_names.py new file mode 100644 index 0000000000..d90d66fb96 --- /dev/null +++ b/arches/app/models/migrations/11725_add_blank_and_related_names.py @@ -0,0 +1,70 @@ +# Generated by Django 5.2.dev20250109163842 on 2025-01-10 15:54 + +import django.db.models.deletion +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ("models", "11408_loadstaging_sortorder"), + ] + + operations = [ + migrations.AlterField( + model_name="nodegroup", + name="parentnodegroup", + field=models.ForeignKey( + blank=True, + db_column="parentnodegroupid", + null=True, + on_delete=django.db.models.deletion.CASCADE, + related_name="children", + related_query_name="child", + to="models.nodegroup", + ), + ), + migrations.AlterField( + model_name="resourceinstance", + name="graph", + field=models.ForeignKey( + blank=True, + db_column="graphid", + on_delete=django.db.models.deletion.CASCADE, + to="models.graphmodel", + ), + ), + migrations.AlterField( + model_name="resourceinstance", + name="resource_instance_lifecycle_state", + field=models.ForeignKey( + blank=True, + on_delete=django.db.models.deletion.PROTECT, + related_name="resource_instances", + to="models.resourceinstancelifecyclestate", + ), + ), + migrations.AlterField( + model_name="resourceinstance", + name="resourceinstanceid", + field=models.UUIDField(blank=True, primary_key=True, serialize=False), + ), + migrations.AlterField( + model_name="tilemodel", + name="parenttile", + field=models.ForeignKey( + blank=True, + db_column="parenttileid", + null=True, + on_delete=django.db.models.deletion.CASCADE, + related_name="children", + related_query_name="child", + to="models.tilemodel", + ), + ), + migrations.AlterField( + model_name="tilemodel", + name="tileid", + field=models.UUIDField(blank=True, primary_key=True, serialize=False), + ), + ]