summaryrefslogtreecommitdiffstats
path: root/instruments/migrations/0006_sop_author_lead.py
diff options
context:
space:
mode:
Diffstat (limited to 'instruments/migrations/0006_sop_author_lead.py')
-rw-r--r--instruments/migrations/0006_sop_author_lead.py24
1 files changed, 24 insertions, 0 deletions
diff --git a/instruments/migrations/0006_sop_author_lead.py b/instruments/migrations/0006_sop_author_lead.py
new file mode 100644
index 0000000..2f2528b
--- /dev/null
+++ b/instruments/migrations/0006_sop_author_lead.py
@@ -0,0 +1,24 @@
+# Generated by Django 5.0.4 on 2024-10-14 15:29
+
+import django.db.models.deletion
+from django.conf import settings
+from django.db import migrations, models
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ("instruments", "0005_sop"),
+ migrations.swappable_dependency(settings.AUTH_USER_MODEL),
+ ]
+
+ operations = [
+ migrations.AddField(
+ model_name="sop",
+ name="author_lead",
+ field=models.ForeignKey(
+ default=1, on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL
+ ),
+ preserve_default=False,
+ ),
+ ]