# Generated by Django 2.2.6 on 2019-11-23 02:57

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


class Migration(migrations.Migration):

    dependencies = [
        migrations.swappable_dependency(settings.AUTH_USER_MODEL),
        ('rotbot', '0007_auto_20191121_2056'),
    ]

    operations = [
        migrations.CreateModel(
            name='Adjective',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('content', models.CharField(max_length=16, unique=True)),
                ('created', models.DateField(auto_now_add=True)),
                ('banned', models.BooleanField(default=False)),
                ('ban_created', models.DateField(blank=True, null=True)),
                ('banned_by_irc_user', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.PROTECT, related_name='adjective_banned_by_irc_user', to='rotbot.User')),
                ('banned_by_web_user', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.PROTECT, related_name='adjective_banned_by_web_user', to=settings.AUTH_USER_MODEL)),
                ('irc_user', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.PROTECT, to='rotbot.User')),
                ('web_user', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.PROTECT, to=settings.AUTH_USER_MODEL)),
            ],
        ),
        migrations.CreateModel(
            name='NickReply',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('content', models.CharField(max_length=200, unique=True)),
                ('created', models.DateField(auto_now_add=True)),
                ('banned', models.BooleanField(default=False)),
                ('ban_created', models.DateField(blank=True, null=True)),
                ('banned_by_irc_user', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.PROTECT, related_name='nickreply_banned_by_irc_user', to='rotbot.User')),
                ('banned_by_web_user', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.PROTECT, related_name='nickreply_banned_by_web_user', to=settings.AUTH_USER_MODEL)),
                ('irc_user', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.PROTECT, to='rotbot.User')),
                ('web_user', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.PROTECT, to=settings.AUTH_USER_MODEL)),
            ],
        ),
        migrations.RenameField(
            model_name='curseword',
            old_name='word',
            new_name='content',
        ),
        migrations.AddField(
            model_name='curseword',
            name='ban_created',
            field=models.DateField(blank=True, null=True),
        ),
        migrations.AddField(
            model_name='curseword',
            name='banned_by_irc_user',
            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.PROTECT, related_name='curseword_banned_by_irc_user', to='rotbot.User'),
        ),
        migrations.AddField(
            model_name='curseword',
            name='banned_by_web_user',
            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.PROTECT, related_name='curseword_banned_by_web_user', to=settings.AUTH_USER_MODEL),
        ),
        migrations.DeleteModel(
            name='CurseAdjective',
        ),
    ]
