# Generated by Django 3.2.6 on 2021-08-14 12:50 import books.models from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Book', fields=[ ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('sort_order', models.IntegerField(blank=True, db_index=True)), ('title', models.CharField(max_length=200)), ('author_last_name', models.CharField(max_length=200)), ('author_first_name', models.CharField(max_length=200)), ('slug', models.CharField(max_length=50)), ('isbn', models.CharField(blank=True, max_length=100, null=True)), ('body_markdown', models.TextField(blank=True)), ('body_html', models.TextField(blank=True, null=True)), ('pages', models.CharField(blank=True, max_length=5, null=True)), ('amazon_link', models.CharField(blank=True, max_length=400, null=True)), ('bookshop_link', models.CharField(blank=True, max_length=400, null=True)), ('thriftbooks_link', models.CharField(blank=True, max_length=400, null=True)), ('image', models.FileField(blank=True, null=True, upload_to=books.models.get_upload_path)), ], options={ 'ordering': ['sort_order'], 'abstract': False, }, ), ]