From 7746abbbb7700fa918450101bbc6d29ed9b4b608 Mon Sep 17 00:00:00 2001 From: Andrew Godwin Date: Wed, 9 Nov 2022 22:29:33 -0700 Subject: Most of the way through the stator refactor --- stator/migrations/0001_initial.py | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'stator/migrations') diff --git a/stator/migrations/0001_initial.py b/stator/migrations/0001_initial.py index f485836..d56ed5c 100644 --- a/stator/migrations/0001_initial.py +++ b/stator/migrations/0001_initial.py @@ -1,4 +1,4 @@ -# Generated by Django 4.1.3 on 2022-11-09 05:46 +# Generated by Django 4.1.3 on 2022-11-10 03:24 from django.db import migrations, models @@ -11,7 +11,7 @@ class Migration(migrations.Migration): operations = [ migrations.CreateModel( - name="StatorTask", + name="StatorError", fields=[ ( "id", @@ -24,8 +24,11 @@ class Migration(migrations.Migration): ), ("model_label", models.CharField(max_length=200)), ("instance_pk", models.CharField(max_length=200)), - ("locked_until", models.DateTimeField(blank=True, null=True)), - ("priority", models.IntegerField(default=0)), + ("from_state", models.CharField(max_length=200)), + ("to_state", models.CharField(max_length=200)), + ("date", models.DateTimeField(auto_now_add=True)), + ("error", models.TextField()), + ("error_details", models.TextField(blank=True, null=True)), ], ), ] -- cgit v1.2.3