2022-02-17 16:25:01 +00:00
|
|
|
# Generated by Django 3.2.12 on 2022-02-17 16:24
|
|
|
|
|
|
|
|
import bookwyrm.models.fields
|
|
|
|
from django.db import migrations
|
|
|
|
|
|
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
|
|
|
|
dependencies = [
|
2022-02-17 16:42:12 +00:00
|
|
|
("bookwyrm", "0134_announcement_display_type"),
|
2022-02-17 16:25:01 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
operations = [
|
|
|
|
migrations.RenameField(
|
2022-02-17 16:42:12 +00:00
|
|
|
model_name="author",
|
|
|
|
old_name="viaf_id",
|
|
|
|
new_name="viaf",
|
2022-02-17 16:25:01 +00:00
|
|
|
),
|
|
|
|
migrations.RemoveField(
|
2022-02-17 16:42:12 +00:00
|
|
|
model_name="edition",
|
|
|
|
name="asin",
|
2022-02-17 16:25:01 +00:00
|
|
|
),
|
|
|
|
migrations.AddField(
|
2022-02-17 16:42:12 +00:00
|
|
|
model_name="author",
|
|
|
|
name="asin",
|
|
|
|
field=bookwyrm.models.fields.CharField(
|
|
|
|
blank=True, max_length=255, null=True
|
|
|
|
),
|
2022-02-17 16:25:01 +00:00
|
|
|
),
|
|
|
|
migrations.AddField(
|
2022-02-17 16:42:12 +00:00
|
|
|
model_name="author",
|
|
|
|
name="wikidata",
|
|
|
|
field=bookwyrm.models.fields.CharField(
|
|
|
|
blank=True, max_length=255, null=True
|
|
|
|
),
|
2022-02-17 16:25:01 +00:00
|
|
|
),
|
|
|
|
migrations.AddField(
|
2022-02-17 16:42:12 +00:00
|
|
|
model_name="book",
|
|
|
|
name="asin",
|
|
|
|
field=bookwyrm.models.fields.CharField(
|
|
|
|
blank=True, max_length=255, null=True
|
|
|
|
),
|
2022-02-17 16:25:01 +00:00
|
|
|
),
|
|
|
|
migrations.AddField(
|
2022-02-17 16:42:12 +00:00
|
|
|
model_name="book",
|
|
|
|
name="viaf",
|
|
|
|
field=bookwyrm.models.fields.CharField(
|
|
|
|
blank=True, max_length=255, null=True
|
|
|
|
),
|
2022-02-17 16:25:01 +00:00
|
|
|
),
|
|
|
|
migrations.AddField(
|
2022-02-17 16:42:12 +00:00
|
|
|
model_name="book",
|
|
|
|
name="wikidata",
|
|
|
|
field=bookwyrm.models.fields.CharField(
|
|
|
|
blank=True, max_length=255, null=True
|
|
|
|
),
|
2022-02-17 16:25:01 +00:00
|
|
|
),
|
|
|
|
]
|