# Generated by Django 3.2.23 on 2024-01-03 17:50

from django.db import migrations, models


class Migration(migrations.Migration):
    dependencies = [
        ("extras", "0102_set_null_objectchange_contenttype"),
    ]

    operations = [
        migrations.AlterField(
            model_name="objectchange",
            name="user_name",
            field=models.CharField(db_index=True, editable=False, max_length=150),
        ),
        migrations.AddIndex(
            model_name="objectchange",
            index=models.Index(fields=["changed_object_type", "changed_object_id"], name="changed_object_idx"),
        ),
        migrations.AddIndex(
            model_name="objectchange",
            index=models.Index(fields=["related_object_type", "related_object_id"], name="related_object_idx"),
        ),
        migrations.AddIndex(
            model_name="objectchange",
            index=models.Index(
                fields=["user", "changed_object_type", "changed_object_id"], name="user_changed_object_idx"
            ),
        ),
        migrations.AddIndex(
            model_name="objectchange",
            index=models.Index(
                fields=["user_name", "changed_object_type", "changed_object_id"], name="user_name_changed_object_idx"
            ),
        ),
    ]
