From ecd2c19b265e3974707da0d9b8e260749dcf4a9f Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Wed, 21 Oct 2020 17:08:24 +0100 Subject: renamed a field in a model to date and look what I need! new migrations and fixed tests --- .../migrations/0002_cafassessment_caf.py | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 ctrack/assessments/migrations/0002_cafassessment_caf.py (limited to 'ctrack/assessments/migrations/0002_cafassessment_caf.py') diff --git a/ctrack/assessments/migrations/0002_cafassessment_caf.py b/ctrack/assessments/migrations/0002_cafassessment_caf.py new file mode 100644 index 0000000..3873b4b --- /dev/null +++ b/ctrack/assessments/migrations/0002_cafassessment_caf.py @@ -0,0 +1,22 @@ +# 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 = [ + ('caf', '0001_initial'), + ('assessments', '0001_initial'), + ] + + operations = [ + migrations.AddField( + model_name='cafassessment', + name='caf', + field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='caf.caf'), + ), + ] -- cgit v1.2.3