# Generated by Django 5.0.4 on 2024-09-27 12:52

import django.db.models.deletion
import django.utils.timezone
from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ('home', '0002_predefined_data'),
    ]

    operations = [
        migrations.AlterModelOptions(
            name='botlogiclogs',
            options={'get_latest_by': 'id', 'verbose_name': 'bot logic log', 'verbose_name_plural': 'bot logic logs'},
        ),
        migrations.AlterModelOptions(
            name='content',
            options={'get_latest_by': 'id', 'verbose_name': 'content', 'verbose_name_plural': 'content'},
        ),
        migrations.AlterModelOptions(
            name='contentfilter',
            options={'get_latest_by': 'id', 'verbose_name': 'filter', 'verbose_name_plural': 'filters'},
        ),
        migrations.AlterModelOptions(
            name='messagemutator',
            options={'get_latest_by': 'id', 'verbose_name': 'message mutator', 'verbose_name_plural': 'message mutators'},
        ),
        migrations.AlterModelOptions(
            name='messagestyle',
            options={'get_latest_by': 'id', 'verbose_name': 'message style', 'verbose_name_plural': 'message styles'},
        ),
        migrations.AlterModelOptions(
            name='server',
            options={'get_latest_by': 'name', 'verbose_name': 'server', 'verbose_name_plural': 'servers'},
        ),
        migrations.AlterModelOptions(
            name='subscription',
            options={'get_latest_by': 'updated_at', 'verbose_name': 'subscription', 'verbose_name_plural': 'subscriptions'},
        ),
        migrations.AlterModelOptions(
            name='uniquecontentrule',
            options={'get_latest_by': 'id', 'verbose_name': 'unique content rule', 'verbose_name_plural': 'unique content rules'},
        ),
        migrations.AddField(
            model_name='messagestyle',
            name='colour',
            field=models.CharField(default='3498db', max_length=6),
        ),
        migrations.AddField(
            model_name='subscription',
            name='publish_threshold',
            field=models.DateTimeField(default=django.utils.timezone.now),
        ),
        migrations.AlterField(
            model_name='messagestyle',
            name='is_embed',
            field=models.BooleanField(),
        ),
        migrations.AlterField(
            model_name='messagestyle',
            name='server',
            field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, to='home.server'),
        ),
    ]
