# Generated by Django 2.2.16 on 2020-11-23 09:19

from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ('django_mailcenter', '0002_auto_20200901_2146'),
    ]

    operations = [
        migrations.RemoveField(
            model_name='mailfordelivery',
            name='error_time',
        ),
        migrations.AddField(
            model_name='mailfordelivery',
            name='active',
            field=models.NullBooleanField(help_text='The task is to be runned or is running...', verbose_name='Active'),
        ),
        migrations.AddField(
            model_name='mailfordelivery',
            name='expire_time',
            field=models.DateTimeField(blank=True, help_text='Task expire time is the time when the task deactived. A task is expired, it will never be runned, even it is not runned yet.', null=True, verbose_name='Expire Time'),
        ),
        migrations.AddField(
            model_name='mailfordelivery',
            name='ready_time',
            field=models.DateTimeField(blank=True, help_text='Task ready time is the time when the task set ready. Task can only start after READY.', null=True, verbose_name='Ready Time'),
        ),
        migrations.AddField(
            model_name='mailfordelivery',
            name='success',
            field=models.NullBooleanField(help_text='Task success or not.', verbose_name='Success'),
        ),
        migrations.AlterField(
            model_name='mailfordelivery',
            name='add_time',
            field=models.DateTimeField(auto_now_add=True, help_text='Task add time is the time when the task created.', verbose_name='Add Time'),
        ),
        migrations.AlterField(
            model_name='mailfordelivery',
            name='done_time',
            field=models.DateTimeField(blank=True, help_text='Task done time is the time when the task finished .', null=True, verbose_name='Done Time'),
        ),
        migrations.AlterField(
            model_name='mailfordelivery',
            name='mod_time',
            field=models.DateTimeField(auto_now=True, help_text='Task modify time is the time when the task modified.', verbose_name='Modify Time'),
        ),
        migrations.AlterField(
            model_name='mailfordelivery',
            name='start_time',
            field=models.DateTimeField(blank=True, help_text='Task start time is the time when the task start to run.', null=True, verbose_name='Start Time'),
        ),
        migrations.AlterField(
            model_name='mailfordelivery',
            name='status',
            field=models.IntegerField(blank=True, choices=[(0, 'Task New'), (10, 'Task Ready'), (20, 'Task Doing'), (30, 'Task Done'), (40, 'Task Failed')], default=0, help_text='Task has New, Ready, Doing, Done and Failed status.', null=True, verbose_name='Status'),
        ),
        migrations.AlterField(
            model_name='mailfordelivery',
            name='worker',
            field=models.CharField(blank=True, max_length=128, null=True, verbose_name='Worker ID'),
        ),
    ]
