# Generated by Django 5.2.4 on 2026-06-18 14:31

from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ('api', '0095_sftplog'),
    ]

    operations = [
        migrations.CreateModel(
            name='Cron',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('command', models.TextField(blank=True, null=True)),
                ('extra_data', models.TextField(blank=True, null=True)),
                ('start', models.BooleanField(default=False)),
                ('success', models.BooleanField(default=False)),
                ('complete', models.BooleanField(default=False)),
                ('skip', models.BooleanField(db_comment='if this is true, when do cron running checking skip this row, and add 1 more record with skip = 1', default=False)),
                ('start_at', models.DateTimeField(blank=True, null=True)),
                ('complete_at', models.DateTimeField(blank=True, null=True)),
            ],
            options={
                'db_table': 'cron',
            },
        ),
    ]
