# Generated by Django 3.0.11 on 2021-03-15 16:13

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


class Migration(migrations.Migration):

    dependencies = [
        migrations.swappable_dependency(settings.AUTH_USER_MODEL),
        ('mailing', '0002_course_mailing_unique_together'),
    ]

    operations = [
        migrations.RemoveField(
            model_name='mailingevent',
            name='recipients',
        ),
        migrations.AddField(
            model_name='mailingevent',
            name='recipients',
            field=models.ManyToManyField(blank=True, related_name='mailing_events', to=settings.AUTH_USER_MODEL,
                                         verbose_name='получатели'),
        ),
        migrations.RemoveField(
            model_name='mailingevent',
            name='course_mailings',
        ),
        migrations.AddField(
            model_name='mailingevent',
            name='courses',
            field=models.ManyToManyField(blank=True, related_name='mailing_events', to='courses.Course',
                                         verbose_name='курсы'),
        ),
        migrations.RenameField(
            model_name='mailingevent',
            old_name='errors',
            new_name='error_message',
        ),
        migrations.AddField(
            model_name='mailingevent',
            name='result_message',
            field=models.TextField(blank=True, verbose_name='результат отправки'),
        ),
    ]
