summaryrefslogblamecommitdiffstats
path: root/engagements/migrations/0002_initial.py
blob: 1a55d23f5c505e6eecc5fa477e2d0064d530b7c7 (plain) (tree)











































                                                                                                                  
# 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),
        ),
    ]