# -*- coding: utf-8 -*-
# Generated by Django 1.11.3 on 2017-08-27 22:05
from __future__ import unicode_literals

from django.db import migrations, models


class Migration(migrations.Migration):

    initial = True

    dependencies = [
    ]

    operations = [
        migrations.CreateModel(
            name='SMSMessage',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('uuid', models.UUIDField(unique=True, verbose_name='Unique identifier')),
                ('recipient', models.CharField(help_text='The `to` field in the DMS Receive SMS Interface', max_length=255, verbose_name='Recipient')),
                ('sender', models.CharField(help_text='The `from` field in the DMS Receive SMS Interface', max_length=255, verbose_name='Sender')),
                ('message', models.TextField(help_text='The `text` field in the DMS Receive SMS Interface', verbose_name='Message')),
                ('date_created', models.DateTimeField(auto_now_add=True, help_text='Date created.', verbose_name='Date created')),
                ('delivery_status', models.CharField(choices=[('pending', 'Pending'), ('sent', 'Sent'), ('delivered', 'Delivered')], default='sent', help_text='Message delivery status (if known)', max_length=255, verbose_name='Delivery status')),
                ('date_delivered', models.DateTimeField(blank=True, help_text='Date delivered.', null=True, verbose_name='Date delivered')),
            ],
            options={
                'ordering': ['-date_created'],
                'verbose_name': 'SMS message',
                'verbose_name_plural': 'SMS messages',
            },
        ),
    ]
