summaryrefslogtreecommitdiff
path: root/patchwork/migrations/0029_add_list_covering_index.py
blob: c7c19f5bf2d7db5c716aa220257241c007fc2fee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# -*- coding: utf-8 -*-
from __future__ import unicode_literals

from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ('patchwork', '0028_add_comment_date_index'),
    ]

    operations = [
        migrations.AddIndex(
            model_name='patch',
            index=models.Index(
                fields=['archived', 'patch_project', 'state', 'delegate'],
                name='patch_list_covering_idx',
            ),
        ),
    ]