# Generated by Django 5.0.1 on 2024-02-06 18:02

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


class Migration(migrations.Migration):

    dependencies = [
        ("authentik_events", "0004_systemtask"),
    ]

    operations = [
        migrations.RemoveField(
            model_name="systemtask",
            name="finish_timestamp",
        ),
        migrations.RemoveField(
            model_name="systemtask",
            name="start_timestamp",
        ),
        migrations.AddField(
            model_name="systemtask",
            name="duration",
            field=models.FloatField(default=0),
        ),
        migrations.AddField(
            model_name="systemtask",
            name="finish_timestamp",
            field=models.DateTimeField(default=django.utils.timezone.now),
        ),
        migrations.AddField(
            model_name="systemtask",
            name="start_timestamp",
            field=models.DateTimeField(default=django.utils.timezone.now),
        ),
    ]
