# Generated by Django 4.2.11 on 2024-08-26 18:32

from django.db import migrations, models
import django.utils.timezone


class Migration(migrations.Migration):

    dependencies = [
        ("task", "0003_alter_task_pid"),
    ]

    operations = [
        migrations.AlterModelOptions(
            name="task",
            options={"ordering": ("-date_updated",)},
        ),
        migrations.AddField(
            model_name="task",
            name="date_created",
            field=models.DateTimeField(
                auto_now_add=True,
                db_index=True,
                default=django.utils.timezone.now,
                verbose_name="Date Created",
            ),
            preserve_default=False,
        ),
        migrations.AddField(
            model_name="task",
            name="date_updated",
            field=models.DateTimeField(
                auto_now=True, db_index=True, verbose_name="Date Updated"
            ),
        ),
        migrations.AlterField(
            model_name="tasklog",
            name="timestamp",
            field=models.DateTimeField(auto_now=True, db_index=True),
        ),
    ]
