tasks: add completed flag
in some cases, the tasks are setting percent to 100 and crashing later
This commit is contained in:
@@ -251,6 +251,7 @@ CREATE TABLE IF NOT EXISTS tasks(
|
||||
type VARCHAR(32) NOT NULL,
|
||||
argsJson TEXT,
|
||||
pending BOOLEAN DEFAULT true,
|
||||
completed BOOLEAN DEFAULT false,
|
||||
percent INTEGER DEFAULT 0,
|
||||
message TEXT,
|
||||
errorJson TEXT,
|
||||
|
||||
Reference in New Issue
Block a user