1 # -*- coding: utf-8 -*-
2 from __future__ import unicode_literals
4 from django.db import migrations, models
5 import jsonfield.fields
8 class Migration(migrations.Migration):
14 migrations.CreateModel(
17 ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
18 ('prefix', models.CharField(max_length=10)),
19 ('suffix_from', models.IntegerField()),
20 ('suffix_to', models.IntegerField()),
21 ('ref_from', models.IntegerField()),
22 ('next_suffix', models.IntegerField()),
25 migrations.CreateModel(
28 ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
29 ('datestamp', models.DateField(auto_now=True)),
30 ('suffix', models.IntegerField()),
31 ('product_form', models.CharField(max_length=4)),
32 ('product_form_detail', models.CharField(max_length=8, blank=True)),
33 ('title', models.CharField(max_length=256)),
34 ('part_number', models.CharField(max_length=64, blank=True)),
35 ('contributors', jsonfield.fields.JSONField()),
36 ('edition_type', models.CharField(max_length=4)),
37 ('edition_number', models.IntegerField(default=1)),
38 ('language', models.CharField(max_length=4)),
39 ('imprint', models.CharField(max_length=256)),
40 ('publishing_date', models.DateField()),
41 ('isbn_pool', models.ForeignKey(to='isbn.ISBNPool')),