moviewyrm/bookwyrm/migrations/0015_auto_20201128_0734.py

26 lines
636 B
Python
Raw Normal View History

2020-11-28 08:35:26 +00:00
# Generated by Django 3.0.7 on 2020-11-28 07:34
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
2021-03-08 16:49:10 +00:00
("bookwyrm", "0014_merge_20201128_0007"),
2020-11-28 08:35:26 +00:00
]
operations = [
migrations.RenameField(
2021-03-08 16:49:10 +00:00
model_name="readthrough",
old_name="pages_read",
new_name="progress",
2020-11-28 08:35:26 +00:00
),
migrations.AddField(
2021-03-08 16:49:10 +00:00
model_name="readthrough",
name="progress_mode",
field=models.CharField(
choices=[("PG", "page"), ("PCT", "percent")], default="PG", max_length=3
),
2020-11-28 08:35:26 +00:00
),
]