Show progress on status

This commit is contained in:
Mouse Reeve
2021-03-20 18:03:20 -07:00
parent 17489f002f
commit d3a4282f11
5 changed files with 32 additions and 36 deletions

View File

@ -0,0 +1,24 @@
# 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 = [
('bookwyrm', '0054_auto_20210319_1942'),
]
operations = [
migrations.AddField(
model_name='comment',
name='progress',
field=models.IntegerField(blank=True, null=True, validators=[django.core.validators.MinValueValidator(0)]),
),
migrations.AddField(
model_name='comment',
name='progress_mode',
field=models.CharField(blank=True, choices=[('PG', 'page'), ('PCT', 'percent')], default='PG', max_length=3, null=True),
),
]