Update progress with comments

This commit is contained in:
Mouse Reeve
2021-03-20 17:34:58 -07:00
parent 942c4a6664
commit daa0268eb3
5 changed files with 41 additions and 3 deletions

View File

@ -0,0 +1,24 @@
# Generated by Django 3.1.6 on 2021-03-21 00:25
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='mode',
field=models.CharField(blank=True, choices=[('PG', 'page'), ('PCT', 'percent')], default='PG', max_length=3, null=True),
),
migrations.AddField(
model_name='comment',
name='progress',
field=models.IntegerField(blank=True, null=True, validators=[django.core.validators.MinValueValidator(0)]),
),
]