diff options
Diffstat (limited to '')
-rw-r--r-- | ctrack/assessments/migrations/0004_achievementlevel_igp.py | 32 | ||||
-rw-r--r-- | ctrack/assessments/migrations/0005_auto_20200512_1438.py | 27 |
2 files changed, 59 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')), + ], + ), + ] diff --git a/ctrack/assessments/migrations/0005_auto_20200512_1438.py b/ctrack/assessments/migrations/0005_auto_20200512_1438.py new file mode 100644 index 0000000..31a741a --- /dev/null +++ b/ctrack/assessments/migrations/0005_auto_20200512_1438.py @@ -0,0 +1,27 @@ +# Generated by Django 3.0.5 on 2020-05-12 14:38 + +from django.db import migrations + + +class Migration(migrations.Migration): + + dependencies = [ + ('assessments', '0004_achievementlevel_igp'), + ] + + operations = [ + migrations.AlterModelOptions( + name='igp', + options={'verbose_name': 'IGP'}, + ), + migrations.RenameField( + model_name='achievementlevel', + old_name='color_description', + new_name='colour_description', + ), + migrations.RenameField( + model_name='achievementlevel', + old_name='color_hex', + new_name='colour_hex', + ), + ] |