# Generated by Django 3.0.8 on 2020-07-06 14:39

from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ('planing', '0181_auto_20200706_1435'),
    ]

    operations = [
        migrations.AddConstraint(
            model_name='operation_resources',
            constraint=models.UniqueConstraint(condition=models.Q(location_fin=None), fields=('operation', 'resource'), name='Operation_resources_unique_constraint_01'),
        ),
        migrations.AddConstraint(
            model_name='operation_resources',
            constraint=models.UniqueConstraint(fields=('location_fin', 'operation', 'resource'), name='Operation_resources_unique_constraint_11'),
        ),
    ]
