# Generated by Django 5.2.7 on 2026-05-23 18:20

from django.db import migrations, models


class Migration(migrations.Migration):
    dependencies = [
        ("market", "0003_remove_market_type"),
    ]

    operations = [
        migrations.AlterModelOptions(
            name="marketoption",
            options={"ordering": ["text"]},
        ),
        migrations.RemoveConstraint(
            model_name="marketoption",
            name="unique_market_option_position",
        ),
        migrations.RemoveIndex(
            model_name="marketoption",
            name="market_mark_market__8679ce_idx",
        ),
        migrations.RemoveField(
            model_name="marketoption",
            name="position",
        ),
        migrations.AddIndex(
            model_name="marketoption",
            index=models.Index(
                fields=["market"], name="market_mark_market__67f63b_idx"
            ),
        ),
        migrations.AddConstraint(
            model_name="marketoption",
            constraint=models.UniqueConstraint(
                fields=("market", "text"), name="unique_market_option_text"
            ),
        ),
    ]
