From 3591b1b87793a2734718390691bdde41af1f8bd0 Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Fri, 3 Apr 2020 15:19:08 +0100 Subject: big migration reset --- ctrack/caf/migrations/0002_auto_20200403_1407.py | 58 ++++++++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100644 ctrack/caf/migrations/0002_auto_20200403_1407.py (limited to 'ctrack/caf/migrations/0002_auto_20200403_1407.py') 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'), + ), + ] -- cgit v1.2.3