Woblink
[redakcja.git] / src / depot / migrations / 0001_initial.py
1 # Generated by Django 3.1.13 on 2021-12-17 15:36
2
3 from django.db import migrations, models
4
5
6 class Migration(migrations.Migration):
7
8     initial = True
9
10     dependencies = [
11         ('documents', '0006_auto_20210706_0130'),
12     ]
13
14     operations = [
15         migrations.CreateModel(
16             name='Package',
17             fields=[
18                 ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
19                 ('created_at', models.DateTimeField(auto_now_add=True)),
20                 ('placed_at', models.DateTimeField(blank=True, null=True)),
21                 ('finished_at', models.DateTimeField(blank=True, null=True)),
22                 ('definition_json', models.TextField(blank=True)),
23                 ('status_json', models.TextField(blank=True)),
24                 ('logo', models.FileField(blank=True, upload_to='depot/logo')),
25                 ('file', models.FileField(blank=True, upload_to='depot/package/')),
26                 ('books', models.ManyToManyField(to='documents.Book')),
27             ],
28         ),
29     ]