# -*- coding: utf-8 -*-
# Generated by Django 1.10.3 on 2016-12-17 09:15
from __future__ import unicode_literals

from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion


class Migration(migrations.Migration):

    dependencies = [
        ('backoffice', '0008_auto_20161216_1643'),
    ]

    operations = [
        migrations.CreateModel(
            name='NotificationToSend',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('message', models.CharField(blank=True, max_length=2048, null=True)),
                ('notifyType', models.IntegerField(choices=[(0, 'PUSH'), (1, 'EMAIL')])),
                ('status', models.IntegerField(choices=[(0, 'TO_SEND'), (1, 'SENDING'), (2, 'SENT'), (3, 'ERROR_SENDING')])),
                ('createdAt', models.DateTimeField(auto_now=True)),
                ('updatedAt', models.DateTimeField(auto_now=True)),
                ('toUserId', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='toUser', to=settings.AUTH_USER_MODEL)),
            ],
        ),
    ]
