2020-12-08 02:28:42 +00:00
|
|
|
# Generated by Django 3.0.7 on 2020-12-08 02:13
|
|
|
|
|
|
|
|
import bookwyrm.models.fields
|
|
|
|
from django.conf import settings
|
|
|
|
import django.core.validators
|
|
|
|
from django.db import migrations, models
|
|
|
|
import django.db.models.deletion
|
|
|
|
import django.utils.timezone
|
|
|
|
|
|
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
|
|
|
|
dependencies = [
|
2021-03-08 16:49:10 +00:00
|
|
|
("bookwyrm", "0019_auto_20201130_1939"),
|
2020-12-08 02:28:42 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
operations = [
|
|
|
|
migrations.AlterField(
|
2021-03-08 16:49:10 +00:00
|
|
|
model_name="author",
|
|
|
|
name="aliases",
|
|
|
|
field=bookwyrm.models.fields.ArrayField(
|
|
|
|
base_field=models.CharField(max_length=255),
|
|
|
|
blank=True,
|
|
|
|
default=list,
|
|
|
|
size=None,
|
|
|
|
),
|
2020-12-08 02:28:42 +00:00
|
|
|
),
|
|
|
|
migrations.AlterField(
|
2021-03-08 16:49:10 +00:00
|
|
|
model_name="author",
|
|
|
|
name="bio",
|
2020-12-08 02:28:42 +00:00
|
|
|
field=bookwyrm.models.fields.TextField(blank=True, null=True),
|
|
|
|
),
|
|
|
|
migrations.AlterField(
|
2021-03-08 16:49:10 +00:00
|
|
|
model_name="author",
|
|
|
|
name="born",
|
2020-12-08 02:28:42 +00:00
|
|
|
field=bookwyrm.models.fields.DateTimeField(blank=True, null=True),
|
|
|
|
),
|
|
|
|
migrations.AlterField(
|
2021-03-08 16:49:10 +00:00
|
|
|
model_name="author",
|
|
|
|
name="died",
|
2020-12-08 02:28:42 +00:00
|
|
|
field=bookwyrm.models.fields.DateTimeField(blank=True, null=True),
|
|
|
|
),
|
|
|
|
migrations.AlterField(
|
2021-03-08 16:49:10 +00:00
|
|
|
model_name="author",
|
|
|
|
name="name",
|
2020-12-08 02:28:42 +00:00
|
|
|
field=bookwyrm.models.fields.CharField(max_length=255),
|
|
|
|
),
|
|
|
|
migrations.AlterField(
|
2021-03-08 16:49:10 +00:00
|
|
|
model_name="author",
|
|
|
|
name="openlibrary_key",
|
|
|
|
field=bookwyrm.models.fields.CharField(
|
|
|
|
blank=True, max_length=255, null=True
|
|
|
|
),
|
2020-12-08 02:28:42 +00:00
|
|
|
),
|
|
|
|
migrations.AlterField(
|
2021-03-08 16:49:10 +00:00
|
|
|
model_name="author",
|
|
|
|
name="wikipedia_link",
|
|
|
|
field=bookwyrm.models.fields.CharField(
|
|
|
|
blank=True, max_length=255, null=True
|
|
|
|
),
|
2020-12-08 02:28:42 +00:00
|
|
|
),
|
|
|
|
migrations.AlterField(
|
2021-03-08 16:49:10 +00:00
|
|
|
model_name="book",
|
|
|
|
name="authors",
|
|
|
|
field=bookwyrm.models.fields.ManyToManyField(to="bookwyrm.Author"),
|
2020-12-08 02:28:42 +00:00
|
|
|
),
|
|
|
|
migrations.AlterField(
|
2021-03-08 16:49:10 +00:00
|
|
|
model_name="book",
|
|
|
|
name="cover",
|
|
|
|
field=bookwyrm.models.fields.ImageField(
|
|
|
|
blank=True, null=True, upload_to="covers/"
|
|
|
|
),
|
2020-12-08 02:28:42 +00:00
|
|
|
),
|
|
|
|
migrations.AlterField(
|
2021-03-08 16:49:10 +00:00
|
|
|
model_name="book",
|
|
|
|
name="description",
|
2020-12-08 02:28:42 +00:00
|
|
|
field=bookwyrm.models.fields.TextField(blank=True, null=True),
|
|
|
|
),
|
|
|
|
migrations.AlterField(
|
2021-03-08 16:49:10 +00:00
|
|
|
model_name="book",
|
|
|
|
name="first_published_date",
|
2020-12-08 02:28:42 +00:00
|
|
|
field=bookwyrm.models.fields.DateTimeField(blank=True, null=True),
|
|
|
|
),
|
|
|
|
migrations.AlterField(
|
2021-03-08 16:49:10 +00:00
|
|
|
model_name="book",
|
|
|
|
name="goodreads_key",
|
|
|
|
field=bookwyrm.models.fields.CharField(
|
|
|
|
blank=True, max_length=255, null=True
|
|
|
|
),
|
2020-12-08 02:28:42 +00:00
|
|
|
),
|
|
|
|
migrations.AlterField(
|
2021-03-08 16:49:10 +00:00
|
|
|
model_name="book",
|
|
|
|
name="languages",
|
|
|
|
field=bookwyrm.models.fields.ArrayField(
|
|
|
|
base_field=models.CharField(max_length=255),
|
|
|
|
blank=True,
|
|
|
|
default=list,
|
|
|
|
size=None,
|
|
|
|
),
|
2020-12-08 02:28:42 +00:00
|
|
|
),
|
|
|
|
migrations.AlterField(
|
2021-03-08 16:49:10 +00:00
|
|
|
model_name="book",
|
|
|
|
name="librarything_key",
|
|
|
|
field=bookwyrm.models.fields.CharField(
|
|
|
|
blank=True, max_length=255, null=True
|
|
|
|
),
|
2020-12-08 02:28:42 +00:00
|
|
|
),
|
|
|
|
migrations.AlterField(
|
2021-03-08 16:49:10 +00:00
|
|
|
model_name="book",
|
|
|
|
name="openlibrary_key",
|
|
|
|
field=bookwyrm.models.fields.CharField(
|
|
|
|
blank=True, max_length=255, null=True
|
|
|
|
),
|
2020-12-08 02:28:42 +00:00
|
|
|
),
|
|
|
|
migrations.AlterField(
|
2021-03-08 16:49:10 +00:00
|
|
|
model_name="book",
|
|
|
|
name="published_date",
|
2020-12-08 02:28:42 +00:00
|
|
|
field=bookwyrm.models.fields.DateTimeField(blank=True, null=True),
|
|
|
|
),
|
|
|
|
migrations.AlterField(
|
2021-03-08 16:49:10 +00:00
|
|
|
model_name="book",
|
|
|
|
name="series",
|
|
|
|
field=bookwyrm.models.fields.CharField(
|
|
|
|
blank=True, max_length=255, null=True
|
|
|
|
),
|
2020-12-08 02:28:42 +00:00
|
|
|
),
|
|
|
|
migrations.AlterField(
|
2021-03-08 16:49:10 +00:00
|
|
|
model_name="book",
|
|
|
|
name="series_number",
|
|
|
|
field=bookwyrm.models.fields.CharField(
|
|
|
|
blank=True, max_length=255, null=True
|
|
|
|
),
|
2020-12-08 02:28:42 +00:00
|
|
|
),
|
|
|
|
migrations.AlterField(
|
2021-03-08 16:49:10 +00:00
|
|
|
model_name="book",
|
|
|
|
name="sort_title",
|
|
|
|
field=bookwyrm.models.fields.CharField(
|
|
|
|
blank=True, max_length=255, null=True
|
|
|
|
),
|
2020-12-08 02:28:42 +00:00
|
|
|
),
|
|
|
|
migrations.AlterField(
|
2021-03-08 16:49:10 +00:00
|
|
|
model_name="book",
|
|
|
|
name="subject_places",
|
|
|
|
field=bookwyrm.models.fields.ArrayField(
|
|
|
|
base_field=models.CharField(max_length=255),
|
|
|
|
blank=True,
|
|
|
|
default=list,
|
|
|
|
null=True,
|
|
|
|
size=None,
|
|
|
|
),
|
2020-12-08 02:28:42 +00:00
|
|
|
),
|
|
|
|
migrations.AlterField(
|
2021-03-08 16:49:10 +00:00
|
|
|
model_name="book",
|
|
|
|
name="subjects",
|
|
|
|
field=bookwyrm.models.fields.ArrayField(
|
|
|
|
base_field=models.CharField(max_length=255),
|
|
|
|
blank=True,
|
|
|
|
default=list,
|
|
|
|
null=True,
|
|
|
|
size=None,
|
|
|
|
),
|
2020-12-08 02:28:42 +00:00
|
|
|
),
|
|
|
|
migrations.AlterField(
|
2021-03-08 16:49:10 +00:00
|
|
|
model_name="book",
|
|
|
|
name="subtitle",
|
|
|
|
field=bookwyrm.models.fields.CharField(
|
|
|
|
blank=True, max_length=255, null=True
|
|
|
|
),
|
2020-12-08 02:28:42 +00:00
|
|
|
),
|
|
|
|
migrations.AlterField(
|
2021-03-08 16:49:10 +00:00
|
|
|
model_name="book",
|
|
|
|
name="title",
|
2020-12-08 02:28:42 +00:00
|
|
|
field=bookwyrm.models.fields.CharField(max_length=255),
|
|
|
|
),
|
|
|
|
migrations.AlterField(
|
2021-03-08 16:49:10 +00:00
|
|
|
model_name="boost",
|
|
|
|
name="boosted_status",
|
|
|
|
field=bookwyrm.models.fields.ForeignKey(
|
|
|
|
on_delete=django.db.models.deletion.PROTECT,
|
|
|
|
related_name="boosters",
|
|
|
|
to="bookwyrm.Status",
|
|
|
|
),
|
2020-12-08 02:28:42 +00:00
|
|
|
),
|
|
|
|
migrations.AlterField(
|
2021-03-08 16:49:10 +00:00
|
|
|
model_name="comment",
|
|
|
|
name="book",
|
|
|
|
field=bookwyrm.models.fields.ForeignKey(
|
|
|
|
on_delete=django.db.models.deletion.PROTECT, to="bookwyrm.Edition"
|
|
|
|
),
|
2020-12-08 02:28:42 +00:00
|
|
|
),
|
|
|
|
migrations.AlterField(
|
2021-03-08 16:49:10 +00:00
|
|
|
model_name="edition",
|
|
|
|
name="asin",
|
|
|
|
field=bookwyrm.models.fields.CharField(
|
|
|
|
blank=True, max_length=255, null=True
|
|
|
|
),
|
2020-12-08 02:28:42 +00:00
|
|
|
),
|
|
|
|
migrations.AlterField(
|
2021-03-08 16:49:10 +00:00
|
|
|
model_name="edition",
|
|
|
|
name="isbn_10",
|
|
|
|
field=bookwyrm.models.fields.CharField(
|
|
|
|
blank=True, max_length=255, null=True
|
|
|
|
),
|
2020-12-08 02:28:42 +00:00
|
|
|
),
|
|
|
|
migrations.AlterField(
|
2021-03-08 16:49:10 +00:00
|
|
|
model_name="edition",
|
|
|
|
name="isbn_13",
|
|
|
|
field=bookwyrm.models.fields.CharField(
|
|
|
|
blank=True, max_length=255, null=True
|
|
|
|
),
|
2020-12-08 02:28:42 +00:00
|
|
|
),
|
|
|
|
migrations.AlterField(
|
2021-03-08 16:49:10 +00:00
|
|
|
model_name="edition",
|
|
|
|
name="oclc_number",
|
|
|
|
field=bookwyrm.models.fields.CharField(
|
|
|
|
blank=True, max_length=255, null=True
|
|
|
|
),
|
2020-12-08 02:28:42 +00:00
|
|
|
),
|
|
|
|
migrations.AlterField(
|
2021-03-08 16:49:10 +00:00
|
|
|
model_name="edition",
|
|
|
|
name="pages",
|
2020-12-08 02:28:42 +00:00
|
|
|
field=bookwyrm.models.fields.IntegerField(blank=True, null=True),
|
|
|
|
),
|
|
|
|
migrations.AlterField(
|
2021-03-08 16:49:10 +00:00
|
|
|
model_name="edition",
|
|
|
|
name="parent_work",
|
|
|
|
field=bookwyrm.models.fields.ForeignKey(
|
|
|
|
null=True,
|
|
|
|
on_delete=django.db.models.deletion.PROTECT,
|
|
|
|
related_name="editions",
|
|
|
|
to="bookwyrm.Work",
|
|
|
|
),
|
2020-12-08 02:28:42 +00:00
|
|
|
),
|
|
|
|
migrations.AlterField(
|
2021-03-08 16:49:10 +00:00
|
|
|
model_name="edition",
|
|
|
|
name="physical_format",
|
|
|
|
field=bookwyrm.models.fields.CharField(
|
|
|
|
blank=True, max_length=255, null=True
|
|
|
|
),
|
2020-12-08 02:28:42 +00:00
|
|
|
),
|
|
|
|
migrations.AlterField(
|
2021-03-08 16:49:10 +00:00
|
|
|
model_name="edition",
|
|
|
|
name="publishers",
|
|
|
|
field=bookwyrm.models.fields.ArrayField(
|
|
|
|
base_field=models.CharField(max_length=255),
|
|
|
|
blank=True,
|
|
|
|
default=list,
|
|
|
|
size=None,
|
|
|
|
),
|
2020-12-08 02:28:42 +00:00
|
|
|
),
|
|
|
|
migrations.AlterField(
|
2021-03-08 16:49:10 +00:00
|
|
|
model_name="favorite",
|
|
|
|
name="status",
|
|
|
|
field=bookwyrm.models.fields.ForeignKey(
|
|
|
|
on_delete=django.db.models.deletion.PROTECT, to="bookwyrm.Status"
|
|
|
|
),
|
2020-12-08 02:28:42 +00:00
|
|
|
),
|
|
|
|
migrations.AlterField(
|
2021-03-08 16:49:10 +00:00
|
|
|
model_name="favorite",
|
|
|
|
name="user",
|
|
|
|
field=bookwyrm.models.fields.ForeignKey(
|
|
|
|
on_delete=django.db.models.deletion.PROTECT, to=settings.AUTH_USER_MODEL
|
|
|
|
),
|
2020-12-08 02:28:42 +00:00
|
|
|
),
|
|
|
|
migrations.AlterField(
|
2021-03-08 16:49:10 +00:00
|
|
|
model_name="image",
|
|
|
|
name="caption",
|
2020-12-08 02:28:42 +00:00
|
|
|
field=bookwyrm.models.fields.TextField(blank=True, null=True),
|
|
|
|
),
|
|
|
|
migrations.AlterField(
|
2021-03-08 16:49:10 +00:00
|
|
|
model_name="image",
|
|
|
|
name="image",
|
|
|
|
field=bookwyrm.models.fields.ImageField(
|
|
|
|
blank=True, null=True, upload_to="status/"
|
|
|
|
),
|
2020-12-08 02:28:42 +00:00
|
|
|
),
|
|
|
|
migrations.AlterField(
|
2021-03-08 16:49:10 +00:00
|
|
|
model_name="quotation",
|
|
|
|
name="book",
|
|
|
|
field=bookwyrm.models.fields.ForeignKey(
|
|
|
|
on_delete=django.db.models.deletion.PROTECT, to="bookwyrm.Edition"
|
|
|
|
),
|
2020-12-08 02:28:42 +00:00
|
|
|
),
|
|
|
|
migrations.AlterField(
|
2021-03-08 16:49:10 +00:00
|
|
|
model_name="quotation",
|
|
|
|
name="quote",
|
2020-12-08 02:28:42 +00:00
|
|
|
field=bookwyrm.models.fields.TextField(),
|
|
|
|
),
|
|
|
|
migrations.AlterField(
|
2021-03-08 16:49:10 +00:00
|
|
|
model_name="review",
|
|
|
|
name="book",
|
|
|
|
field=bookwyrm.models.fields.ForeignKey(
|
|
|
|
on_delete=django.db.models.deletion.PROTECT, to="bookwyrm.Edition"
|
|
|
|
),
|
2020-12-08 02:28:42 +00:00
|
|
|
),
|
|
|
|
migrations.AlterField(
|
2021-03-08 16:49:10 +00:00
|
|
|
model_name="review",
|
|
|
|
name="name",
|
2020-12-08 02:28:42 +00:00
|
|
|
field=bookwyrm.models.fields.CharField(max_length=255, null=True),
|
|
|
|
),
|
|
|
|
migrations.AlterField(
|
2021-03-08 16:49:10 +00:00
|
|
|
model_name="review",
|
|
|
|
name="rating",
|
|
|
|
field=bookwyrm.models.fields.IntegerField(
|
|
|
|
blank=True,
|
|
|
|
default=None,
|
|
|
|
null=True,
|
|
|
|
validators=[
|
|
|
|
django.core.validators.MinValueValidator(1),
|
|
|
|
django.core.validators.MaxValueValidator(5),
|
|
|
|
],
|
|
|
|
),
|
2020-12-08 02:28:42 +00:00
|
|
|
),
|
|
|
|
migrations.AlterField(
|
2021-03-08 16:49:10 +00:00
|
|
|
model_name="shelf",
|
|
|
|
name="name",
|
2020-12-08 02:28:42 +00:00
|
|
|
field=bookwyrm.models.fields.CharField(max_length=100),
|
|
|
|
),
|
|
|
|
migrations.AlterField(
|
2021-03-08 16:49:10 +00:00
|
|
|
model_name="shelf",
|
|
|
|
name="privacy",
|
|
|
|
field=bookwyrm.models.fields.CharField(
|
|
|
|
choices=[
|
|
|
|
("public", "Public"),
|
|
|
|
("unlisted", "Unlisted"),
|
|
|
|
("followers", "Followers"),
|
|
|
|
("direct", "Direct"),
|
|
|
|
],
|
|
|
|
default="public",
|
|
|
|
max_length=255,
|
|
|
|
),
|
2020-12-08 02:28:42 +00:00
|
|
|
),
|
|
|
|
migrations.AlterField(
|
2021-03-08 16:49:10 +00:00
|
|
|
model_name="shelf",
|
|
|
|
name="user",
|
|
|
|
field=bookwyrm.models.fields.ForeignKey(
|
|
|
|
on_delete=django.db.models.deletion.PROTECT, to=settings.AUTH_USER_MODEL
|
|
|
|
),
|
2020-12-08 02:28:42 +00:00
|
|
|
),
|
|
|
|
migrations.AlterField(
|
2021-03-08 16:49:10 +00:00
|
|
|
model_name="shelfbook",
|
|
|
|
name="added_by",
|
|
|
|
field=bookwyrm.models.fields.ForeignKey(
|
|
|
|
blank=True,
|
|
|
|
null=True,
|
|
|
|
on_delete=django.db.models.deletion.PROTECT,
|
|
|
|
to=settings.AUTH_USER_MODEL,
|
|
|
|
),
|
2020-12-08 02:28:42 +00:00
|
|
|
),
|
|
|
|
migrations.AlterField(
|
2021-03-08 16:49:10 +00:00
|
|
|
model_name="shelfbook",
|
|
|
|
name="book",
|
|
|
|
field=bookwyrm.models.fields.ForeignKey(
|
|
|
|
on_delete=django.db.models.deletion.PROTECT, to="bookwyrm.Edition"
|
|
|
|
),
|
2020-12-08 02:28:42 +00:00
|
|
|
),
|
|
|
|
migrations.AlterField(
|
2021-03-08 16:49:10 +00:00
|
|
|
model_name="shelfbook",
|
|
|
|
name="shelf",
|
|
|
|
field=bookwyrm.models.fields.ForeignKey(
|
|
|
|
on_delete=django.db.models.deletion.PROTECT, to="bookwyrm.Shelf"
|
|
|
|
),
|
2020-12-08 02:28:42 +00:00
|
|
|
),
|
|
|
|
migrations.AlterField(
|
2021-03-08 16:49:10 +00:00
|
|
|
model_name="status",
|
|
|
|
name="content",
|
2020-12-08 02:28:42 +00:00
|
|
|
field=bookwyrm.models.fields.TextField(blank=True, null=True),
|
|
|
|
),
|
|
|
|
migrations.AlterField(
|
2021-03-08 16:49:10 +00:00
|
|
|
model_name="status",
|
|
|
|
name="mention_books",
|
|
|
|
field=bookwyrm.models.fields.TagField(
|
|
|
|
related_name="mention_book", to="bookwyrm.Edition"
|
|
|
|
),
|
2020-12-08 02:28:42 +00:00
|
|
|
),
|
|
|
|
migrations.AlterField(
|
2021-03-08 16:49:10 +00:00
|
|
|
model_name="status",
|
|
|
|
name="mention_users",
|
|
|
|
field=bookwyrm.models.fields.TagField(
|
|
|
|
related_name="mention_user", to=settings.AUTH_USER_MODEL
|
|
|
|
),
|
2020-12-08 02:28:42 +00:00
|
|
|
),
|
|
|
|
migrations.AlterField(
|
2021-03-08 16:49:10 +00:00
|
|
|
model_name="status",
|
|
|
|
name="published_date",
|
|
|
|
field=bookwyrm.models.fields.DateTimeField(
|
|
|
|
default=django.utils.timezone.now
|
|
|
|
),
|
2020-12-08 02:28:42 +00:00
|
|
|
),
|
|
|
|
migrations.AlterField(
|
2021-03-08 16:49:10 +00:00
|
|
|
model_name="status",
|
|
|
|
name="reply_parent",
|
|
|
|
field=bookwyrm.models.fields.ForeignKey(
|
|
|
|
null=True,
|
|
|
|
on_delete=django.db.models.deletion.PROTECT,
|
|
|
|
to="bookwyrm.Status",
|
|
|
|
),
|
2020-12-08 02:28:42 +00:00
|
|
|
),
|
|
|
|
migrations.AlterField(
|
2021-03-08 16:49:10 +00:00
|
|
|
model_name="status",
|
|
|
|
name="sensitive",
|
2020-12-08 02:28:42 +00:00
|
|
|
field=bookwyrm.models.fields.BooleanField(default=False),
|
|
|
|
),
|
|
|
|
migrations.AlterField(
|
2021-03-08 16:49:10 +00:00
|
|
|
model_name="status",
|
|
|
|
name="user",
|
|
|
|
field=bookwyrm.models.fields.ForeignKey(
|
|
|
|
on_delete=django.db.models.deletion.PROTECT, to=settings.AUTH_USER_MODEL
|
|
|
|
),
|
2020-12-08 02:28:42 +00:00
|
|
|
),
|
|
|
|
migrations.AlterField(
|
2021-03-08 16:49:10 +00:00
|
|
|
model_name="tag",
|
|
|
|
name="name",
|
2020-12-08 02:28:42 +00:00
|
|
|
field=bookwyrm.models.fields.CharField(max_length=100, unique=True),
|
|
|
|
),
|
|
|
|
migrations.AlterField(
|
2021-03-08 16:49:10 +00:00
|
|
|
model_name="userblocks",
|
|
|
|
name="user_object",
|
|
|
|
field=bookwyrm.models.fields.ForeignKey(
|
|
|
|
on_delete=django.db.models.deletion.PROTECT,
|
|
|
|
related_name="userblocks_user_object",
|
|
|
|
to=settings.AUTH_USER_MODEL,
|
|
|
|
),
|
2020-12-08 02:28:42 +00:00
|
|
|
),
|
|
|
|
migrations.AlterField(
|
2021-03-08 16:49:10 +00:00
|
|
|
model_name="userblocks",
|
|
|
|
name="user_subject",
|
|
|
|
field=bookwyrm.models.fields.ForeignKey(
|
|
|
|
on_delete=django.db.models.deletion.PROTECT,
|
|
|
|
related_name="userblocks_user_subject",
|
|
|
|
to=settings.AUTH_USER_MODEL,
|
|
|
|
),
|
2020-12-08 02:28:42 +00:00
|
|
|
),
|
|
|
|
migrations.AlterField(
|
2021-03-08 16:49:10 +00:00
|
|
|
model_name="userfollowrequest",
|
|
|
|
name="user_object",
|
|
|
|
field=bookwyrm.models.fields.ForeignKey(
|
|
|
|
on_delete=django.db.models.deletion.PROTECT,
|
|
|
|
related_name="userfollowrequest_user_object",
|
|
|
|
to=settings.AUTH_USER_MODEL,
|
|
|
|
),
|
2020-12-08 02:28:42 +00:00
|
|
|
),
|
|
|
|
migrations.AlterField(
|
2021-03-08 16:49:10 +00:00
|
|
|
model_name="userfollowrequest",
|
|
|
|
name="user_subject",
|
|
|
|
field=bookwyrm.models.fields.ForeignKey(
|
|
|
|
on_delete=django.db.models.deletion.PROTECT,
|
|
|
|
related_name="userfollowrequest_user_subject",
|
|
|
|
to=settings.AUTH_USER_MODEL,
|
|
|
|
),
|
2020-12-08 02:28:42 +00:00
|
|
|
),
|
|
|
|
migrations.AlterField(
|
2021-03-08 16:49:10 +00:00
|
|
|
model_name="userfollows",
|
|
|
|
name="user_object",
|
|
|
|
field=bookwyrm.models.fields.ForeignKey(
|
|
|
|
on_delete=django.db.models.deletion.PROTECT,
|
|
|
|
related_name="userfollows_user_object",
|
|
|
|
to=settings.AUTH_USER_MODEL,
|
|
|
|
),
|
2020-12-08 02:28:42 +00:00
|
|
|
),
|
|
|
|
migrations.AlterField(
|
2021-03-08 16:49:10 +00:00
|
|
|
model_name="userfollows",
|
|
|
|
name="user_subject",
|
|
|
|
field=bookwyrm.models.fields.ForeignKey(
|
|
|
|
on_delete=django.db.models.deletion.PROTECT,
|
|
|
|
related_name="userfollows_user_subject",
|
|
|
|
to=settings.AUTH_USER_MODEL,
|
|
|
|
),
|
2020-12-08 02:28:42 +00:00
|
|
|
),
|
|
|
|
migrations.AlterField(
|
2021-03-08 16:49:10 +00:00
|
|
|
model_name="usertag",
|
|
|
|
name="book",
|
|
|
|
field=bookwyrm.models.fields.ForeignKey(
|
|
|
|
on_delete=django.db.models.deletion.PROTECT, to="bookwyrm.Edition"
|
|
|
|
),
|
2020-12-08 02:28:42 +00:00
|
|
|
),
|
|
|
|
migrations.AlterField(
|
2021-03-08 16:49:10 +00:00
|
|
|
model_name="usertag",
|
|
|
|
name="tag",
|
|
|
|
field=bookwyrm.models.fields.ForeignKey(
|
|
|
|
on_delete=django.db.models.deletion.PROTECT, to="bookwyrm.Tag"
|
|
|
|
),
|
2020-12-08 02:28:42 +00:00
|
|
|
),
|
|
|
|
migrations.AlterField(
|
2021-03-08 16:49:10 +00:00
|
|
|
model_name="usertag",
|
|
|
|
name="user",
|
|
|
|
field=bookwyrm.models.fields.ForeignKey(
|
|
|
|
on_delete=django.db.models.deletion.PROTECT, to=settings.AUTH_USER_MODEL
|
|
|
|
),
|
2020-12-08 02:28:42 +00:00
|
|
|
),
|
|
|
|
migrations.AlterField(
|
2021-03-08 16:49:10 +00:00
|
|
|
model_name="work",
|
|
|
|
name="default_edition",
|
|
|
|
field=bookwyrm.models.fields.ForeignKey(
|
|
|
|
null=True,
|
|
|
|
on_delete=django.db.models.deletion.PROTECT,
|
|
|
|
to="bookwyrm.Edition",
|
|
|
|
),
|
2020-12-08 02:28:42 +00:00
|
|
|
),
|
|
|
|
migrations.AlterField(
|
2021-03-08 16:49:10 +00:00
|
|
|
model_name="work",
|
|
|
|
name="lccn",
|
|
|
|
field=bookwyrm.models.fields.CharField(
|
|
|
|
blank=True, max_length=255, null=True
|
|
|
|
),
|
2020-12-08 02:28:42 +00:00
|
|
|
),
|
|
|
|
]
|