From c697bf6e78e483623b7fe19f23ca3303cd29461a Mon Sep 17 00:00:00 2001 From: luxagraf Date: Mon, 23 Dec 2019 08:07:52 -0500 Subject: simplified process of adding a book highlight --- app/books/migrations/0010_auto_20191223_0806.py | 37 +++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 app/books/migrations/0010_auto_20191223_0806.py (limited to 'app/books/migrations/0010_auto_20191223_0806.py') diff --git a/app/books/migrations/0010_auto_20191223_0806.py b/app/books/migrations/0010_auto_20191223_0806.py new file mode 100644 index 0000000..d1f5065 --- /dev/null +++ b/app/books/migrations/0010_auto_20191223_0806.py @@ -0,0 +1,37 @@ +# Generated by Django 2.1.2 on 2019-12-23 08:06 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('books', '0009_book_afflink'), + ] + + operations = [ + migrations.AlterModelOptions( + name='bookhighlight', + options={'ordering': ('-page', '-date_added')}, + ), + migrations.RemoveField( + model_name='bookhighlight', + name='location', + ), + migrations.AddField( + model_name='bookhighlight', + name='body_html', + field=models.TextField(blank=True), + ), + migrations.AlterField( + model_name='bookhighlight', + name='date_added', + field=models.DateTimeField(auto_now_add=True), + ), + migrations.AlterField( + model_name='bookhighlight', + name='page', + field=models.PositiveSmallIntegerField(1), + preserve_default=False, + ), + ] -- cgit v1.2.3-70-g09d2