diff options
Diffstat (limited to 'app/posts/migrations')
-rw-r--r-- | app/posts/migrations/0014_auto_20201113_1444.py | 18 | ||||
-rw-r--r-- | app/posts/migrations/0015_post_old_image.py | 19 |
2 files changed, 37 insertions, 0 deletions
diff --git a/app/posts/migrations/0014_auto_20201113_1444.py b/app/posts/migrations/0014_auto_20201113_1444.py new file mode 100644 index 0000000..2ac1df0 --- /dev/null +++ b/app/posts/migrations/0014_auto_20201113_1444.py @@ -0,0 +1,18 @@ +# Generated by Django 3.1 on 2020-11-13 14:44 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('posts', '0013_auto_20201111_2231'), + ] + + operations = [ + migrations.AlterField( + model_name='post', + name='template_name', + field=models.IntegerField(choices=[(0, 'single'), (1, 'double'), (2, 'single-dark'), (3, 'double-dark'), (4, 'single-black'), (5, 'double-black')], default=0), + ), + ] diff --git a/app/posts/migrations/0015_post_old_image.py b/app/posts/migrations/0015_post_old_image.py new file mode 100644 index 0000000..e9d6088 --- /dev/null +++ b/app/posts/migrations/0015_post_old_image.py @@ -0,0 +1,19 @@ +# Generated by Django 3.1 on 2020-11-13 16:14 + +from django.db import migrations, models +import posts.models + + +class Migration(migrations.Migration): + + dependencies = [ + ('posts', '0014_auto_20201113_1444'), + ] + + operations = [ + migrations.AddField( + model_name='post', + name='old_image', + field=models.FileField(blank=True, help_text='should be 520 by 290', null=True, upload_to=posts.models.get_upload_path), + ), + ] |