aboutsummaryrefslogtreecommitdiffstats
path: root/ctrack/caf/migrations/0008_auto_20200225_0722.py
diff options
context:
space:
mode:
authorMatthew Lemon <matt@matthewlemon.com>2020-02-25 08:19:35 +0000
committerMatthew Lemon <matt@matthewlemon.com>2020-02-25 08:19:35 +0000
commit9269f3c3798b677b4e46abcc5df5f869c9cb9164 (patch)
treeb35b4b6b0e7407e6056084b8e4ad19614e612478 /ctrack/caf/migrations/0008_auto_20200225_0722.py
parentfdf52fb15cb594f8717b852c33a292149a21b8b8 (diff)
populate now does gradings
Diffstat (limited to 'ctrack/caf/migrations/0008_auto_20200225_0722.py')
-rw-r--r--ctrack/caf/migrations/0008_auto_20200225_0722.py46
1 files changed, 46 insertions, 0 deletions
diff --git a/ctrack/caf/migrations/0008_auto_20200225_0722.py b/ctrack/caf/migrations/0008_auto_20200225_0722.py
new file mode 100644
index 0000000..e1e0c95
--- /dev/null
+++ b/ctrack/caf/migrations/0008_auto_20200225_0722.py
@@ -0,0 +1,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'),
+ ),
+ ]