# Generated by Django 6.0.2 on 2026-03-07 16:25

from django.db import migrations, models


class Migration(migrations.Migration):

    replaces = [('core', '0045_agentlink_is_background_result_count'), ('core', '0046_toolresultlink_tool_name'), ('core', '0047_simplify_agent_link'), ('core', '0048_add_is_background_to_agent_link'), ('core', '0049_add_started_at_to_agent_link')]

    dependencies = [
        ('core', '0044_reclassify_clear_command_as_system'),
    ]

    operations = [
        migrations.AddField(
            model_name='agentlink',
            name='is_background',
            field=models.BooleanField(default=False),
        ),
        migrations.AddField(
            model_name='agentlink',
            name='started_at',
            field=models.DateTimeField(blank=True, null=True),
        ),
        migrations.AddField(
            model_name='toolresultlink',
            name='tool_name',
            field=models.CharField(default='', max_length=255),
        ),
        migrations.AddField(
            model_name='toolresultlink',
            name='tool_result_at',
            field=models.DateTimeField(blank=True, null=True),
        ),
        migrations.AddIndex(
            model_name='toolresultlink',
            index=models.Index(fields=['session', 'tool_name'], name='idx_tool_result_link_by_name'),
        ),
    ]
