|
| 1 | +# Generated by Django 2.2.28 on 2022-07-19 11:06 |
| 2 | + |
| 3 | +from django.db import migrations, models |
| 4 | +import django.db.models.deletion |
| 5 | + |
| 6 | + |
| 7 | +class Migration(migrations.Migration): |
| 8 | + |
| 9 | + dependencies = [ |
| 10 | + ('api', '0156_appealfilter_comment'), |
| 11 | + ('eap', '0004_auto_20220715_1301'), |
| 12 | + ] |
| 13 | + |
| 14 | + operations = [ |
| 15 | + migrations.CreateModel( |
| 16 | + name='EAPActivation', |
| 17 | + fields=[ |
| 18 | + ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), |
| 19 | + ('title', models.CharField(blank=True, max_length=250, null=True)), |
| 20 | + ('trigger_met_date', models.DateTimeField(verbose_name='Date the trigger was met')), |
| 21 | + ('description', models.TextField(verbose_name='Description of EAP Activation')), |
| 22 | + ('originator_name', models.CharField(blank=True, max_length=250, null=True, verbose_name='Originator name')), |
| 23 | + ('originator_title', models.CharField(blank=True, max_length=250, null=True, verbose_name='Originator title')), |
| 24 | + ('originator_email', models.CharField(blank=True, max_length=250, null=True, verbose_name='Originator email')), |
| 25 | + ('nsc_name_operational', models.CharField(blank=True, max_length=250, null=True, verbose_name='National Society Contact (Operational)')), |
| 26 | + ('nsc_title_operational', models.CharField(blank=True, max_length=250, null=True, verbose_name='National Society Contact (Operational)')), |
| 27 | + ('nsc_email_operational', models.CharField(blank=True, max_length=250, null=True, verbose_name='National Society Contact (Operational)')), |
| 28 | + ('nsc_name_secretary', models.CharField(blank=True, max_length=250, null=True, verbose_name='National Society Contact (Secretary)')), |
| 29 | + ('nsc_title_secretary', models.CharField(blank=True, max_length=250, null=True, verbose_name='National Society Contact (Secretary)')), |
| 30 | + ('nsc_email_secretary', models.CharField(blank=True, max_length=250, null=True, verbose_name='National Society Contact (Secretary)')), |
| 31 | + ('ifrc_focal_name', models.CharField(blank=True, max_length=250, null=True, verbose_name='IFRC Focal Point Name')), |
| 32 | + ('ifrc_focal_title', models.CharField(blank=True, max_length=250, null=True, verbose_name='IFRC Focal Point Title')), |
| 33 | + ('ifrc_focal_email', models.CharField(blank=True, max_length=250, null=True, verbose_name='IFRC Focal Point Email')), |
| 34 | + ('document', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='eap_activation_document', to='eap.EAPDocument', verbose_name='EAP Activation Documents')), |
| 35 | + ('eap', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='eap_activation', to='eap.EAP', verbose_name='eap')), |
| 36 | + ('field_report', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='field_report_eap_activation', to='api.FieldReport', verbose_name='field report')), |
| 37 | + ], |
| 38 | + ), |
| 39 | + ] |
0 commit comments