moviewyrm/bookwyrm/migrations/0076_preview_images.py

33 lines
879 B
Python
Raw Normal View History

2021-05-26 12:55:55 +00:00
# Generated by Django 3.2 on 2021-05-26 12:55
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
2021-05-26 13:18:05 +00:00
("bookwyrm", "0075_announcement"),
2021-05-26 12:55:55 +00:00
]
operations = [
migrations.AddField(
2021-05-26 13:18:05 +00:00
model_name="book",
name="preview_image",
field=models.ImageField(
blank=True, null=True, upload_to="previews/covers/"
),
2021-05-26 12:55:55 +00:00
),
migrations.AddField(
2021-05-26 13:18:05 +00:00
model_name="sitesettings",
name="preview_image",
field=models.ImageField(blank=True, null=True, upload_to="previews/logos/"),
2021-05-26 12:55:55 +00:00
),
migrations.AddField(
2021-05-26 13:18:05 +00:00
model_name="user",
name="preview_image",
field=models.ImageField(
blank=True, null=True, upload_to="previews/avatars/"
),
2021-05-26 12:55:55 +00:00
),
]