aboutsummaryrefslogtreecommitdiffstats
path: root/ctrack/caf/migrations
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--ctrack/caf/migrations/0008_auto_20200225_0722.py46
-rw-r--r--ctrack/caf/migrations/0009_grading_type.py19
-rw-r--r--ctrack/caf/migrations/0010_auto_20200225_0747.py18
3 files changed, 83 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'),
+ ),
+ ]
diff --git a/ctrack/caf/migrations/0009_grading_type.py b/ctrack/caf/migrations/0009_grading_type.py
new file mode 100644
index 0000000..3c63218
--- /dev/null
+++ b/ctrack/caf/migrations/0009_grading_type.py
@@ -0,0 +1,19 @@
+# Generated by Django 2.2.9 on 2020-02-25 07:24
+
+from django.db import migrations, models
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('caf', '0008_auto_20200225_0722'),
+ ]
+
+ operations = [
+ migrations.AddField(
+ model_name='grading',
+ name='type',
+ field=models.CharField(choices=[('CONFIDENCE', 'Confidence'), ('QUALITY', 'Quality'), ('MISC', 'Misc')], default='MISC', help_text='Type of grading', max_length=20),
+ preserve_default=False,
+ ),
+ ]
diff --git a/ctrack/caf/migrations/0010_auto_20200225_0747.py b/ctrack/caf/migrations/0010_auto_20200225_0747.py
new file mode 100644
index 0000000..7104bb8
--- /dev/null
+++ b/ctrack/caf/migrations/0010_auto_20200225_0747.py
@@ -0,0 +1,18 @@
+# Generated by Django 2.2.9 on 2020-02-25 07:47
+
+from django.db import migrations, models
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('caf', '0009_grading_type'),
+ ]
+
+ operations = [
+ migrations.AlterField(
+ model_name='grading',
+ name='descriptor',
+ field=models.CharField(help_text='Q1, C1, etc', max_length=2),
+ ),
+ ]