add migrations for the OutgoingEmail model

This commit is contained in:
Stephan Telling 2017-04-30 14:20:36 +02:00
parent 098b6ea83c
commit e185da7436
No known key found for this signature in database
GPG key ID: D4892289F36ADA9B
2 changed files with 34 additions and 0 deletions

View file

@ -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,
},
),
]

View file