summaryrefslogtreecommitdiffstats
path: root/stator/migrations
diff options
context:
space:
mode:
authorAndrew Godwin2022-11-09 22:29:33 -0700
committerAndrew Godwin2022-11-09 22:29:49 -0700
commit7746abbbb7700fa918450101bbc6d29ed9b4b608 (patch)
tree8768efd8201faa2fee18e5d3b46f33785002f5d6 /stator/migrations
parent61c324508e62bb640b4526183d0837fc57d742c2 (diff)
downloadtakahe-7746abbbb7700fa918450101bbc6d29ed9b4b608.tar.gz
takahe-7746abbbb7700fa918450101bbc6d29ed9b4b608.tar.bz2
takahe-7746abbbb7700fa918450101bbc6d29ed9b4b608.zip
Most of the way through the stator refactor
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)),
],
),
]