2020-04-08 16:40:47 +00:00
|
|
|
# Generated by Django 3.0.3 on 2020-04-07 00:51
|
|
|
|
|
|
|
|
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', '0029_auto_20200403_1835'),
|
2020-04-08 16:40:47 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
operations = [
|
|
|
|
migrations.CreateModel(
|
|
|
|
name='Quotation',
|
|
|
|
fields=[
|
2020-09-21 15:10:37 +00:00
|
|
|
('status_ptr', models.OneToOneField(auto_created=True, on_delete=django.db.models.deletion.CASCADE, parent_link=True, primary_key=True, serialize=False, to='bookwyrm.Status')),
|
2020-04-08 16:40:47 +00:00
|
|
|
('quote', models.TextField()),
|
2020-09-21 15:10:37 +00:00
|
|
|
('book', models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to='bookwyrm.Edition')),
|
2020-04-08 16:40:47 +00:00
|
|
|
],
|
|
|
|
options={
|
|
|
|
'abstract': False,
|
|
|
|
},
|
2020-09-21 15:10:37 +00:00
|
|
|
bases=('bookwyrm.status',),
|
2020-04-08 16:40:47 +00:00
|
|
|
),
|
|
|
|
]
|