# 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 = [
        ('optimization', '0001_initial'),
        ('writer', '0001_initial'),
    ]

    operations = [
        migrations.AddField(
            model_name='optimizationtask',
            name='content',
            field=models.ForeignKey(help_text='The content being optimized', on_delete=django.db.models.deletion.CASCADE, related_name='optimization_tasks', to='writer.content'),
        ),
        migrations.AddIndex(
            model_name='optimizationtask',
            index=models.Index(fields=['content', 'status'], name='igny8_optim_content_25603a_idx'),
        ),
        migrations.AddIndex(
            model_name='optimizationtask',
            index=models.Index(fields=['account', 'status'], name='igny8_optim_tenant__2ee3c3_idx'),
        ),
        migrations.AddIndex(
            model_name='optimizationtask',
            index=models.Index(fields=['status', 'created_at'], name='igny8_optim_status_164ee5_idx'),
        ),
    ]
