From 0f951dcf029d4af284467543a3afdf5bf6581a20 Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Tue, 23 Apr 2024 11:16:38 +0100 Subject: switched to Django --- engagements/migrations/0002_initial.py | 44 ++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 engagements/migrations/0002_initial.py (limited to 'engagements/migrations/0002_initial.py') diff --git a/engagements/migrations/0002_initial.py b/engagements/migrations/0002_initial.py new file mode 100644 index 0000000..1a55d23 --- /dev/null +++ b/engagements/migrations/0002_initial.py @@ -0,0 +1,44 @@ +# Generated by Django 4.0.8 on 2022-11-02 09:00 + +from django.conf import settings +from django.db import migrations, models +import django.db.models.deletion + + +class Migration(migrations.Migration): + + initial = True + + dependencies = [ + ('instruments', '0001_initial'), + ('engagements', '0001_initial'), + migrations.swappable_dependency(settings.AUTH_USER_MODEL), + ] + + operations = [ + migrations.AddField( + model_name='engagementeffort', + name='officers', + field=models.ManyToManyField(to=settings.AUTH_USER_MODEL), + ), + migrations.AddField( + model_name='engagementeffort', + name='sub_instruments', + field=models.ManyToManyField(blank=True, related_name='effort', to='instruments.subinstrument'), + ), + migrations.AddField( + model_name='engagement', + name='engagement_type', + field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='engagements.engagementtype'), + ), + migrations.AddField( + model_name='engagement', + name='external_party', + field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='engagements.organisation'), + ), + migrations.AddField( + model_name='engagement', + name='officers', + field=models.ManyToManyField(to=settings.AUTH_USER_MODEL), + ), + ] -- cgit v1.2.3