# Generated by Django 5.0.4 on 2024-08-14 20:41

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


class Migration(migrations.Migration):

    dependencies = [
        ('home', '0020_guildsettings'),
    ]

    operations = [
        migrations.AlterModelOptions(
            name='guildsettings',
            options={'get_latest_by': 'id', 'verbose_name': 'guild settings', 'verbose_name_plural': 'guild settings'},
        ),
        migrations.RemoveField(
            model_name='savedguilds',
            name='default_embed_colour',
        ),
        migrations.AddField(
            model_name='guildsettings',
            name='active',
            field=models.BooleanField(default=True, help_text='Subscriptions of inactive guilds will also be treated as inactive', verbose_name='Active'),
        ),
        migrations.AlterField(
            model_name='guildsettings',
            name='guild_id',
            field=models.CharField(help_text='Discord snowflake ID for the represented guild.', max_length=128, unique=True, verbose_name='guild id'),
        ),
        migrations.AlterField(
            model_name='savedguilds',
            name='id',
            field=models.AutoField(primary_key=True, serialize=False, verbose_name='ID'),
        ),
        migrations.AlterField(
            model_name='subscription',
            name='active',
            field=models.BooleanField(default=True, verbose_name='Active'),
        ),
        migrations.AlterField(
            model_name='subscription',
            name='article_fetch_image',
            field=models.BooleanField(default=True, help_text='Will the resulting article have an image?', verbose_name='Fetch Article Images'),
        ),
        migrations.AlterField(
            model_name='subscription',
            name='creation_datetime',
            field=models.DateTimeField(default=django.utils.timezone.now, editable=False, verbose_name='Created At'),
        ),
        migrations.AlterField(
            model_name='subscription',
            name='embed_colour',
            field=models.CharField(blank=True, default='3498db', max_length=6, verbose_name='Embed Colour'),
        ),
        migrations.AlterField(
            model_name='subscription',
            name='extra_notes',
            field=models.CharField(blank=True, max_length=250, null=True, verbose_name='Extra Notes'),
        ),
        migrations.AlterField(
            model_name='subscription',
            name='guild_id',
            field=models.CharField(max_length=128, verbose_name='Guild ID'),
        ),
        migrations.AlterField(
            model_name='subscription',
            name='name',
            field=models.CharField(max_length=32, verbose_name='Name'),
        ),
        migrations.AlterField(
            model_name='subscription',
            name='published_threshold',
            field=models.DateTimeField(blank=True, default=django.utils.timezone.now, verbose_name='Published Threshold'),
        ),
        migrations.AlterField(
            model_name='subscription',
            name='url',
            field=models.URLField(verbose_name='URL'),
        ),
        migrations.AlterField(
            model_name='trackedcontent',
            name='blocked',
            field=models.BooleanField(default=False, verbose_name='Blocked'),
        ),
        migrations.AlterField(
            model_name='trackedcontent',
            name='channel_id',
            field=models.CharField(max_length=128, verbose_name='Channel ID'),
        ),
        migrations.AlterField(
            model_name='trackedcontent',
            name='creation_datetime',
            field=models.DateTimeField(default=django.utils.timezone.now, editable=False, verbose_name='Created At'),
        ),
        migrations.AlterField(
            model_name='trackedcontent',
            name='guid',
            field=models.CharField(help_text='RSS provided GUID of the content', max_length=256, verbose_name='GUID'),
        ),
        migrations.AlterField(
            model_name='trackedcontent',
            name='id',
            field=models.AutoField(primary_key=True, serialize=False, verbose_name='ID'),
        ),
        migrations.AlterField(
            model_name='trackedcontent',
            name='message_id',
            field=models.CharField(max_length=128, verbose_name='Message ID'),
        ),
        migrations.AlterField(
            model_name='trackedcontent',
            name='title',
            field=models.CharField(max_length=728, verbose_name='Title'),
        ),
        migrations.AlterField(
            model_name='trackedcontent',
            name='url',
            field=models.URLField(verbose_name='URL'),
        ),
    ]
