# Generated by Django 4.2.29 on 2026-04-26 14:45

import datetime
from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ('finance', '0001_initial'),
    ]

    operations = [
        migrations.AddConstraint(
            model_name='payment',
            constraint=models.UniqueConstraint(condition=models.Q(('created_at__gte', datetime.datetime(2026, 4, 26, 14, 40, 18, 821035, tzinfo=datetime.timezone.utc))), fields=('invoice', 'amount', 'payment_date'), name='unique_payment_per_invoice_amount_date'),
        ),
    ]
