From 1515e5ac7b4f2d4061d73ea8215b27f110d811cb Mon Sep 17 00:00:00 2001 From: luxagraf Date: Wed, 6 Jun 2018 09:59:36 -0500 Subject: make some new migrations to fix null image in jrnl entry --- app/jrnl/migrations/0019_remove_entry_thumbnail.py | 17 +++++++++++++++++ app/jrnl/migrations/0020_auto_20180606_1058.py | 19 +++++++++++++++++++ app/jrnl/migrations/0021_auto_20180606_1058.py | 19 +++++++++++++++++++ 3 files changed, 55 insertions(+) create mode 100644 app/jrnl/migrations/0019_remove_entry_thumbnail.py create mode 100644 app/jrnl/migrations/0020_auto_20180606_1058.py create mode 100644 app/jrnl/migrations/0021_auto_20180606_1058.py (limited to 'app/jrnl') diff --git a/app/jrnl/migrations/0019_remove_entry_thumbnail.py b/app/jrnl/migrations/0019_remove_entry_thumbnail.py new file mode 100644 index 0000000..d964260 --- /dev/null +++ b/app/jrnl/migrations/0019_remove_entry_thumbnail.py @@ -0,0 +1,17 @@ +# Generated by Django 2.0.1 on 2018-06-06 10:58 + +from django.db import migrations + + +class Migration(migrations.Migration): + + dependencies = [ + ('jrnl', '0018_auto_20180303_1037'), + ] + + operations = [ + migrations.RemoveField( + model_name='entry', + name='thumbnail', + ), + ] diff --git a/app/jrnl/migrations/0020_auto_20180606_1058.py b/app/jrnl/migrations/0020_auto_20180606_1058.py new file mode 100644 index 0000000..7575d4f --- /dev/null +++ b/app/jrnl/migrations/0020_auto_20180606_1058.py @@ -0,0 +1,19 @@ +# Generated by Django 2.0.1 on 2018-06-06 10:58 + +from django.db import migrations, models +import jrnl.models + + +class Migration(migrations.Migration): + + dependencies = [ + ('jrnl', '0019_remove_entry_thumbnail'), + ] + + operations = [ + migrations.AlterField( + model_name='entry', + name='image', + field=models.FileField(blank=True, help_text='should be 520 by 290', upload_to=jrnl.models.get_upload_path), + ), + ] diff --git a/app/jrnl/migrations/0021_auto_20180606_1058.py b/app/jrnl/migrations/0021_auto_20180606_1058.py new file mode 100644 index 0000000..ab42290 --- /dev/null +++ b/app/jrnl/migrations/0021_auto_20180606_1058.py @@ -0,0 +1,19 @@ +# Generated by Django 2.0.1 on 2018-06-06 10:58 + +from django.db import migrations, models +import jrnl.models + + +class Migration(migrations.Migration): + + dependencies = [ + ('jrnl', '0020_auto_20180606_1058'), + ] + + operations = [ + migrations.AlterField( + model_name='entry', + name='image', + field=models.FileField(blank=True, help_text='should be 520 by 290', null=True, upload_to=jrnl.models.get_upload_path), + ), + ] -- cgit v1.2.3-70-g09d2