summaryrefslogtreecommitdiffstats
path: root/instruments/migrations/0005_sop.py
diff options
context:
space:
mode:
Diffstat (limited to 'instruments/migrations/0005_sop.py')
-rw-r--r--instruments/migrations/0005_sop.py39
1 files changed, 39 insertions, 0 deletions
diff --git a/instruments/migrations/0005_sop.py b/instruments/migrations/0005_sop.py
new file mode 100644
index 0000000..0a6cc73
--- /dev/null
+++ b/instruments/migrations/0005_sop.py
@@ -0,0 +1,39 @@
+# Generated by Django 5.0.4 on 2024-10-14 15:10
+
+from django.db import migrations, models
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ("instruments", "0004_alter_subinstrument_relative"),
+ ]
+
+ operations = [
+ migrations.CreateModel(
+ name="SOP",
+ fields=[
+ ("id", models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name="ID")),
+ ("date_created", models.DateTimeField(auto_now_add=True)),
+ ("last_modified", models.DateTimeField(auto_now=True)),
+ ("name", models.CharField(max_length=512)),
+ ("designation", models.CharField(max_length=5)),
+ ("sp_link", models.URLField(blank=True, max_length=1000, null=True)),
+ (
+ "draft_status",
+ models.CharField(
+ choices=[
+ ("Draft", "Draft"),
+ ("Final", "Final"),
+ ("Published", "Published"),
+ ("To be reviewed", "To be reviewed"),
+ ],
+ max_length=20,
+ ),
+ ),
+ ],
+ options={
+ "abstract": False,
+ },
+ ),
+ ]