mirror of
https://github.com/semaphoreui/semaphore.git
synced 2025-01-20 23:39:56 +01:00
fix(be): sql query for schedule updating
This commit is contained in:
parent
9c5c155f99
commit
46a9b5103c
@ -39,7 +39,7 @@ func (d *SqlDb) UpdateSchedule(schedule db.Schedule) error {
|
|||||||
_, err := d.exec("update project__schedule set "+
|
_, err := d.exec("update project__schedule set "+
|
||||||
"cron_format=?, "+
|
"cron_format=?, "+
|
||||||
"repository_id=?, "+
|
"repository_id=?, "+
|
||||||
"last_commit_hash = NULL ",
|
"last_commit_hash = NULL "+
|
||||||
"where project_id=? and id=?",
|
"where project_id=? and id=?",
|
||||||
schedule.CronFormat,
|
schedule.CronFormat,
|
||||||
schedule.RepositoryID,
|
schedule.RepositoryID,
|
||||||
|
Loading…
Reference in New Issue
Block a user