1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
|
# Generated by Django 3.1.2 on 2020-10-21 15:51
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='AchievementLevel',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('descriptor', models.CharField(max_length=50)),
('colour_description', models.CharField(max_length=100)),
('colour_hex', models.CharField(max_length=8)),
],
),
migrations.CreateModel(
name='CAFAssessment',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('comments', models.TextField(max_length=500)),
],
options={
'verbose_name': 'CAF Assessment',
},
),
migrations.CreateModel(
name='CAFContributingOutcome',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('designation', models.CharField(help_text='e.g. A1.a, B3.c, etc', max_length=5)),
('name', models.CharField(help_text='e.g. Board Direction', max_length=100)),
('description', models.TextField(max_length=1000)),
('order_id', models.IntegerField()),
],
options={
'verbose_name': 'CAF Contributing Outcome',
},
),
migrations.CreateModel(
name='CAFObjective',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('name', models.CharField(help_text='e.g. Managing Risk', max_length=100)),
('description', models.TextField(max_length=500)),
('order_id', models.IntegerField()),
],
options={
'verbose_name': 'CAF Objective',
},
),
migrations.CreateModel(
name='IGP',
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')),
],
options={
'verbose_name': 'IGP',
},
),
migrations.CreateModel(
name='CAFPrinciple',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('designation', models.CharField(help_text='e.g. A1, B3, etc', max_length=5)),
('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')),
],
options={
'verbose_name': 'CAF Principle',
},
),
migrations.AddField(
model_name='cafcontributingoutcome',
name='principle',
field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='assessments.cafprinciple'),
),
migrations.CreateModel(
name='CAFAssessmentOutcomeScore',
fields=[
('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')),
],
options={
'verbose_name': 'CAF Assessment Outcome Score',
},
),
]
|