Small refactor in messaging.
[wolnelektury.git] / src / annoy / migrations / 0005_auto_20191211_1617.py
1 # Generated by Django 2.2.6 on 2019-12-11 15:17
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         ('annoy', '0004_auto_20191211_1512'),
11     ]
12
13     operations = [
14         migrations.RemoveField(
15             model_name='dynamictextinsert',
16             name='text',
17         ),
18         migrations.RemoveField(
19             model_name='dynamictextinsert',
20             name='text_de',
21         ),
22         migrations.RemoveField(
23             model_name='dynamictextinsert',
24             name='text_en',
25         ),
26         migrations.RemoveField(
27             model_name='dynamictextinsert',
28             name='text_es',
29         ),
30         migrations.RemoveField(
31             model_name='dynamictextinsert',
32             name='text_fr',
33         ),
34         migrations.RemoveField(
35             model_name='dynamictextinsert',
36             name='text_it',
37         ),
38         migrations.RemoveField(
39             model_name='dynamictextinsert',
40             name='text_lt',
41         ),
42         migrations.RemoveField(
43             model_name='dynamictextinsert',
44             name='text_pl',
45         ),
46         migrations.RemoveField(
47             model_name='dynamictextinsert',
48             name='text_ru',
49         ),
50         migrations.RemoveField(
51             model_name='dynamictextinsert',
52             name='text_uk',
53         ),
54         migrations.AlterField(
55             model_name='banner',
56             name='action_label',
57             field=models.CharField(blank=True, help_text='', max_length=255),
58         ),
59         migrations.CreateModel(
60             name='DynamicTextInsertText',
61             fields=[
62                 ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
63                 ('background_color', models.CharField(blank=True, max_length=10)),
64                 ('text_color', models.CharField(blank=True, max_length=10)),
65                 ('text', models.TextField(verbose_name='text')),
66                 ('image', models.FileField(blank=True, upload_to='')),
67                 ('insert', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='annoy.DynamicTextInsert')),
68             ],
69         ),
70     ]