diff --git a/db/sql/task.go b/db/sql/task.go index d9a9ed79e..898dc23c0 100644 --- a/db/sql/task.go +++ b/db/sql/task.go @@ -13,7 +13,7 @@ func (d *SqlDb) CreateTask(task db.Task) (db.Task, error) { func (d *SqlDb) UpdateTask(task db.Task) error { _, err := d.exec( - "update task set status=?, start=?, end=? where id=?", + "update task set status=?, start=?, `end`=? where id=?", task.Status, task.Start, task.End,