443e7771af5e6b771c69057f2dfa1980af60e0c8
[redakcja.git] / src / catalogue / migrations / 0004_auto_20191002_1224.py
1 # Generated by Django 2.0.13 on 2019-10-02 12:24
2
3 from django.conf import settings
4 from django.db import migrations, models
5 import django.db.models.deletion
6
7
8 class Migration(migrations.Migration):
9
10     dependencies = [
11         ('catalogue', '0003_chunk__new_publishable'),
12     ]
13
14     operations = [
15         migrations.AlterField(
16             model_name='book',
17             name='parent',
18             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'),
19         ),
20         migrations.AlterField(
21             model_name='book',
22             name='project',
23             field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to='catalogue.Project'),
24         ),
25         migrations.AlterField(
26             model_name='chunk',
27             name='creator',
28             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'),
29         ),
30         migrations.AlterField(
31             model_name='chunk',
32             name='head',
33             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'),
34         ),
35         migrations.AlterField(
36             model_name='chunk',
37             name='user',
38             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'),
39         ),
40         migrations.AlterField(
41             model_name='chunkchange',
42             name='author',
43             field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to=settings.AUTH_USER_MODEL, verbose_name='author'),
44         ),
45         migrations.AlterField(
46             model_name='chunkchange',
47             name='description',
48             field=models.TextField(blank=True, default='', verbose_name='description'),
49         ),
50         migrations.AlterField(
51             model_name='chunkchange',
52             name='merge_parent',
53             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'),
54         ),
55         migrations.AlterField(
56             model_name='chunkchange',
57             name='parent',
58             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'),
59         ),
60         migrations.AlterField(
61             model_name='image',
62             name='creator',
63             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'),
64         ),
65         migrations.AlterField(
66             model_name='image',
67             name='head',
68             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'),
69         ),
70         migrations.AlterField(
71             model_name='image',
72             name='image',
73             field=models.FileField(upload_to='catalogue/images', verbose_name='image'),
74         ),
75         migrations.AlterField(
76             model_name='image',
77             name='project',
78             field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to='catalogue.Project'),
79         ),
80         migrations.AlterField(
81             model_name='image',
82             name='user',
83             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'),
84         ),
85         migrations.AlterField(
86             model_name='imagechange',
87             name='author',
88             field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to=settings.AUTH_USER_MODEL, verbose_name='author'),
89         ),
90         migrations.AlterField(
91             model_name='imagechange',
92             name='description',
93             field=models.TextField(blank=True, default='', verbose_name='description'),
94         ),
95         migrations.AlterField(
96             model_name='imagechange',
97             name='merge_parent',
98             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'),
99         ),
100         migrations.AlterField(
101             model_name='imagechange',
102             name='parent',
103             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'),
104         ),
105     ]