Fix column spec in ON CONFLICT clause

This commit is contained in:
Vitaliy Vlasov 2018-04-10 18:17:31 +03:00 committed by Tetiana Churikova
parent ae6a08cd0c
commit 97d5c64548

View File

@ -220,7 +220,7 @@ VALUES(:pr_id,
:commit_sha,
:user_id,
:state)
ON CONFLICT (pr_id) DO UPDATE
ON CONFLICT (pr_id,issue_id) DO UPDATE
SET
state = :state,
issue_number = :issue_number,