From e185da74362bf4bb526a79d5929731c85409a005 Mon Sep 17 00:00:00 2001 From: Stephan Telling Date: Sun, 30 Apr 2017 14:20:36 +0200 Subject: [PATCH] add migrations for the OutgoingEmail model --- src/utils/migrations/0001_initial.py | 34 ++++++++++++++++++++++++++++ src/utils/migrations/__init__.py | 0 2 files changed, 34 insertions(+) create mode 100644 src/utils/migrations/0001_initial.py create mode 100644 src/utils/migrations/__init__.py diff --git a/src/utils/migrations/0001_initial.py b/src/utils/migrations/0001_initial.py new file mode 100644 index 00000000..96ada4b1 --- /dev/null +++ b/src/utils/migrations/0001_initial.py @@ -0,0 +1,34 @@ +# -*- coding: utf-8 -*- +# Generated by Django 1.10.5 on 2017-04-30 12:18 +from __future__ import unicode_literals + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + initial = True + + dependencies = [ + ] + + operations = [ + migrations.CreateModel( + name='OutgoingEmail', + fields=[ + ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), + ('created', models.DateTimeField(auto_now_add=True)), + ('updated', models.DateTimeField(auto_now=True)), + ('subject', models.CharField(max_length=500)), + ('text_template', models.TextField()), + ('html_template', models.TextField(blank=True)), + ('recipient', models.CharField(max_length=500)), + ('sender', models.CharField(max_length=500)), + ('attachment', models.FileField(blank=True, upload_to='')), + ('processed', models.BooleanField(default=False)), + ], + options={ + 'abstract': False, + }, + ), + ] diff --git a/src/utils/migrations/__init__.py b/src/utils/migrations/__init__.py new file mode 100644 index 00000000..e69de29b