# Generated by Django 3.1.7 on 2021-03-03 14:52

import uuid

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


class Migration(migrations.Migration):
    initial = True

    dependencies = [
        migrations.swappable_dependency(settings.AUTH_USER_MODEL),
    ]

    operations = [
        migrations.CreateModel(
            name='EmailOnline',
            fields=[
                (
                'id', models.UUIDField(default=uuid.uuid4, primary_key=True, serialize=False, verbose_name='Email ID')),
                ('message_subject',
                 models.CharField(blank=True, max_length=255, null=True, verbose_name='Email subject')),
                ('content', models.TextField(verbose_name='Email content')),
                ('message_date', models.DateTimeField(default=django.utils.timezone.now)),
                ('user', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE,
                                           to=settings.AUTH_USER_MODEL, verbose_name='User')),
            ],
            options={
                'verbose_name': 'Email online',
                'verbose_name_plural': 'Emails online',
            },
        ),
    ]
