summaryrefslogtreecommitdiffstats
path: root/miniq/migrations/0001_initial.py
diff options
context:
space:
mode:
authorAndrew Godwin2022-11-08 23:06:29 -0700
committerAndrew Godwin2022-11-09 22:29:49 -0700
commit61c324508e62bb640b4526183d0837fc57d742c2 (patch)
tree618ee8c88ce8a28224a187dc33b7c5fad6831d04 /miniq/migrations/0001_initial.py
parent8a0a7558894afce8d25b7f0dc16775e899b72a94 (diff)
downloadtakahe-61c324508e62bb640b4526183d0837fc57d742c2.tar.gz
takahe-61c324508e62bb640b4526183d0837fc57d742c2.tar.bz2
takahe-61c324508e62bb640b4526183d0837fc57d742c2.zip
Midway point in task refactor - changing direction
Diffstat (limited to 'miniq/migrations/0001_initial.py')
-rw-r--r--miniq/migrations/0001_initial.py48
1 files changed, 0 insertions, 48 deletions
diff --git a/miniq/migrations/0001_initial.py b/miniq/migrations/0001_initial.py
deleted file mode 100644
index dc6d42b..0000000
--- a/miniq/migrations/0001_initial.py
+++ /dev/null
@@ -1,48 +0,0 @@
-# Generated by Django 4.1.3 on 2022-11-07 04:19
-
-from django.db import migrations, models
-
-
-class Migration(migrations.Migration):
-
- initial = True
-
- dependencies = []
-
- operations = [
- migrations.CreateModel(
- name="Task",
- fields=[
- (
- "id",
- models.BigAutoField(
- auto_created=True,
- primary_key=True,
- serialize=False,
- verbose_name="ID",
- ),
- ),
- (
- "type",
- models.CharField(
- choices=[
- ("identity_fetch", "Identity Fetch"),
- ("inbox_item", "Inbox Item"),
- ("follow_request", "Follow Request"),
- ("follow_acknowledge", "Follow Acknowledge"),
- ],
- max_length=500,
- ),
- ),
- ("priority", models.IntegerField(default=0)),
- ("subject", models.TextField()),
- ("payload", models.JSONField(blank=True, null=True)),
- ("error", models.TextField(blank=True, null=True)),
- ("created", models.DateTimeField(auto_now_add=True)),
- ("completed", models.DateTimeField(blank=True, null=True)),
- ("failed", models.DateTimeField(blank=True, null=True)),
- ("locked", models.DateTimeField(blank=True, null=True)),
- ("locked_by", models.CharField(blank=True, max_length=500, null=True)),
- ],
- ),
- ]