From ac2a715c0bc38e8a03640c604b8ed082456b2109 Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Wed, 19 Feb 2020 21:22:21 +0000 Subject: new migrations and working through factory issue --- ctrack/caf/migrations/0002_auto_20200218_2221.py | 37 ++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 ctrack/caf/migrations/0002_auto_20200218_2221.py (limited to 'ctrack/caf/migrations/0002_auto_20200218_2221.py') diff --git a/ctrack/caf/migrations/0002_auto_20200218_2221.py b/ctrack/caf/migrations/0002_auto_20200218_2221.py new file mode 100644 index 0000000..629ce1f --- /dev/null +++ b/ctrack/caf/migrations/0002_auto_20200218_2221.py @@ -0,0 +1,37 @@ +# Generated by Django 2.2.9 on 2020-02-18 22:21 + +from django.db import migrations, models +import django.db.models.deletion + + +class Migration(migrations.Migration): + + initial = True + + dependencies = [ + ('organisations', '0001_initial'), + ('caf', '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'), + ), + ] -- cgit v1.2.3