diff options
Diffstat (limited to 'ctrack/caf/migrations')
-rw-r--r-- | ctrack/caf/migrations/0003_auto_20200221_2104.py | 33 | ||||
-rw-r--r-- | ctrack/caf/migrations/0004_auto_20200221_2106.py | 24 | ||||
-rw-r--r-- | ctrack/caf/migrations/0005_auto_20200221_2115.py | 39 | ||||
-rw-r--r-- | ctrack/caf/migrations/0006_auto_20200221_2120.py | 22 | ||||
-rw-r--r-- | ctrack/caf/migrations/0007_auto_20200221_2122.py | 18 |
5 files changed, 136 insertions, 0 deletions
diff --git a/ctrack/caf/migrations/0003_auto_20200221_2104.py b/ctrack/caf/migrations/0003_auto_20200221_2104.py new file mode 100644 index 0000000..4726a28 --- /dev/null +++ b/ctrack/caf/migrations/0003_auto_20200221_2104.py @@ -0,0 +1,33 @@ +# 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.EssentialService.get_sentinel_org), to='organisations.Organisation')), + ], + options={ + 'verbose_name': 'Essential Service', + }, + ), + ] diff --git a/ctrack/caf/migrations/0004_auto_20200221_2106.py b/ctrack/caf/migrations/0004_auto_20200221_2106.py new file mode 100644 index 0000000..84fa73e --- /dev/null +++ b/ctrack/caf/migrations/0004_auto_20200221_2106.py @@ -0,0 +1,24 @@ +# 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 new file mode 100644 index 0000000..8b94dcf --- /dev/null +++ b/ctrack/caf/migrations/0005_auto_20200221_2115.py @@ -0,0 +1,39 @@ +# 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 new file mode 100644 index 0000000..cd1daf5 --- /dev/null +++ b/ctrack/caf/migrations/0006_auto_20200221_2120.py @@ -0,0 +1,22 @@ +# 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 new file mode 100644 index 0000000..a89db00 --- /dev/null +++ b/ctrack/caf/migrations/0007_auto_20200221_2122.py @@ -0,0 +1,18 @@ +# 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), + ), + ] |