# Generated by Django 2.2.9 on 2020-02-21 15:20 import ctrack.register.models from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ('organisations', '0004_auto_20200220_1634'), migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('caf', '0002_auto_20200220_1434'), ] operations = [ migrations.CreateModel( name='EngagementType', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('descriptor', models.CharField(max_length=50)), ('enforcement_instrument', models.BooleanField(default=False)), ('regulation_reference', models.CharField(blank=True, max_length=100)), ('comments', models.TextField(max_length=1000)), ], ), migrations.CreateModel( name='EngagementEvent', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('date', models.DateTimeField()), ('end_date', models.DateTimeField(blank=True)), ('document_link', models.URLField(max_length=1000)), ('response_date_requested', models.DateField()), ('response_received', models.DateField()), ('participants', models.ManyToManyField(to='organisations.Person')), ('related_caf', models.ForeignKey(blank=True, on_delete=django.db.models.deletion.CASCADE, to='caf.CAF')), ('type', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='register.EngagementType')), ('user', models.ForeignKey(on_delete=models.SET(ctrack.register.models.EngagementEvent.get_sentinel_user), to=settings.AUTH_USER_MODEL)), ], ), ]