592da397b88ef6e7f998ca624813b13c0bcd0237
[wolnelektury.git] / src / push / migrations / 0002_auto_20180830_1627.py
1 # This file is part of Wolnelektury, licensed under GNU Affero GPLv3 or later.
2 # Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.
3 #
4 from django.db import migrations, models
5
6
7 class Migration(migrations.Migration):
8
9     dependencies = [
10         ('push', '0001_initial'),
11     ]
12
13     operations = [
14         migrations.AlterModelOptions(
15             name='notification',
16             options={'ordering': ['-timestamp']},
17         ),
18         migrations.RemoveField(
19             model_name='notification',
20             name='image_url',
21         ),
22         migrations.AddField(
23             model_name='notification',
24             name='image',
25             field=models.FileField(upload_to='push/img', verbose_name='image', blank=True),
26         ),
27         migrations.AlterField(
28             model_name='notification',
29             name='body',
30             field=models.CharField(max_length=2048, verbose_name='content'),
31         ),
32         migrations.AlterField(
33             model_name='notification',
34             name='title',
35             field=models.CharField(max_length=256, verbose_name='title'),
36         ),
37     ]