aboutsummaryrefslogtreecommitdiffstats
path: root/ctrack/assessments/migrations/0001_initial.py
diff options
context:
space:
mode:
authorMatthew Lemon <lemon@matthewlemon.com>2020-10-14 17:08:54 +0100
committerMatthew Lemon <lemon@matthewlemon.com>2020-10-14 17:08:54 +0100
commitbdcc5d9d79f355eac6c2717b0b364b847b9a8115 (patch)
treefded47125bf031632db498a937225c64e841a56c /ctrack/assessments/migrations/0001_initial.py
parent14fa59eee9ba35ad462b5b17229a09164f5d716d (diff)
reset a lot of migrations - all unit tests passing - now has response required fields for simple event
Diffstat (limited to 'ctrack/assessments/migrations/0001_initial.py')
-rw-r--r--ctrack/assessments/migrations/0001_initial.py18
1 files changed, 7 insertions, 11 deletions
diff --git a/ctrack/assessments/migrations/0001_initial.py b/ctrack/assessments/migrations/0001_initial.py
index 3789ad7..a9c6a43 100644
--- a/ctrack/assessments/migrations/0001_initial.py
+++ b/ctrack/assessments/migrations/0001_initial.py
@@ -1,4 +1,4 @@
-# Generated by Django 2.2.12 on 2020-08-27 09:40
+# Generated by Django 3.1.2 on 2020-10-14 16:05
from django.db import migrations, models
import django.db.models.deletion
@@ -9,8 +9,6 @@ class Migration(migrations.Migration):
initial = True
dependencies = [
- ('organisations', '0001_initial'),
- ('caf', '0001_initial'),
]
operations = [
@@ -28,8 +26,6 @@ class Migration(migrations.Migration):
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('comments', models.TextField(max_length=500)),
- ('caf', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='caf.CAF')),
- ('completer', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='organisations.Person')),
],
options={
'verbose_name': 'CAF Assessment',
@@ -65,8 +61,8 @@ class Migration(migrations.Migration):
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('descriptive_text', models.CharField(max_length=2000)),
- ('achievement_level', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='assessments.AchievementLevel')),
- ('contributing_outcome', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='assessments.CAFContributingOutcome')),
+ ('achievement_level', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='assessments.achievementlevel')),
+ ('contributing_outcome', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='assessments.cafcontributingoutcome')),
],
options={
'verbose_name': 'IGP',
@@ -80,7 +76,7 @@ class Migration(migrations.Migration):
('title', models.CharField(max_length=50)),
('description', models.TextField(max_length=1000)),
('order_id', models.IntegerField()),
- ('caf_objective', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='assessments.CAFObjective')),
+ ('caf_objective', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='assessments.cafobjective')),
],
options={
'verbose_name': 'CAF Principle',
@@ -89,7 +85,7 @@ class Migration(migrations.Migration):
migrations.AddField(
model_name='cafcontributingoutcome',
name='principle',
- field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='assessments.CAFPrinciple'),
+ field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='assessments.cafprinciple'),
),
migrations.CreateModel(
name='CAFAssessmentOutcomeScore',
@@ -97,8 +93,8 @@ class Migration(migrations.Migration):
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('assessment_score', models.CharField(choices=[('Achieved', 'Achieved'), ('Partially Achieved', 'Partially Achieved'), ('Not Achieved', 'Not Achieved')], help_text='Choose an assessment score', max_length=20, verbose_name='Assessment Score')),
('baseline_assessment_score', models.CharField(choices=[('Achieved', 'Achieved'), ('Partially Achieved', 'Partially Achieved'), ('Not Achieved', 'Not Achieved')], help_text='Choose an assessment score', max_length=20, verbose_name='Baseline Score')),
- ('caf_assessment', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='assessments.CAFAssessment', verbose_name='CAF Assessment')),
- ('caf_contributing_outcome', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='assessments.CAFContributingOutcome', verbose_name='CAF Contributing Outcome')),
+ ('caf_assessment', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='assessments.cafassessment', verbose_name='CAF Assessment')),
+ ('caf_contributing_outcome', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='assessments.cafcontributingoutcome', verbose_name='CAF Contributing Outcome')),
],
options={
'verbose_name': 'CAF Assessment Outcome Score',