2020-04-02 18:05:10 +00:00
|
|
|
# Generated by Django 3.0.3 on 2020-04-15 12:24
|
|
|
|
|
|
|
|
from django.conf import settings
|
|
|
|
from django.db import migrations, models
|
|
|
|
import django.db.models.deletion
|
|
|
|
|
|
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
|
|
|
|
dependencies = [
|
2020-09-21 15:10:37 +00:00
|
|
|
('bookwyrm', '0030_quotation'),
|
2020-04-02 18:05:10 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
operations = [
|
|
|
|
migrations.CreateModel(
|
|
|
|
name='ReadThrough',
|
|
|
|
fields=[
|
|
|
|
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
|
|
|
('created_date', models.DateTimeField(auto_now_add=True)),
|
|
|
|
('updated_date', models.DateTimeField(auto_now=True)),
|
|
|
|
('pages_read', models.IntegerField(blank=True, null=True)),
|
|
|
|
('start_date', models.DateTimeField(blank=True, null=True)),
|
|
|
|
('finish_date', models.DateTimeField(blank=True, null=True)),
|
2020-09-21 15:10:37 +00:00
|
|
|
('book', models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to='bookwyrm.Book')),
|
2020-04-02 18:05:10 +00:00
|
|
|
('user', models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to=settings.AUTH_USER_MODEL)),
|
|
|
|
],
|
|
|
|
options={
|
|
|
|
'abstract': False,
|
|
|
|
},
|
|
|
|
),
|
|
|
|
]
|