You will find only what you bring in.
[redakcja.git] / src / catalogue / migrations / 0004_auto_20191002_1224.py
1 # This file is part of FNP-Redakcja, licensed under GNU Affero GPLv3 or later.
2 # Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.
3 #
4 from django.conf import settings
5 from django.db import migrations, models
6 import django.db.models.deletion
7
8
9 class Migration(migrations.Migration):
10
11     dependencies = [
12         ('catalogue', '0003_chunk__new_publishable'),
13     ]
14
15     operations = [
16         migrations.AlterField(
17             model_name='book',
18             name='parent',
19             field=models.ForeignKey(blank=True, editable=False, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='children', to='catalogue.Book', verbose_name='parent'),
20         ),
21         migrations.AlterField(
22             model_name='book',
23             name='project',
24             field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to='catalogue.Project'),
25         ),
26         migrations.AlterField(
27             model_name='chunk',
28             name='creator',
29             field=models.ForeignKey(blank=True, editable=False, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='created_chunk', to=settings.AUTH_USER_MODEL, verbose_name='creator'),
30         ),
31         migrations.AlterField(
32             model_name='chunk',
33             name='head',
34             field=models.ForeignKey(blank=True, default=None, editable=False, help_text="This document's current head.", null=True, on_delete=django.db.models.deletion.SET_NULL, to='catalogue.ChunkChange', verbose_name='head'),
35         ),
36         migrations.AlterField(
37             model_name='chunk',
38             name='user',
39             field=models.ForeignKey(blank=True, help_text='Work assignment.', null=True, on_delete=django.db.models.deletion.SET_NULL, to=settings.AUTH_USER_MODEL, verbose_name='user'),
40         ),
41         migrations.AlterField(
42             model_name='chunkchange',
43             name='author',
44             field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to=settings.AUTH_USER_MODEL, verbose_name='author'),
45         ),
46         migrations.AlterField(
47             model_name='chunkchange',
48             name='description',
49             field=models.TextField(blank=True, default='', verbose_name='description'),
50         ),
51         migrations.AlterField(
52             model_name='chunkchange',
53             name='merge_parent',
54             field=models.ForeignKey(blank=True, default=None, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='merge_children', to='catalogue.ChunkChange', verbose_name='merge parent'),
55         ),
56         migrations.AlterField(
57             model_name='chunkchange',
58             name='parent',
59             field=models.ForeignKey(blank=True, default=None, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='children', to='catalogue.ChunkChange', verbose_name='parent'),
60         ),
61         migrations.AlterField(
62             model_name='image',
63             name='creator',
64             field=models.ForeignKey(blank=True, editable=False, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='created_image', to=settings.AUTH_USER_MODEL, verbose_name='creator'),
65         ),
66         migrations.AlterField(
67             model_name='image',
68             name='head',
69             field=models.ForeignKey(blank=True, default=None, editable=False, help_text="This document's current head.", null=True, on_delete=django.db.models.deletion.SET_NULL, to='catalogue.ImageChange', verbose_name='head'),
70         ),
71         migrations.AlterField(
72             model_name='image',
73             name='image',
74             field=models.FileField(upload_to='catalogue/images', verbose_name='image'),
75         ),
76         migrations.AlterField(
77             model_name='image',
78             name='project',
79             field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to='catalogue.Project'),
80         ),
81         migrations.AlterField(
82             model_name='image',
83             name='user',
84             field=models.ForeignKey(blank=True, help_text='Work assignment.', null=True, on_delete=django.db.models.deletion.SET_NULL, to=settings.AUTH_USER_MODEL, verbose_name='user'),
85         ),
86         migrations.AlterField(
87             model_name='imagechange',
88             name='author',
89             field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to=settings.AUTH_USER_MODEL, verbose_name='author'),
90         ),
91         migrations.AlterField(
92             model_name='imagechange',
93             name='description',
94             field=models.TextField(blank=True, default='', verbose_name='description'),
95         ),
96         migrations.AlterField(
97             model_name='imagechange',
98             name='merge_parent',
99             field=models.ForeignKey(blank=True, default=None, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='merge_children', to='catalogue.ImageChange', verbose_name='merge parent'),
100         ),
101         migrations.AlterField(
102             model_name='imagechange',
103             name='parent',
104             field=models.ForeignKey(blank=True, default=None, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='children', to='catalogue.ImageChange', verbose_name='parent'),
105         ),
106     ]