# -*- coding: utf-8 -*-
from __future__ import unicode_literals

from django.db import models, migrations


class Migration(migrations.Migration):

    dependencies = [
        ('surveys', '0007_question_is_for_global_satisfaction'),
    ]

    operations = [
        migrations.AlterModelOptions(
            name='pool',
            options={'ordering': ['-is_global', 'sort_order']},
        ),
        migrations.AddField(
            model_name='pool',
            name='sort_order',
            field=models.IntegerField(blank=True, default=0, db_index=True),
            preserve_default=False,
        ),
        migrations.AlterModelOptions(
            name='question',
            options={'ordering': ['sort_order']},
        ),
        migrations.AddField(
            model_name='question',
            name='sort_order',
            field=models.IntegerField(blank=True, db_index=True, default=0),
            preserve_default=False,
        ),
        migrations.AlterModelOptions(
            name='choice',
            options={'ordering': ['sort_order']},
        ),
        migrations.AddField(
            model_name='choice',
            name='sort_order',
            field=models.IntegerField(blank=True, default=0, db_index=True),
            preserve_default=False,
        ),
        migrations.AlterModelOptions(
            name='surveypool',
            options={'ordering': ('-pool__is_global', 'pool__sort_order')},
        ),
    ]
