mirror of
https://github.com/harness/drone.git
synced 2025-05-10 12:39:19 +08:00
update version from UpdateMergeCheckStatus method
This commit is contained in:
parent
4eeae4eda0
commit
d0eccf1cae
@ -348,6 +348,7 @@ func (s *PullReqStore) UpdateMergeCheckStatus(
|
|||||||
SET
|
SET
|
||||||
pullreq_updated = $1
|
pullreq_updated = $1
|
||||||
,pullreq_merge_check_status = $2
|
,pullreq_merge_check_status = $2
|
||||||
|
,pullreq_version = pullreq_version + 1
|
||||||
WHERE pullreq_target_repo_id = $3 AND
|
WHERE pullreq_target_repo_id = $3 AND
|
||||||
pullreq_target_branch = $4 AND
|
pullreq_target_branch = $4 AND
|
||||||
pullreq_state not in ($5, $6)`
|
pullreq_state not in ($5, $6)`
|
||||||
|
Loading…
Reference in New Issue
Block a user