diff --git a/bookwyrm/migrations/0015_auto_20201128_0734.py b/bookwyrm/migrations/0015_auto_20201128_0734.py new file mode 100644 index 00000000..c6eb7815 --- /dev/null +++ b/bookwyrm/migrations/0015_auto_20201128_0734.py @@ -0,0 +1,23 @@ +# Generated by Django 3.0.7 on 2020-11-28 07:34 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('bookwyrm', '0014_merge_20201128_0007'), + ] + + operations = [ + migrations.RenameField( + model_name='readthrough', + old_name='pages_read', + new_name='progress', + ), + migrations.AddField( + model_name='readthrough', + name='progress_mode', + field=models.CharField(choices=[('PG', 'page'), ('PCT', 'percent')], default='PG', max_length=3), + ), + ] diff --git a/bookwyrm/tests/actions/__init__.py b/bookwyrm/tests/actions/__init__.py new file mode 100644 index 00000000..b6e690fd --- /dev/null +++ b/bookwyrm/tests/actions/__init__.py @@ -0,0 +1 @@ +from . import *