# Generated by Django 5.2.8 on 2025-12-04 15:27

from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ('automation', '0003_alter_automationconfig_options_and_more'),
    ]

    operations = [
        migrations.AddField(
            model_name='automationrun',
            name='cancelled_at',
            field=models.DateTimeField(blank=True, help_text='When automation was cancelled', null=True),
        ),
        migrations.AddField(
            model_name='automationrun',
            name='paused_at',
            field=models.DateTimeField(blank=True, help_text='When automation was paused', null=True),
        ),
        migrations.AddField(
            model_name='automationrun',
            name='resumed_at',
            field=models.DateTimeField(blank=True, help_text='When automation was last resumed', null=True),
        ),
        migrations.AlterField(
            model_name='automationrun',
            name='status',
            field=models.CharField(choices=[('running', 'Running'), ('paused', 'Paused'), ('cancelled', 'Cancelled'), ('completed', 'Completed'), ('failed', 'Failed')], db_index=True, default='running', max_length=20),
        ),
    ]
