Basic CRM reporting.
[wolnelektury.git] / src / messaging / migrations / 0005_auto_20200129_1309.py
1 # Generated by Django 2.2.9 on 2020-01-29 12:09
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         ('messaging', '0004_auto_20200129_1035'),
11     ]
12
13     operations = [
14         migrations.RemoveField(
15             model_name='emailsent',
16             name='email',
17         ),
18         migrations.RemoveField(
19             model_name='emailsent',
20             name='hash_value',
21         ),
22         migrations.AddField(
23             model_name='emailsent',
24             name='contact',
25             field=models.ForeignKey(default=0, on_delete=django.db.models.deletion.CASCADE, to='messaging.Contact'),
26             preserve_default=False,
27         ),
28         migrations.AlterField(
29             model_name='contact',
30             name='level',
31             field=models.PositiveSmallIntegerField(choices=[(10, 'Cold'), (20, 'Would-be donor'), (30, 'One-time donor'), (40, 'Recurring donor'), (50, 'Opt out')]),
32         ),
33     ]