mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-04-02 13:45:10 -05:00
allow PaperlessTask.started null
This commit is contained in:
parent
1120e823ed
commit
7ae8b46ea7
@ -50,7 +50,7 @@ class Migration(migrations.Migration):
|
||||
),
|
||||
(
|
||||
"started",
|
||||
models.DateTimeField(verbose_name="started"),
|
||||
models.DateTimeField(null=True, verbose_name="started"),
|
||||
),
|
||||
("acknowledged", models.BooleanField(default=False)),
|
||||
(
|
||||
|
@ -511,7 +511,7 @@ class PaperlessTask(models.Model):
|
||||
task_id = models.CharField(max_length=128)
|
||||
name = models.CharField(max_length=256)
|
||||
created = models.DateTimeField(_("created"), auto_now=True)
|
||||
started = models.DateTimeField(_("started"))
|
||||
started = models.DateTimeField(_("started"), null=True)
|
||||
attempted_task = models.OneToOneField(
|
||||
Task,
|
||||
on_delete=models.CASCADE,
|
||||
|
Loading…
x
Reference in New Issue
Block a user