Add missing constraint.
[wolnelektury.git] / src / pz / migrations / 0002_auto_20210928_2116.py
1 # Generated by Django 2.2.19 on 2021-09-28 19:16
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         ('pz', '0001_initial'),
11     ]
12
13     operations = [
14         migrations.AlterField(
15             model_name='directdebit',
16             name='acquisition_date',
17             field=models.DateField(blank=True, help_text='Date from the form', null=True, verbose_name='acquisition date'),
18         ),
19         migrations.AlterField(
20             model_name='directdebit',
21             name='agree_fundraising',
22             field=models.BooleanField(default=False, verbose_name='agree fundraising'),
23         ),
24         migrations.AlterField(
25             model_name='directdebit',
26             name='agree_newsletter',
27             field=models.BooleanField(default=False, verbose_name='agree newsletter'),
28         ),
29         migrations.AlterField(
30             model_name='directdebit',
31             name='amount',
32             field=models.IntegerField(blank=True, null=True, verbose_name='amount'),
33         ),
34         migrations.AlterField(
35             model_name='directdebit',
36             name='campaign',
37             field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.PROTECT, to='pz.Campaign', verbose_name='campaign'),
38         ),
39         migrations.AlterField(
40             model_name='directdebit',
41             name='fundraiser',
42             field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.PROTECT, to='pz.Fundraiser', verbose_name='fundraiser'),
43         ),
44     ]