mirror of
https://github.com/semaphoreui/semaphore.git
synced 2024-11-23 12:30:41 +01:00
fix(be): quote 'end' column name for postgres
This commit is contained in:
parent
f8b0195f88
commit
7f52d93441
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user