Fix field mismatch in SQL for internal tasks
@@ -267,7 +267,7 @@ func (db *DB) CreateInternalTask(owner, op, tenant string) (*Task, error) {
`INSERT INTO tasks
(uuid, owner, op, status, tenant_uuid, log, requested_at)
VALUES
- (?, ?, ?, ?, ?, ?)`,
+ (?, ?, ?, ?, ?, ?, ?)`,
id, owner, op, ScheduledStatus, tenant, "", time.Now().Unix())
if err != nil {
