summaryrefslogtreecommitdiffstats
path: root/instruments/migrations/0005_sop.py
blob: 0a6cc730e4c00bedbd06127618a229e7e5e5c1f3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
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,
            },
        ),
    ]