# Generated by Django 5.0.4 on 2024-07-05 13:29

from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ('home', '0011_remove_trackedcontent_unique_guid_guild_id_pair_and_more'),
    ]

    operations = [
        migrations.RemoveConstraint(
            model_name='trackedcontent',
            name='unique guid & guild_id pair',
        ),
        migrations.RemoveConstraint(
            model_name='trackedcontent',
            name='unique url & guild_id pair',
        ),
        migrations.AddField(
            model_name='subscription',
            name='article_fetch_image',
            field=models.BooleanField(default=True, help_text='Will the resulting article have an image?'),
        ),
        migrations.AddConstraint(
            model_name='trackedcontent',
            constraint=models.UniqueConstraint(fields=('guid', 'channel_id'), name='unique guid & channel_id pair'),
        ),
        migrations.AddConstraint(
            model_name='trackedcontent',
            constraint=models.UniqueConstraint(fields=('url', 'channel_id'), name='unique url & channel_id pair'),
        ),
    ]
