# Generated by Django 4.2.27 on 2026-01-26 16:40

# Django
from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ('incursions', '0028_alter_badge_color_alter_badge_type'),
    ]

    operations = [
        migrations.AlterModelOptions(
            name='badge',
            options={'default_permissions': (), 'ordering': ['order', 'name'], 'verbose_name': 'Waitlist - Badge', 'verbose_name_plural': 'Waitlist - Badges'},
        ),
        migrations.AlterModelOptions(
            name='incursioninfluence',
            options={'default_permissions': (), 'get_latest_by': 'timestamp', 'ordering': ['-timestamp'], 'verbose_name': 'IncursionInfluence', 'verbose_name_plural': 'IncursionInfluences'},
        ),
        migrations.AlterUniqueTogether(
            name='characterbadges',
            unique_together=set(),
        ),
        migrations.AddIndex(
            model_name='badge',
            index=models.Index(fields=['order'], name='badge_order_idx'),
        ),
        migrations.AddIndex(
            model_name='characterbadges',
            index=models.Index(fields=['badge'], name='character_badge_idx'),
        ),
        migrations.AddIndex(
            model_name='incursioninfluence',
            index=models.Index(fields=['incursion', 'timestamp'], name='incursion_ts_idx'),
        ),
        migrations.AddConstraint(
            model_name='characterbadges',
            constraint=models.UniqueConstraint(fields=('character', 'badge'), name='uniq_character_badge'),
        ),
    ]
