aboutsummaryrefslogtreecommitdiffstats
path: root/ctrack/caf/migrations/0002_auto_20201021_1551.py
diff options
context:
space:
mode:
authorMatthew Lemon <lemon@matthewlemon.com>2020-10-21 17:08:24 +0100
committerMatthew Lemon <lemon@matthewlemon.com>2020-10-21 17:08:35 +0100
commitecd2c19b265e3974707da0d9b8e260749dcf4a9f (patch)
treea47b8e820e98e39fca7108c1f98bc500bf0c98d9 /ctrack/caf/migrations/0002_auto_20201021_1551.py
parent07c741c785761cfa0e9895e35ba7e1f1549ce676 (diff)
renamed a field in a model to date and look what I need! new migrations and fixed tests
Diffstat (limited to 'ctrack/caf/migrations/0002_auto_20201021_1551.py')
-rw-r--r--ctrack/caf/migrations/0002_auto_20201021_1551.py68
1 files changed, 68 insertions, 0 deletions
diff --git a/ctrack/caf/migrations/0002_auto_20201021_1551.py b/ctrack/caf/migrations/0002_auto_20201021_1551.py
new file mode 100644
index 0000000..bb9659e
--- /dev/null
+++ b/ctrack/caf/migrations/0002_auto_20201021_1551.py
@@ -0,0 +1,68 @@
+# Generated by Django 3.1.2 on 2020-10-21 15:51
+
+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='essentialservice',
+ name='organisation',
+ field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='organisations.organisation'),
+ ),
+ migrations.AddField(
+ model_name='essentialservice',
+ name='systems',
+ field=models.ManyToManyField(to='caf.ApplicableSystem'),
+ ),
+ 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='organisation',
+ field=models.ForeignKey(on_delete=models.SET(ctrack.caf.models.CAF.get_sentinel_org), to='organisations.organisation'),
+ ),
+ 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='systems',
+ field=models.ManyToManyField(to='caf.ApplicableSystem'),
+ ),
+ 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'),
+ ),
+ ]