2020-12-21 20:17:18 +00:00
|
|
|
# Generated by Django 3.0.7 on 2020-12-21 20:14
|
|
|
|
|
|
|
|
import bookwyrm.models.fields
|
|
|
|
from django.conf import settings
|
|
|
|
from django.db import migrations, models
|
|
|
|
import django.db.models.deletion
|
|
|
|
|
|
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
|
|
|
|
dependencies = [
|
2021-03-08 16:49:10 +00:00
|
|
|
("bookwyrm", "0028_remove_book_author_text"),
|
2020-12-21 20:17:18 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
operations = [
|
|
|
|
migrations.RemoveField(
|
2021-03-08 16:49:10 +00:00
|
|
|
model_name="author",
|
|
|
|
name="last_sync_date",
|
2020-12-21 20:17:18 +00:00
|
|
|
),
|
|
|
|
migrations.RemoveField(
|
2021-03-08 16:49:10 +00:00
|
|
|
model_name="author",
|
|
|
|
name="sync",
|
2020-12-21 20:17:18 +00:00
|
|
|
),
|
|
|
|
migrations.RemoveField(
|
2021-03-08 16:49:10 +00:00
|
|
|
model_name="book",
|
|
|
|
name="last_sync_date",
|
2020-12-21 20:17:18 +00:00
|
|
|
),
|
|
|
|
migrations.RemoveField(
|
2021-03-08 16:49:10 +00:00
|
|
|
model_name="book",
|
|
|
|
name="sync",
|
2020-12-21 20:17:18 +00:00
|
|
|
),
|
|
|
|
migrations.RemoveField(
|
2021-03-08 16:49:10 +00:00
|
|
|
model_name="book",
|
|
|
|
name="sync_cover",
|
2020-12-21 20:17:18 +00:00
|
|
|
),
|
|
|
|
migrations.AddField(
|
2021-03-08 16:49:10 +00:00
|
|
|
model_name="author",
|
|
|
|
name="goodreads_key",
|
|
|
|
field=bookwyrm.models.fields.CharField(
|
|
|
|
blank=True, max_length=255, null=True
|
|
|
|
),
|
2020-12-21 20:17:18 +00:00
|
|
|
),
|
|
|
|
migrations.AddField(
|
2021-03-08 16:49:10 +00:00
|
|
|
model_name="author",
|
|
|
|
name="last_edited_by",
|
|
|
|
field=models.ForeignKey(
|
|
|
|
null=True,
|
|
|
|
on_delete=django.db.models.deletion.PROTECT,
|
|
|
|
to=settings.AUTH_USER_MODEL,
|
|
|
|
),
|
2020-12-21 20:17:18 +00:00
|
|
|
),
|
|
|
|
migrations.AddField(
|
2021-03-08 16:49:10 +00:00
|
|
|
model_name="author",
|
|
|
|
name="librarything_key",
|
|
|
|
field=bookwyrm.models.fields.CharField(
|
|
|
|
blank=True, max_length=255, null=True
|
|
|
|
),
|
2020-12-21 20:17:18 +00:00
|
|
|
),
|
|
|
|
migrations.AddField(
|
2021-03-08 16:49:10 +00:00
|
|
|
model_name="book",
|
|
|
|
name="last_edited_by",
|
|
|
|
field=models.ForeignKey(
|
|
|
|
null=True,
|
|
|
|
on_delete=django.db.models.deletion.PROTECT,
|
|
|
|
to=settings.AUTH_USER_MODEL,
|
|
|
|
),
|
2020-12-21 20:17:18 +00:00
|
|
|
),
|
|
|
|
migrations.AlterField(
|
2021-03-08 16:49:10 +00:00
|
|
|
model_name="author",
|
|
|
|
name="origin_id",
|
2020-12-21 20:17:18 +00:00
|
|
|
field=models.CharField(blank=True, max_length=255, null=True),
|
|
|
|
),
|
|
|
|
]
|