aboutsummaryrefslogtreecommitdiffstats
path: root/ctrack/caf/migrations/0002_auto_20200403_1407.py
diff options
context:
space:
mode:
Diffstat (limited to 'ctrack/caf/migrations/0002_auto_20200403_1407.py')
-rw-r--r--ctrack/caf/migrations/0002_auto_20200403_1407.py58
1 files changed, 58 insertions, 0 deletions
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'),
+ ),
+ ]