summaryrefslogtreecommitdiff
path: root/app/books/migrations/0010_auto_20191223_0806.py
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2019-12-23 08:07:52 -0500
committerluxagraf <sng@luxagraf.net>2019-12-23 08:07:52 -0500
commitc697bf6e78e483623b7fe19f23ca3303cd29461a (patch)
treec2db8c9d2a4244e8bcdf87e16aa196bff1f767df /app/books/migrations/0010_auto_20191223_0806.py
parent25b1e2699782b522c4dbf6d3beff6d8c7b1b270e (diff)
simplified process of adding a book highlight
Diffstat (limited to 'app/books/migrations/0010_auto_20191223_0806.py')
-rw-r--r--app/books/migrations/0010_auto_20191223_0806.py37
1 files changed, 37 insertions, 0 deletions
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,
+ ),
+ ]