# Generated by Django 5.2.8 on 2025-11-20 23:27

import django.db.models.deletion
from django.db import migrations, models


class Migration(migrations.Migration):

    initial = True

    dependencies = [
        ('ai', '0001_initial'),
        ('igny8_core_auth', '0001_initial'),
    ]

    operations = [
        migrations.AddField(
            model_name='aitasklog',
            name='account',
            field=models.ForeignKey(db_column='tenant_id', on_delete=django.db.models.deletion.CASCADE, related_name='%(class)s_set', to='igny8_core_auth.account'),
        ),
        migrations.AddIndex(
            model_name='aitasklog',
            index=models.Index(fields=['task_id'], name='igny8_ai_ta_task_id_310356_idx'),
        ),
        migrations.AddIndex(
            model_name='aitasklog',
            index=models.Index(fields=['function_name', 'account'], name='igny8_ai_ta_functio_0e5a30_idx'),
        ),
        migrations.AddIndex(
            model_name='aitasklog',
            index=models.Index(fields=['status', 'created_at'], name='igny8_ai_ta_status_ed93b5_idx'),
        ),
    ]
