# Generated by Django 5.2.19 on 2026-12-02 14:25

from django.conf import settings
from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ('audit', '0002_alter_auditevent_new_state_and_more'),
        ('tenancy', '0003_taxconfig_calculation_rule_taxconfig_category_and_more'),
        migrations.swappable_dependency(settings.AUTH_USER_MODEL),
    ]

    operations = [
        migrations.AddIndex(
            model_name='auditevent',
            index=models.Index(fields=['company', 'action', '-created_at'], name='idx_aud_cmp_act_dt'),
        ),
        migrations.AddIndex(
            model_name='auditevent',
            index=models.Index(fields=['company', 'entity_type', 'entity_id'], name='idx_aud_cmp_ent'),
        ),
    ]
