@ -0,0 +1,32 @@
|
||||
# Generated by Django 5.0.13 on 2025-03-13 17:34
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
("authentik_tasks", "0002_alter_task_message"),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterModelOptions(
|
||||
name="task",
|
||||
options={"verbose_name": "Task", "verbose_name_plural": "Tasks"},
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name="task",
|
||||
name="uid",
|
||||
field=models.TextField(blank=True, editable=False),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name="task",
|
||||
name="description",
|
||||
field=models.TextField(blank=True, editable=False),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name="task",
|
||||
name="messages",
|
||||
field=models.JSONField(default=list, editable=False),
|
||||
),
|
||||
]
|
@ -65,8 +65,9 @@ class Task(SerializerModel):
|
||||
result = models.TextField(null=True, editable=False)
|
||||
result_ttl = models.DateTimeField(null=True, editable=False)
|
||||
|
||||
description = models.TextField(blank=True)
|
||||
messages = models.JSONField(blank=True, null=True, editable=False)
|
||||
uid = models.TextField(blank=True, editable=False)
|
||||
description = models.TextField(blank=True, editable=False)
|
||||
messages = models.JSONField(default=list, editable=False)
|
||||
|
||||
class Meta:
|
||||
verbose_name = _("Task")
|
||||
|
Reference in New Issue
Block a user