mirror of
https://github.com/status-im/open-bounty.git
synced 2025-01-11 10:06:20 +00:00
Bugfix
This commit is contained in:
parent
9e8ecd50a3
commit
e1c7b08174
@ -101,11 +101,12 @@ RETURNING repo_id, issue_id, issue_number, title, address, commit_id;
|
||||
|
||||
-- :name create-pull-request! :! :n
|
||||
-- :doc creates pull request
|
||||
INSERT INTO pull_requests (repo_id, pr_id, pr_number, commit_id, user_id)
|
||||
INSERT INTO pull_requests (repo_id, pr_id, pr_number, issue_number, commit_id, user_id)
|
||||
SELECT
|
||||
:repo_id,
|
||||
:pr_id,
|
||||
:pr_number,
|
||||
:issue_number,
|
||||
:commit_id,
|
||||
:user_id
|
||||
WHERE NOT exists(SELECT 1
|
||||
|
Loading…
x
Reference in New Issue
Block a user