aboutsummaryrefslogtreecommitdiffstats
path: root/ctrack/caf
diff options
context:
space:
mode:
authorMatthew Lemon <matt@matthewlemon.com>2020-08-26 15:00:09 +0100
committerMatthew Lemon <matt@matthewlemon.com>2020-08-26 15:00:09 +0100
commitbc556144060dcbbf1d89279b9c5f3d54fa271b6b (patch)
tree964615b7dbc2c4010e2814fef6c346547a16d99e /ctrack/caf
parent6f4ea7ef9018e2e1df396f16aa4080dcee3ef6df (diff)
first passing test - making essential service an object
Diffstat (limited to 'ctrack/caf')
-rw-r--r--ctrack/caf/migrations/0009_auto_20200826_1255.py30
1 files changed, 30 insertions, 0 deletions
diff --git a/ctrack/caf/migrations/0009_auto_20200826_1255.py b/ctrack/caf/migrations/0009_auto_20200826_1255.py
new file mode 100644
index 0000000..6611b59
--- /dev/null
+++ b/ctrack/caf/migrations/0009_auto_20200826_1255.py
@@ -0,0 +1,30 @@
+# Generated by Django 2.2.12 on 2020-08-26 12:55
+
+from django.db import migrations, models
+import django.db.models.deletion
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('organisations', '0011_auto_20200531_1441'),
+ ('caf', '0008_auto_20200814_1318'),
+ ]
+
+ operations = [
+ migrations.AlterField(
+ model_name='applicablesystem',
+ name='essential_service',
+ field=models.CharField(default='NA', help_text='Description of the essential service which the system suppports.', max_length=255, verbose_name='Essential Service'),
+ ),
+ 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.CharField(max_length=512)),
+ ('organisation', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='organisations.Organisation')),
+ ('systems', models.ManyToManyField(to='caf.ApplicableSystem')),
+ ],
+ ),
+ ]