diff options
Diffstat (limited to '')
-rw-r--r-- | ctrack/assessments/migrations/0004_achievementlevel_igp.py | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/ctrack/assessments/migrations/0004_achievementlevel_igp.py b/ctrack/assessments/migrations/0004_achievementlevel_igp.py new file mode 100644 index 0000000..581a115 --- /dev/null +++ b/ctrack/assessments/migrations/0004_achievementlevel_igp.py @@ -0,0 +1,32 @@ +# Generated by Django 3.0.5 on 2020-05-12 14:00 + +from django.db import migrations, models +import django.db.models.deletion + + +class Migration(migrations.Migration): + + dependencies = [ + ('assessments', '0003_cafassessment_completer'), + ] + + 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)), + ('color_description', models.CharField(max_length=100)), + ('color_hex', models.CharField(max_length=8)), + ], + ), + 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')), + ], + ), + ] |