moviewyrm/bookwyrm/migrations/0055_auto_20210321_0101.py

35 lines
886 B
Python
Raw Normal View History

2021-03-21 01:03:20 +00:00
# Generated by Django 3.1.6 on 2021-03-21 01:01
import django.core.validators
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
2021-03-21 01:04:10 +00:00
("bookwyrm", "0054_auto_20210319_1942"),
2021-03-21 01:03:20 +00:00
]
operations = [
migrations.AddField(
2021-03-21 01:04:10 +00:00
model_name="comment",
name="progress",
field=models.IntegerField(
blank=True,
null=True,
validators=[django.core.validators.MinValueValidator(0)],
),
2021-03-21 01:03:20 +00:00
),
migrations.AddField(
2021-03-21 01:04:10 +00:00
model_name="comment",
name="progress_mode",
field=models.CharField(
blank=True,
choices=[("PG", "page"), ("PCT", "percent")],
default="PG",
max_length=3,
null=True,
),
2021-03-21 01:03:20 +00:00
),
]