diff options
author | Matthew Lemon <lemon@matthewlemon.com> | 2020-10-21 17:08:24 +0100 |
---|---|---|
committer | Matthew Lemon <lemon@matthewlemon.com> | 2020-10-21 17:08:35 +0100 |
commit | ecd2c19b265e3974707da0d9b8e260749dcf4a9f (patch) | |
tree | a47b8e820e98e39fca7108c1f98bc500bf0c98d9 /ctrack/assessments/migrations | |
parent | 07c741c785761cfa0e9895e35ba7e1f1549ce676 (diff) |
renamed a field in a model to date and look what I need! new migrations and fixed tests
Diffstat (limited to 'ctrack/assessments/migrations')
-rw-r--r-- | ctrack/assessments/migrations/0001_initial.py | 2 | ||||
-rw-r--r-- | ctrack/assessments/migrations/0002_cafassessment_caf.py (renamed from ctrack/assessments/migrations/0002_auto_20201014_1605.py) | 8 | ||||
-rw-r--r-- | ctrack/assessments/migrations/0003_cafassessment_completer.py | 22 |
3 files changed, 24 insertions, 8 deletions
diff --git a/ctrack/assessments/migrations/0001_initial.py b/ctrack/assessments/migrations/0001_initial.py index a9c6a43..41c364e 100644 --- a/ctrack/assessments/migrations/0001_initial.py +++ b/ctrack/assessments/migrations/0001_initial.py @@ -1,4 +1,4 @@ -# Generated by Django 3.1.2 on 2020-10-14 16:05 +# Generated by Django 3.1.2 on 2020-10-21 15:51 from django.db import migrations, models import django.db.models.deletion diff --git a/ctrack/assessments/migrations/0002_auto_20201014_1605.py b/ctrack/assessments/migrations/0002_cafassessment_caf.py index 3a20060..3873b4b 100644 --- a/ctrack/assessments/migrations/0002_auto_20201014_1605.py +++ b/ctrack/assessments/migrations/0002_cafassessment_caf.py @@ -1,4 +1,4 @@ -# Generated by Django 3.1.2 on 2020-10-14 16:05 +# Generated by Django 3.1.2 on 2020-10-21 15:51 from django.db import migrations, models import django.db.models.deletion @@ -11,7 +11,6 @@ class Migration(migrations.Migration): dependencies = [ ('caf', '0001_initial'), ('assessments', '0001_initial'), - ('organisations', '0001_initial'), ] operations = [ @@ -20,9 +19,4 @@ class Migration(migrations.Migration): name='caf', field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='caf.caf'), ), - migrations.AddField( - model_name='cafassessment', - name='completer', - field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='organisations.person'), - ), ] diff --git a/ctrack/assessments/migrations/0003_cafassessment_completer.py b/ctrack/assessments/migrations/0003_cafassessment_completer.py new file mode 100644 index 0000000..db2a960 --- /dev/null +++ b/ctrack/assessments/migrations/0003_cafassessment_completer.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 = [ + ('assessments', '0002_cafassessment_caf'), + ('organisations', '0001_initial'), + ] + + operations = [ + migrations.AddField( + model_name='cafassessment', + name='completer', + field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='organisations.person'), + ), + ] |