aboutsummaryrefslogtreecommitdiffstats
path: root/ctrack/caf/migrations/0001_initial.py
diff options
context:
space:
mode:
Diffstat (limited to 'ctrack/caf/migrations/0001_initial.py')
-rw-r--r--ctrack/caf/migrations/0001_initial.py41
1 files changed, 25 insertions, 16 deletions
diff --git a/ctrack/caf/migrations/0001_initial.py b/ctrack/caf/migrations/0001_initial.py
index fa19b64..5e184df 100644
--- a/ctrack/caf/migrations/0001_initial.py
+++ b/ctrack/caf/migrations/0001_initial.py
@@ -1,7 +1,6 @@
-# Generated by Django 2.2.9 on 2020-02-20 14:34
+# Generated by Django 2.2.9 on 2020-04-03 14:07
from django.db import migrations, models
-import django.db.models.deletion
class Migration(migrations.Migration):
@@ -13,42 +12,52 @@ class Migration(migrations.Migration):
operations = [
migrations.CreateModel(
- name='CAF',
+ name='ApplicableSystem',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
- ('essential_system', models.CharField(blank=True, max_length=255)),
+ ('name', models.CharField(max_length=256)),
+ ('description', models.TextField(max_length=1000)),
],
options={
- 'verbose_name': 'CAF',
+ 'verbose_name': 'Applicable System',
},
),
migrations.CreateModel(
- name='CAFFileStore',
+ name='CAF',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
- ('descriptor', models.CharField(max_length=100)),
- ('virtual_location', models.CharField(help_text='USB, Rosa, email, etc', max_length=100)),
- ('physical_location', models.CharField(blank=True, help_text='Cupboard, room, building, etc', max_length=100)),
+ ('version', models.CharField(blank=True, max_length=10, null=True)),
+ ('triage_review_date', models.DateField(blank=True, null=True)),
+ ('comments', models.TextField(max_length=1000)),
],
options={
- 'verbose_name': 'CAF File Store',
+ 'verbose_name': 'CAF',
},
),
migrations.CreateModel(
- name='Ranking',
+ name='DocumentFile',
+ fields=[
+ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
+ ('name', models.CharField(max_length=255)),
+ ('type', models.IntegerField(choices=[(1, 'Excel'), (2, 'Word'), (3, 'PDF'), (4, 'Hard Copy')], default=1)),
+ ],
+ ),
+ migrations.CreateModel(
+ name='FileStore',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('descriptor', models.CharField(max_length=100)),
- ('type', models.IntegerField(choices=[(1, 'Triage'), (2, 'First Assessment')], default=1)),
+ ('virtual_location', models.CharField(help_text='USB, Rosa, email, etc', max_length=100)),
+ ('physical_location', models.CharField(blank=True, help_text='Cupboard, room, building, etc', max_length=100)),
],
),
migrations.CreateModel(
- name='DocumentFile',
+ name='Grading',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
- ('name', models.CharField(max_length=255)),
- ('type', models.IntegerField(choices=[(1, 'Excel'), (2, 'Word'), (3, 'PDF'), (4, 'Hard Copy')], default=1)),
- ('file_store_location', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='caf.CAFFileStore')),
+ ('descriptor', models.CharField(help_text='Q1, C1, etc', max_length=2)),
+ ('description', models.TextField(max_length=250)),
+ ('type', models.CharField(choices=[('CONFIDENCE', 'Confidence'), ('QUALITY', 'Quality'), ('MISC', 'Misc')], help_text='Type of grading', max_length=20)),
],
),
]