# -*- coding: utf-8 -*-
# Generated by Django 1.11.16 on 2018-10-26 09:51
from __future__ import absolute_import
from __future__ import unicode_literals

from django.db import migrations


class Migration(migrations.Migration):

    dependencies = [
        ('form_processor', '0074_casetransaction__client_date'),
    ]

    operations = [
        migrations.AlterIndexTogether(
            name='commcarecasesql',
            index_together=set([
                ('owner_id', 'server_modified_on'),
                ('domain', 'owner_id', 'closed'),
                ('domain', 'external_id', 'type'),
                ('domain', 'type')]),
        ),
    ]

# -*- coding: utf-8 -*-
# Generated by Django 1.11.16 on 2018-10-26 09:51
from __future__ import absolute_import
from __future__ import unicode_literals

from django.db import migrations
from corehq.util.django_migrations import AlterIndexIfNotExists


class Migration(migrations.Migration):

    dependencies = [
        ('form_processor', '0074_casetransaction__client_date'),
    ]

    operations = [
        AlterIndexIfNotExists(
            name='commcarecasesql',
            index_together=set([
                ('owner_id', 'server_modified_on'),
                ('domain', 'owner_id', 'closed'),
                ('domain', 'external_id', 'type'),
                ('domain', 'type')]),
        ),
    ]

create index only if not present for effective roll out