moviewyrm/bookwyrm/migrations/0029_auto_20201221_2014.py

74 lines
2 KiB
Python
Raw Normal View History

# 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"),
]
operations = [
migrations.RemoveField(
2021-03-08 16:49:10 +00:00
model_name="author",
name="last_sync_date",
),
migrations.RemoveField(
2021-03-08 16:49:10 +00:00
model_name="author",
name="sync",
),
migrations.RemoveField(
2021-03-08 16:49:10 +00:00
model_name="book",
name="last_sync_date",
),
migrations.RemoveField(
2021-03-08 16:49:10 +00:00
model_name="book",
name="sync",
),
migrations.RemoveField(
2021-03-08 16:49:10 +00:00
model_name="book",
name="sync_cover",
),
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
),
),
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,
),
),
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
),
),
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,
),
),
migrations.AlterField(
2021-03-08 16:49:10 +00:00
model_name="author",
name="origin_id",
field=models.CharField(blank=True, max_length=255, null=True),
),
]