aboutsummaryrefslogtreecommitdiffstats
path: root/ctrack/caf
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--ctrack/caf/migrations/0001_initial.py41
-rw-r--r--ctrack/caf/migrations/0002_auto_20200220_1434.py37
-rw-r--r--ctrack/caf/migrations/0002_auto_20200403_1407.py58
-rw-r--r--ctrack/caf/migrations/0003_auto_20200221_2104.py33
-rw-r--r--ctrack/caf/migrations/0004_auto_20200221_2106.py24
-rw-r--r--ctrack/caf/migrations/0005_auto_20200221_2115.py39
-rw-r--r--ctrack/caf/migrations/0006_auto_20200221_2120.py22
-rw-r--r--ctrack/caf/migrations/0007_auto_20200221_2122.py18
-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
-rw-r--r--ctrack/caf/migrations/0011_auto_20200225_0830.py23
-rw-r--r--ctrack/caf/migrations/0012_auto_20200226_2202.py17
-rw-r--r--ctrack/caf/migrations/0013_auto_20200227_0827.py18
-rw-r--r--ctrack/caf/migrations/0014_auto_20200228_2215.py19
-rw-r--r--ctrack/caf/migrations/0015_auto_20200303_0727.py19
-rw-r--r--ctrack/caf/migrations/0016_auto_20200303_0825.py36
-rw-r--r--ctrack/caf/migrations/0017_auto_20200304_1925.py32
-rw-r--r--ctrack/caf/migrations/0018_remove_caf_owner.py17
19 files changed, 83 insertions, 453 deletions
diff --git a/ctrack/caf/migrations/0001_initial.py b/ctrack/caf/migrations/0001_initial.py
index fa19b64..5e184df 100644
--- a/ctrack/caf/migrations/0001_initial.py
+++ b/ctrack/caf/migrations/0001_initial.py
@@ -1,7 +1,6 @@
-# Generated by Django 2.2.9 on 2020-02-20 14:34
+# Generated by Django 2.2.9 on 2020-04-03 14:07
from django.db import migrations, models
-import django.db.models.deletion
class Migration(migrations.Migration):
@@ -13,42 +12,52 @@ class Migration(migrations.Migration):
operations = [
migrations.CreateModel(
- name='CAF',
+ name='ApplicableSystem',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
- ('essential_system', models.CharField(blank=True, max_length=255)),
+ ('name', models.CharField(max_length=256)),
+ ('description', models.TextField(max_length=1000)),
],
options={
- 'verbose_name': 'CAF',
+ 'verbose_name': 'Applicable System',
},
),
migrations.CreateModel(
- name='CAFFileStore',
+ name='CAF',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
- ('descriptor', models.CharField(max_length=100)),
- ('virtual_location', models.CharField(help_text='USB, Rosa, email, etc', max_length=100)),
- ('physical_location', models.CharField(blank=True, help_text='Cupboard, room, building, etc', max_length=100)),
+ ('version', models.CharField(blank=True, max_length=10, null=True)),
+ ('triage_review_date', models.DateField(blank=True, null=True)),
+ ('comments', models.TextField(max_length=1000)),
],
options={
- 'verbose_name': 'CAF File Store',
+ 'verbose_name': 'CAF',
},
),
migrations.CreateModel(
- name='Ranking',
+ name='DocumentFile',
+ fields=[
+ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
+ ('name', models.CharField(max_length=255)),
+ ('type', models.IntegerField(choices=[(1, 'Excel'), (2, 'Word'), (3, 'PDF'), (4, 'Hard Copy')], default=1)),
+ ],
+ ),
+ migrations.CreateModel(
+ name='FileStore',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('descriptor', models.CharField(max_length=100)),
- ('type', models.IntegerField(choices=[(1, 'Triage'), (2, 'First Assessment')], default=1)),
+ ('virtual_location', models.CharField(help_text='USB, Rosa, email, etc', max_length=100)),
+ ('physical_location', models.CharField(blank=True, help_text='Cupboard, room, building, etc', max_length=100)),
],
),
migrations.CreateModel(
- name='DocumentFile',
+ name='Grading',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
- ('name', models.CharField(max_length=255)),
- ('type', models.IntegerField(choices=[(1, 'Excel'), (2, 'Word'), (3, 'PDF'), (4, 'Hard Copy')], default=1)),
- ('file_store_location', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='caf.CAFFileStore')),
+ ('descriptor', models.CharField(help_text='Q1, C1, etc', max_length=2)),
+ ('description', models.TextField(max_length=250)),
+ ('type', models.CharField(choices=[('CONFIDENCE', 'Confidence'), ('QUALITY', 'Quality'), ('MISC', 'Misc')], help_text='Type of grading', max_length=20)),
],
),
]
diff --git a/ctrack/caf/migrations/0002_auto_20200220_1434.py b/ctrack/caf/migrations/0002_auto_20200220_1434.py
deleted file mode 100644
index 9ff54da..0000000
--- a/ctrack/caf/migrations/0002_auto_20200220_1434.py
+++ /dev/null
@@ -1,37 +0,0 @@
-# Generated by Django 2.2.9 on 2020-02-20 14:34
-
-from django.db import migrations, models
-import django.db.models.deletion
-
-
-class Migration(migrations.Migration):
-
- initial = True
-
- dependencies = [
- ('caf', '0001_initial'),
- ('organisations', '0001_initial'),
- ]
-
- operations = [
- migrations.AddField(
- model_name='caffilestore',
- name='physical_location_organisation',
- field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='organisations.Organisation'),
- ),
- migrations.AddField(
- model_name='caf',
- name='file',
- field=models.ForeignKey(blank=True, on_delete=django.db.models.deletion.CASCADE, to='caf.DocumentFile'),
- ),
- migrations.AddField(
- model_name='caf',
- name='owner',
- field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='organisations.Organisation'),
- ),
- migrations.AddField(
- model_name='caf',
- name='triage_ranking',
- field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='caf.Ranking'),
- ),
- ]
diff --git a/ctrack/caf/migrations/0002_auto_20200403_1407.py b/ctrack/caf/migrations/0002_auto_20200403_1407.py
new file mode 100644
index 0000000..e5963d5
--- /dev/null
+++ b/ctrack/caf/migrations/0002_auto_20200403_1407.py
@@ -0,0 +1,58 @@
+# Generated by Django 2.2.9 on 2020-04-03 14:07
+
+import ctrack.caf.models
+from django.db import migrations, models
+import django.db.models.deletion
+
+
+class Migration(migrations.Migration):
+
+ initial = True
+
+ dependencies = [
+ ('caf', '0001_initial'),
+ ('organisations', '0001_initial'),
+ ]
+
+ operations = [
+ migrations.AddField(
+ model_name='filestore',
+ name='physical_location_organisation',
+ field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='organisations.Organisation'),
+ ),
+ migrations.AddField(
+ model_name='documentfile',
+ name='file_store_location',
+ field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='caf.FileStore'),
+ ),
+ 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='file',
+ field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='caf.DocumentFile'),
+ ),
+ migrations.AddField(
+ model_name='caf',
+ name='quality_grading',
+ field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='quality_grading', to='caf.Grading'),
+ ),
+ migrations.AddField(
+ model_name='caf',
+ name='triage_review_inspector',
+ field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='organisations.Person'),
+ ),
+ migrations.AddField(
+ model_name='applicablesystem',
+ name='caf',
+ field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='applicable_systems', to='caf.CAF'),
+ ),
+ migrations.AddField(
+ model_name='applicablesystem',
+ name='organisation',
+ field=models.ForeignKey(on_delete=models.SET(ctrack.caf.models.ApplicableSystem.get_sentinel_org), to='organisations.Organisation'),
+ ),
+ ]
diff --git a/ctrack/caf/migrations/0003_auto_20200221_2104.py b/ctrack/caf/migrations/0003_auto_20200221_2104.py
deleted file mode 100644
index 9f5d6ae..0000000
--- a/ctrack/caf/migrations/0003_auto_20200221_2104.py
+++ /dev/null
@@ -1,33 +0,0 @@
-# Generated by Django 2.2.9 on 2020-02-21 21:04
-
-import ctrack.caf.models
-from django.db import migrations, models
-import django.db.models.deletion
-
-
-class Migration(migrations.Migration):
-
- dependencies = [
- ('organisations', '0004_auto_20200220_1634'),
- ('caf', '0002_auto_20200220_1434'),
- ]
-
- operations = [
- migrations.RemoveField(
- model_name='caf',
- name='essential_system',
- ),
- migrations.CreateModel(
- name='EssentialService',
- fields=[
- ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
- ('name', models.CharField(max_length=256)),
- ('description', models.TextField(max_length=1000)),
- ('caf', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='caf.CAF')),
- ('organisation', models.ForeignKey(on_delete=models.SET(ctrack.caf.models.ApplicableSystem.get_sentinel_org), to='organisations.Organisation')),
- ],
- options={
- 'verbose_name': 'ApplicableSystem',
- },
- ),
- ]
diff --git a/ctrack/caf/migrations/0004_auto_20200221_2106.py b/ctrack/caf/migrations/0004_auto_20200221_2106.py
deleted file mode 100644
index 84fa73e..0000000
--- a/ctrack/caf/migrations/0004_auto_20200221_2106.py
+++ /dev/null
@@ -1,24 +0,0 @@
-# Generated by Django 2.2.9 on 2020-02-21 21:06
-
-from django.db import migrations, models
-import django.db.models.deletion
-
-
-class Migration(migrations.Migration):
-
- dependencies = [
- ('caf', '0003_auto_20200221_2104'),
- ]
-
- operations = [
- migrations.AlterField(
- model_name='caf',
- name='file',
- field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='caf.DocumentFile'),
- ),
- migrations.AlterField(
- model_name='caf',
- name='triage_ranking',
- field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='caf.Ranking'),
- ),
- ]
diff --git a/ctrack/caf/migrations/0005_auto_20200221_2115.py b/ctrack/caf/migrations/0005_auto_20200221_2115.py
deleted file mode 100644
index 8b94dcf..0000000
--- a/ctrack/caf/migrations/0005_auto_20200221_2115.py
+++ /dev/null
@@ -1,39 +0,0 @@
-# Generated by Django 2.2.9 on 2020-02-21 21:15
-
-from django.db import migrations, models
-import django.db.models.deletion
-
-
-class Migration(migrations.Migration):
-
- dependencies = [
- ('caf', '0004_auto_20200221_2106'),
- ]
-
- operations = [
- migrations.CreateModel(
- name='ConfidenceAssessment',
- fields=[
- ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
- ('descriptor', models.CharField(max_length=100)),
- ('description', models.TextField(max_length=250)),
- ('type', models.IntegerField(choices=[(1, 'Good'), (2, 'Bad'), (3, 'OK')], default=1)),
- ],
- ),
- migrations.AddField(
- model_name='ranking',
- name='description',
- field=models.TextField(default='NA', max_length=250),
- preserve_default=False,
- ),
- migrations.AlterField(
- model_name='ranking',
- name='type',
- field=models.IntegerField(choices=[(1, 'Triage'), (2, 'First Assessment'), (3, 'Validation')], default=1),
- ),
- migrations.AddField(
- model_name='caf',
- name='confidence_assessment',
- field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='caf.ConfidenceAssessment'),
- ),
- ]
diff --git a/ctrack/caf/migrations/0006_auto_20200221_2120.py b/ctrack/caf/migrations/0006_auto_20200221_2120.py
deleted file mode 100644
index cd1daf5..0000000
--- a/ctrack/caf/migrations/0006_auto_20200221_2120.py
+++ /dev/null
@@ -1,22 +0,0 @@
-# Generated by Django 2.2.9 on 2020-02-21 21:20
-
-from django.db import migrations, models
-
-
-class Migration(migrations.Migration):
-
- dependencies = [
- ('caf', '0005_auto_20200221_2115'),
- ]
-
- operations = [
- migrations.RemoveField(
- model_name='confidenceassessment',
- name='type',
- ),
- migrations.AlterField(
- model_name='confidenceassessment',
- name='descriptor',
- field=models.IntegerField(choices=[(1, 'Good'), (2, 'Bad'), (3, 'OK')], default=1),
- ),
- ]
diff --git a/ctrack/caf/migrations/0007_auto_20200221_2122.py b/ctrack/caf/migrations/0007_auto_20200221_2122.py
deleted file mode 100644
index a89db00..0000000
--- a/ctrack/caf/migrations/0007_auto_20200221_2122.py
+++ /dev/null
@@ -1,18 +0,0 @@
-# Generated by Django 2.2.9 on 2020-02-21 21:22
-
-from django.db import migrations, models
-
-
-class Migration(migrations.Migration):
-
- dependencies = [
- ('caf', '0006_auto_20200221_2120'),
- ]
-
- operations = [
- migrations.AlterField(
- model_name='confidenceassessment',
- name='descriptor',
- field=models.CharField(choices=[('GOOD', 'Good'), ('BAD', 'Bad'), ('OK', 'OK')], default=1, max_length=10),
- ),
- ]
diff --git a/ctrack/caf/migrations/0008_auto_20200225_0722.py b/ctrack/caf/migrations/0008_auto_20200225_0722.py
deleted file mode 100644
index e1e0c95..0000000
--- a/ctrack/caf/migrations/0008_auto_20200225_0722.py
+++ /dev/null
@@ -1,46 +0,0 @@
-# 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
deleted file mode 100644
index 3c63218..0000000
--- a/ctrack/caf/migrations/0009_grading_type.py
+++ /dev/null
@@ -1,19 +0,0 @@
-# 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
deleted file mode 100644
index 7104bb8..0000000
--- a/ctrack/caf/migrations/0010_auto_20200225_0747.py
+++ /dev/null
@@ -1,18 +0,0 @@
-# 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),
- ),
- ]
diff --git a/ctrack/caf/migrations/0011_auto_20200225_0830.py b/ctrack/caf/migrations/0011_auto_20200225_0830.py
deleted file mode 100644
index 826b267..0000000
--- a/ctrack/caf/migrations/0011_auto_20200225_0830.py
+++ /dev/null
@@ -1,23 +0,0 @@
-# Generated by Django 2.2.9 on 2020-02-25 08:30
-
-from django.db import migrations, models
-import django.db.models.deletion
-
-
-class Migration(migrations.Migration):
-
- dependencies = [
- ('caf', '0010_auto_20200225_0747'),
- ]
-
- operations = [
- migrations.RemoveField(
- model_name='caf',
- name='triage_grading',
- ),
- migrations.AddField(
- model_name='caf',
- name='quality_grading',
- field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='quality_grading', to='caf.Grading'),
- ),
- ]
diff --git a/ctrack/caf/migrations/0012_auto_20200226_2202.py b/ctrack/caf/migrations/0012_auto_20200226_2202.py
deleted file mode 100644
index 0dbfd17..0000000
--- a/ctrack/caf/migrations/0012_auto_20200226_2202.py
+++ /dev/null
@@ -1,17 +0,0 @@
-# Generated by Django 2.2.9 on 2020-02-26 22:02
-
-from django.db import migrations
-
-
-class Migration(migrations.Migration):
-
- dependencies = [
- ('caf', '0011_auto_20200225_0830'),
- ]
-
- operations = [
- migrations.AlterModelOptions(
- name='caffilestore',
- options={},
- ),
- ]
diff --git a/ctrack/caf/migrations/0013_auto_20200227_0827.py b/ctrack/caf/migrations/0013_auto_20200227_0827.py
deleted file mode 100644
index 6aab6b4..0000000
--- a/ctrack/caf/migrations/0013_auto_20200227_0827.py
+++ /dev/null
@@ -1,18 +0,0 @@
-# Generated by Django 2.2.9 on 2020-02-27 08:27
-
-from django.db import migrations
-
-
-class Migration(migrations.Migration):
-
- dependencies = [
- ('organisations', '0004_auto_20200220_1634'),
- ('caf', '0012_auto_20200226_2202'),
- ]
-
- operations = [
- migrations.RenameModel(
- old_name='CAFFileStore',
- new_name='FileStore',
- ),
- ]
diff --git a/ctrack/caf/migrations/0014_auto_20200228_2215.py b/ctrack/caf/migrations/0014_auto_20200228_2215.py
deleted file mode 100644
index f1d8c7a..0000000
--- a/ctrack/caf/migrations/0014_auto_20200228_2215.py
+++ /dev/null
@@ -1,19 +0,0 @@
-# Generated by Django 2.2.9 on 2020-02-28 22:15
-
-from django.db import migrations, models
-import django.db.models.deletion
-
-
-class Migration(migrations.Migration):
-
- dependencies = [
- ('caf', '0013_auto_20200227_0827'),
- ]
-
- operations = [
- migrations.AlterField(
- model_name='essentialservice',
- name='caf',
- field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='caf.CAF'),
- ),
- ]
diff --git a/ctrack/caf/migrations/0015_auto_20200303_0727.py b/ctrack/caf/migrations/0015_auto_20200303_0727.py
deleted file mode 100644
index d0f3e8a..0000000
--- a/ctrack/caf/migrations/0015_auto_20200303_0727.py
+++ /dev/null
@@ -1,19 +0,0 @@
-# Generated by Django 2.2.9 on 2020-03-03 07:27
-
-from django.db import migrations, models
-import django.db.models.deletion
-
-
-class Migration(migrations.Migration):
-
- dependencies = [
- ('caf', '0014_auto_20200228_2215'),
- ]
-
- operations = [
- migrations.AlterField(
- model_name='essentialservice',
- name='caf',
- field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='essential_services', to='caf.CAF'),
- ),
- ]
diff --git a/ctrack/caf/migrations/0016_auto_20200303_0825.py b/ctrack/caf/migrations/0016_auto_20200303_0825.py
deleted file mode 100644
index 49c6c4e..0000000
--- a/ctrack/caf/migrations/0016_auto_20200303_0825.py
+++ /dev/null
@@ -1,36 +0,0 @@
-# Generated by Django 2.2.9 on 2020-03-03 08:25
-
-from django.db import migrations, models
-import django.db.models.deletion
-
-
-class Migration(migrations.Migration):
-
- dependencies = [
- ('organisations', '0005_auto_20200303_0727'),
- ('caf', '0015_auto_20200303_0727'),
- ]
-
- operations = [
- migrations.AddField(
- model_name='caf',
- name='comments',
- field=models.TextField(default='No comment', max_length=1000),
- preserve_default=False,
- ),
- migrations.AddField(
- model_name='caf',
- name='triage_review_date',
- field=models.DateField(blank=True, null=True),
- ),
- migrations.AddField(
- model_name='caf',
- name='triage_review_inspector',
- field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='organisations.Person'),
- ),
- migrations.AddField(
- model_name='caf',
- name='version',
- field=models.CharField(blank=True, max_length=10, null=True),
- ),
- ]
diff --git a/ctrack/caf/migrations/0017_auto_20200304_1925.py b/ctrack/caf/migrations/0017_auto_20200304_1925.py
deleted file mode 100644
index 198558a..0000000
--- a/ctrack/caf/migrations/0017_auto_20200304_1925.py
+++ /dev/null
@@ -1,32 +0,0 @@
-# Generated by Django 2.2.9 on 2020-03-04 19:25
-
-import ctrack.caf.models
-from django.db import migrations, models
-import django.db.models.deletion
-
-
-class Migration(migrations.Migration):
-
- dependencies = [
- ('organisations', '0005_auto_20200303_0727'),
- ('caf', '0016_auto_20200303_0825'),
- ]
-
- operations = [
- migrations.CreateModel(
- name='ApplicableSystem',
- fields=[
- ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
- ('name', models.CharField(max_length=256)),
- ('description', models.TextField(max_length=1000)),
- ('caf', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='applicable_systems', to='caf.CAF')),
- ('organisation', models.ForeignKey(on_delete=models.SET(ctrack.caf.models.ApplicableSystem.get_sentinel_org), to='organisations.Organisation')),
- ],
- options={
- 'verbose_name': 'Applicable System',
- },
- ),
- migrations.DeleteModel(
- name='EssentialService',
- ),
- ]
diff --git a/ctrack/caf/migrations/0018_remove_caf_owner.py b/ctrack/caf/migrations/0018_remove_caf_owner.py
deleted file mode 100644
index 02d28c7..0000000
--- a/ctrack/caf/migrations/0018_remove_caf_owner.py
+++ /dev/null
@@ -1,17 +0,0 @@
-# Generated by Django 2.2.9 on 2020-03-04 19:47
-
-from django.db import migrations
-
-
-class Migration(migrations.Migration):
-
- dependencies = [
- ('caf', '0017_auto_20200304_1925'),
- ]
-
- operations = [
- migrations.RemoveField(
- model_name='caf',
- name='owner',
- ),
- ]