Fix hugsql comment

This commit is contained in:
kagel 2016-09-12 19:50:32 +03:00
parent 8fb363218a
commit a87b8bb56e

View File

@ -129,7 +129,7 @@ SET contract_address = :contract_address
FROM t FROM t
RETURNING t.issue_id, t.issue_number, t.title, t.transaction_hash, t.contract_address, t.login, t.repo, t.repo_id; RETURNING t.issue_id, t.issue_number, t.title, t.transaction_hash, t.contract_address, t.login, t.repo, t.repo_id;
-- :name update-comment-id :<! :1 -- :name update-comment-id :! :n
-- :doc updates comment-id for a given issue -- :doc updates comment-id for a given issue
UPDATE issues UPDATE issues
SET comment_id = :comment_id SET comment_id = :comment_id