aboutsummaryrefslogtreecommitdiffstats
path: root/ctrack/caf/migrations/0008_auto_20200225_0722.py
blob: e1e0c95528c6d04e62ff8a6329483e1695a69aa7 (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
40
41
42
43
44
45
46
# Generated by Django 2.2.9 on 2020-02-25 07:22

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


class Migration(migrations.Migration):

    dependencies = [
        ('caf', '0007_auto_20200221_2122'),
    ]

    operations = [
        migrations.CreateModel(
            name='Grading',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('descriptor', models.CharField(max_length=2)),
                ('description', models.TextField(max_length=250)),
            ],
        ),
        migrations.RemoveField(
            model_name='caf',
            name='confidence_assessment',
        ),
        migrations.RemoveField(
            model_name='caf',
            name='triage_ranking',
        ),
        migrations.DeleteModel(
            name='ConfidenceAssessment',
        ),
        migrations.DeleteModel(
            name='Ranking',
        ),
        migrations.AddField(
            model_name='caf',
            name='confidence_grading',
            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='confidence_grading', to='caf.Grading'),
        ),
        migrations.AddField(
            model_name='caf',
            name='triage_grading',
            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='triage_grading', to='caf.Grading'),
        ),
    ]