} | } | ||||
if !has { | if !has { | ||||
if err := pr.UpdateCols("status, conflicted_files"); err != nil { | |||||
if err := pr.UpdateCols("merge_base", "status", "conflicted_files"); err != nil { | |||||
log.Error("Update[%d]: %v", pr.ID, err) | log.Error("Update[%d]: %v", pr.ID, err) | ||||
} | } | ||||
} | } |