# Generated by Django 5.2.7 on 2026-06-10 17:13

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


class Migration(migrations.Migration):

    dependencies = [
        ('chat', '0002_chatreadstatus'),
        migrations.swappable_dependency(settings.AUTH_USER_MODEL),
    ]

    operations = [
        migrations.AlterUniqueTogether(
            name='messagereaction',
            unique_together=set(),
        ),
        migrations.AddConstraint(
            model_name='messagereaction',
            constraint=models.UniqueConstraint(condition=models.Q(('is_deleted', False)), fields=('message', 'user'), name='unique_active_reaction_per_user_message'),
        ),
    ]
