# Generated by Django 5.2.15 on 2026-06-16 09:18

from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ('technical', '0003_historicalsslcertificate_historicalwordpresssite_and_more'),
    ]

    operations = [
        migrations.RemoveConstraint(
            model_name='wordpressplugin',
            name='uniq_wordpress_plugin_slug_per_site',
        ),
        migrations.RemoveConstraint(
            model_name='wordpresstheme',
            name='uniq_wordpress_theme_slug_per_site',
        ),
        migrations.AddConstraint(
            model_name='wordpressplugin',
            constraint=models.UniqueConstraint(condition=models.Q(('slug', ''), _negated=True), fields=('wordpress_site', 'slug'), name='uniq_wordpress_plugin_slug_per_site'),
        ),
        migrations.AddConstraint(
            model_name='wordpresstheme',
            constraint=models.UniqueConstraint(condition=models.Q(('slug', ''), _negated=True), fields=('wordpress_site', 'slug'), name='uniq_wordpress_theme_slug_per_site'),
        ),
    ]
