summaryrefslogtreecommitdiffstats
path: root/stator/migrations
diff options
context:
space:
mode:
Diffstat (limited to 'stator/migrations')
-rw-r--r--stator/migrations/0001_initial.py11
1 files changed, 7 insertions, 4 deletions
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)),
],
),
]