summaryrefslogtreecommitdiff
path: root/app/jrnl
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2018-09-03 17:14:59 -0500
committerluxagraf <sng@luxagraf.net>2018-09-03 17:14:59 -0500
commita4c7c35944f8cfd174d84a7c25bd2ee447f9df3c (patch)
tree32465c27320132b9c9862f941a9c3cb56dd3a6a6 /app/jrnl
parent0e35762e28c05db07e5b7bd19832c52cdef42d9b (diff)
added server side migrations
Diffstat (limited to 'app/jrnl')
-rw-r--r--app/jrnl/migrations/0001_squashed_0019_remove_entry_thumbnail.py4
-rw-r--r--app/jrnl/migrations/0019_remove_entry_thumbnail.py4
-rw-r--r--app/jrnl/migrations/0023_auto_20180902_1210.py18
-rw-r--r--app/jrnl/migrations/0024_auto_20180902_1217.py32
4 files changed, 50 insertions, 8 deletions
diff --git a/app/jrnl/migrations/0001_squashed_0019_remove_entry_thumbnail.py b/app/jrnl/migrations/0001_squashed_0019_remove_entry_thumbnail.py
index 1a16b24..a74b598 100644
--- a/app/jrnl/migrations/0001_squashed_0019_remove_entry_thumbnail.py
+++ b/app/jrnl/migrations/0001_squashed_0019_remove_entry_thumbnail.py
@@ -79,8 +79,4 @@ class Migration(migrations.Migration):
name='books',
field=models.ManyToManyField(blank=True, to='books.Book'),
),
- migrations.RemoveField(
- model_name='entry',
- name='thumbnail',
- ),
]
diff --git a/app/jrnl/migrations/0019_remove_entry_thumbnail.py b/app/jrnl/migrations/0019_remove_entry_thumbnail.py
index d964260..971cb03 100644
--- a/app/jrnl/migrations/0019_remove_entry_thumbnail.py
+++ b/app/jrnl/migrations/0019_remove_entry_thumbnail.py
@@ -10,8 +10,4 @@ class Migration(migrations.Migration):
]
operations = [
- migrations.RemoveField(
- model_name='entry',
- name='thumbnail',
- ),
]
diff --git a/app/jrnl/migrations/0023_auto_20180902_1210.py b/app/jrnl/migrations/0023_auto_20180902_1210.py
new file mode 100644
index 0000000..0ce3853
--- /dev/null
+++ b/app/jrnl/migrations/0023_auto_20180902_1210.py
@@ -0,0 +1,18 @@
+# Generated by Django 2.1 on 2018-09-02 12:10
+
+from django.db import migrations, models
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('jrnl', '0022_auto_20180707_0958'),
+ ]
+
+ operations = [
+ migrations.AlterField(
+ model_name='entry',
+ name='has_video',
+ field=models.BooleanField(blank=True, default=False),
+ ),
+ ]
diff --git a/app/jrnl/migrations/0024_auto_20180902_1217.py b/app/jrnl/migrations/0024_auto_20180902_1217.py
new file mode 100644
index 0000000..314c8c6
--- /dev/null
+++ b/app/jrnl/migrations/0024_auto_20180902_1217.py
@@ -0,0 +1,32 @@
+# Generated by Django 2.1 on 2018-09-02 12:17
+
+from django.db import migrations, models
+import django.db.models.deletion
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('photos', '0018_auto_20161130_1218'),
+ ('jrnl', '0023_auto_20180902_1210'),
+ ]
+
+ operations = [
+ migrations.CreateModel(
+ name='Home',
+ fields=[
+ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
+ ('image_offset_vertical', models.CharField(help_text='add negative top margin to shift image (include css unit)', max_length=20)),
+ ('tag_line', models.CharField(max_length=200)),
+ ('template_name', models.CharField(help_text='full path', max_length=200)),
+ ('featured', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='banner', to='jrnl.Entry')),
+ ('featured_image', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='photos.LuxImage')),
+ ('popular', models.ManyToManyField(to='jrnl.Entry')),
+ ],
+ ),
+ migrations.AlterField(
+ model_name='homepagecurrator',
+ name='featured',
+ field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='oldbanner', to='jrnl.Entry'),
+ ),
+ ]