# Generated by Django 2.2.7 on 2019-12-05 22:37

import datetime
from django.db import migrations, models


class Migration(migrations.Migration):

    initial = True

    dependencies = [
    ]

    operations = [
        migrations.CreateModel(
            name='Broadcast',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('event_type', models.CharField(max_length=50)),
                ('datetime', models.DateTimeField(blank=True, default=datetime.datetime.now)),
                ('status', models.CharField(max_length=255)),
                ('jobId', models.CharField(blank=True, max_length=255)),
                ('operation', models.CharField(default='', max_length=255)),
                ('message', models.TextField(default='')),
                ('extra', models.TextField(default='')),
                ('action_link', models.TextField(default='')),
                ('group', models.CharField(max_length=20)),
            ],
            options={
                'abstract': False,
            },
        ),
        migrations.CreateModel(
            name='Notification',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('event_type', models.CharField(max_length=50)),
                ('datetime', models.DateTimeField(blank=True, default=datetime.datetime.now)),
                ('status', models.CharField(max_length=255)),
                ('jobId', models.CharField(blank=True, max_length=255)),
                ('operation', models.CharField(default='', max_length=255)),
                ('message', models.TextField(default='')),
                ('extra', models.TextField(default='')),
                ('action_link', models.TextField(default='')),
                ('user', models.CharField(db_index=True, max_length=20)),
                ('read', models.BooleanField(default=False)),
                ('deleted', models.BooleanField(default=False)),
            ],
            options={
                'abstract': False,
            },
        ),
    ]
