-# -*- coding: utf-8 -*-
-from __future__ import unicode_literals
-
+# This file is part of Wolne Lektury, licensed under GNU Affero GPLv3 or later.
+# Copyright © Fundacja Wolne Lektury. See NOTICE for more information.
+#
from django.db import migrations, models
-import jsonfield.fields
+import django.db.models.deletion
class Migration(migrations.Migration):
('product_form_detail', models.CharField(max_length=8, blank=True)),
('title', models.CharField(max_length=256)),
('part_number', models.CharField(max_length=64, blank=True)),
- ('contributors', jsonfield.fields.JSONField()),
+ ('contributors', models.TextField()),
('edition_type', models.CharField(max_length=4)),
('edition_number', models.IntegerField(default=1)),
('language', models.CharField(max_length=4)),
('imprint', models.CharField(max_length=256)),
('publishing_date', models.DateField()),
- ('isbn_pool', models.ForeignKey(to='isbn.ISBNPool')),
+ ('isbn_pool', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='isbn.ISBNPool')),
],
),
]