SQL fix related to PR edited webhook

This commit is contained in:
Teemu Patja 2017-11-02 23:14:42 +02:00
parent f3be62cd55
commit 81c24b5793
No known key found for this signature in database
GPG Key ID: F5B7035E6580FD4C
1 changed files with 2 additions and 0 deletions

View File

@ -227,6 +227,8 @@ VALUES(:pr_id,
ON CONFLICT (pr_id) DO UPDATE ON CONFLICT (pr_id) DO UPDATE
SET SET
state = :state, state = :state,
issue_number = :issue_number,
issue_id = :issue_id,
updated = timezone('utc'::text, now()), updated = timezone('utc'::text, now()),
commit_sha = :commit_sha; commit_sha = :commit_sha;