From a9e97a8bc6dcf1c4ea34cabb306cd7f4fdcccfa9 Mon Sep 17 00:00:00 2001 From: "M.Ravi" Date: Wed, 18 Oct 2017 09:14:05 +0200 Subject: [PATCH] Add UngelichTextSectionWithImage migration --- .../0002_ungelichtextsectionwithimage.py | 29 +++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 ungleich_page/migrations/0002_ungelichtextsectionwithimage.py diff --git a/ungleich_page/migrations/0002_ungelichtextsectionwithimage.py b/ungleich_page/migrations/0002_ungelichtextsectionwithimage.py new file mode 100644 index 00000000..9695e82e --- /dev/null +++ b/ungleich_page/migrations/0002_ungelichtextsectionwithimage.py @@ -0,0 +1,29 @@ +# -*- coding: utf-8 -*- +# Generated by Django 1.9.4 on 2017-10-17 22:42 +from __future__ import unicode_literals + +from django.db import migrations, models +import django.db.models.deletion +import filer.fields.image + + +class Migration(migrations.Migration): + + dependencies = [ + ('filer', '0004_auto_20160328_1434'), + ('ungleich_page', '0001_initial'), + ] + + operations = [ + migrations.CreateModel( + name='UngelichTextSectionWithImage', + fields=[ + ('ungelichtextsection_ptr', models.OneToOneField(auto_created=True, on_delete=django.db.models.deletion.CASCADE, parent_link=True, primary_key=True, serialize=False, to='ungleich_page.UngelichTextSection')), + ('image', filer.fields.image.FilerImageField(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='utswi_image', to='filer.Image')), + ], + options={ + 'abstract': False, + }, + bases=('ungleich_page.ungelichtextsection',), + ), + ]