{"action":"closed","number":261,"pull_request":{"url":"https://api.github.com/repos/alphagov/pay-direct-debit-connector/pulls/261","id":206796499,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA2Nzk2NDk5","html_url":"https://github.com/alphagov/pay-direct-debit-connector/pull/261","diff_url":"https://github.com/alphagov/pay-direct-debit-connector/pull/261.diff","patch_url":"https://github.com/alphagov/pay-direct-debit-connector/pull/261.patch","issue_url":"https://api.github.com/repos/alphagov/pay-direct-debit-connector/issues/261","number":261,"state":"closed","locked":false,"title":"PP-4043 Drop UNIQUE constraint gateway_accounts_organisation_key","user":{"login":"georgeracu","id":1834108,"node_id":"MDQ6VXNlcjE4MzQxMDg=","avatar_url":"https://avatars1.githubusercontent.com/u/1834108?v=4","gravatar_id":"","url":"https://api.github.com/users/georgeracu","html_url":"https://github.com/georgeracu","followers_url":"https://api.github.com/users/georgeracu/followers","following_url":"https://api.github.com/users/georgeracu/following{/other_user}","gists_url":"https://api.github.com/users/georgeracu/gists{/gist_id}","starred_url":"https://api.github.com/users/georgeracu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/georgeracu/subscriptions","organizations_url":"https://api.github.com/users/georgeracu/orgs","repos_url":"https://api.github.com/users/georgeracu/repos","events_url":"https://api.github.com/users/georgeracu/events{/privacy}","received_events_url":"https://api.github.com/users/georgeracu/received_events","type":"User","site_admin":false},"body":"- This is necessary as when updating column `organisation` in table\r\n`gateway_accounts` it fails for the same value. Access token can change,\r\nbut the organisation will be the same when a new token is issued for an\r\nexisting merchant app.","created_at":"2018-08-07T19:03:17Z","updated_at":"2019-01-02T11:24:42Z","closed_at":"2019-01-02T11:24:42Z","merged_at":null,"merge_commit_sha":"7bf98414ce6b329df64120bb005c3660de073471","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/alphagov/pay-direct-debit-connector/pulls/261/commits","review_comments_url":"https://api.github.com/repos/alphagov/pay-direct-debit-connector/pulls/261/comments","review_comment_url":"https://api.github.com/repos/alphagov/pay-direct-debit-connector/pulls/comments{/number}","comments_url":"https://api.github.com/repos/alphagov/pay-direct-debit-connector/issues/261/comments","statuses_url":"https://api.github.com/repos/alphagov/pay-direct-debit-connector/statuses/2d272665baf0fe20418a3228c4625777d1667d5b","head":{"label":"alphagov:PP-4043-drop-organisation-constraint","ref":"PP-4043-drop-organisation-constraint","sha":"2d272665baf0fe20418a3228c4625777d1667d5b","user":{"login":"alphagov","id":596977,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU5Njk3Nw==","avatar_url":"https://avatars0.githubusercontent.com/u/596977?v=4","gravatar_id":"","url":"https://api.github.com/users/alphagov","html_url":"https://github.com/alphagov","followers_url":"https://api.github.com/users/alphagov/followers","following_url":"https://api.github.com/users/alphagov/following{/other_user}","gists_url":"https://api.github.com/users/alphagov/gists{/gist_id}","starred_url":"https://api.github.com/users/alphagov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphagov/subscriptions","organizations_url":"https://api.github.com/users/alphagov/orgs","repos_url":"https://api.github.com/users/alphagov/repos","events_url":"https://api.github.com/users/alphagov/events{/privacy}","received_events_url":"https://api.github.com/users/alphagov/received_events","type":"Organization","site_admin":false},"repo":{"id":107574547,"node_id":"MDEwOlJlcG9zaXRvcnkxMDc1NzQ1NDc=","name":"pay-direct-debit-connector","full_name":"alphagov/pay-direct-debit-connector","private":false,"owner":{"login":"alphagov","id":596977,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU5Njk3Nw==","avatar_url":"https://avatars0.githubusercontent.com/u/596977?v=4","gravatar_id":"","url":"https://api.github.com/users/alphagov","html_url":"https://github.com/alphagov","followers_url":"https://api.github.com/users/alphagov/followers","following_url":"https://api.github.com/users/alphagov/following{/other_user}","gists_url":"https://api.github.com/users/alphagov/gists{/gist_id}","starred_url":"https://api.github.com/users/alphagov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphagov/subscriptions","organizations_url":"https://api.github.com/users/alphagov/orgs","repos_url":"https://api.github.com/users/alphagov/repos","events_url":"https://api.github.com/users/alphagov/events{/privacy}","received_events_url":"https://api.github.com/users/alphagov/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/alphagov/pay-direct-debit-connector","description":null,"fork":false,"url":"https://api.github.com/repos/alphagov/pay-direct-debit-connector","forks_url":"https://api.github.com/repos/alphagov/pay-direct-debit-connector/forks","keys_url":"https://api.github.com/repos/alphagov/pay-direct-debit-connector/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alphagov/pay-direct-debit-connector/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alphagov/pay-direct-debit-connector/teams","hooks_url":"https://api.github.com/repos/alphagov/pay-direct-debit-connector/hooks","issue_events_url":"https://api.github.com/repos/alphagov/pay-direct-debit-connector/issues/events{/number}","events_url":"https://api.github.com/repos/alphagov/pay-direct-debit-connector/events","assignees_url":"https://api.github.com/repos/alphagov/pay-direct-debit-connector/assignees{/user}","branches_url":"https://api.github.com/repos/alphagov/pay-direct-debit-connector/branches{/branch}","tags_url":"https://api.github.com/repos/alphagov/pay-direct-debit-connector/tags","blobs_url":"https://api.github.com/repos/alphagov/pay-direct-debit-connector/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alphagov/pay-direct-debit-connector/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alphagov/pay-direct-debit-connector/git/refs{/sha}","trees_url":"https://api.github.com/repos/alphagov/pay-direct-debit-connector/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alphagov/pay-direct-debit-connector/statuses/{sha}","languages_url":"https://api.github.com/repos/alphagov/pay-direct-debit-connector/languages","stargazers_url":"https://api.github.com/repos/alphagov/pay-direct-debit-connector/stargazers","contributors_url":"https://api.github.com/repos/alphagov/pay-direct-debit-connector/contributors","subscribers_url":"https://api.github.com/repos/alphagov/pay-direct-debit-connector/subscribers","subscription_url":"https://api.github.com/repos/alphagov/pay-direct-debit-connector/subscription","commits_url":"https://api.github.com/repos/alphagov/pay-direct-debit-connector/commits{/sha}","git_commits_url":"https://api.github.com/repos/alphagov/pay-direct-debit-connector/git/commits{/sha}","comments_url":"https://api.github.com/repos/alphagov/pay-direct-debit-connector/comments{/number}","issue_comment_url":"https://api.github.com/repos/alphagov/pay-direct-debit-connector/issues/comments{/number}","contents_url":"https://api.github.com/repos/alphagov/pay-direct-debit-connector/contents/{+path}","compare_url":"https://api.github.com/repos/alphagov/pay-direct-debit-connector/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alphagov/pay-direct-debit-connector/merges","archive_url":"https://api.github.com/repos/alphagov/pay-direct-debit-connector/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alphagov/pay-direct-debit-connector/downloads","issues_url":"https://api.github.com/repos/alphagov/pay-direct-debit-connector/issues{/number}","pulls_url":"https://api.github.com/repos/alphagov/pay-direct-debit-connector/pulls{/number}","milestones_url":"https://api.github.com/repos/alphagov/pay-direct-debit-connector/milestones{/number}","notifications_url":"https://api.github.com/repos/alphagov/pay-direct-debit-connector/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alphagov/pay-direct-debit-connector/labels{/name}","releases_url":"https://api.github.com/repos/alphagov/pay-direct-debit-connector/releases{/id}","deployments_url":"https://api.github.com/repos/alphagov/pay-direct-debit-connector/deployments","created_at":"2017-10-19T16:56:04Z","updated_at":"2019-01-02T09:07:40Z","pushed_at":"2019-01-02T09:26:17Z","git_url":"git://github.com/alphagov/pay-direct-debit-connector.git","ssh_url":"git@github.com:alphagov/pay-direct-debit-connector.git","clone_url":"https://github.com/alphagov/pay-direct-debit-connector.git","svn_url":"https://github.com/alphagov/pay-direct-debit-connector","homepage":null,"size":26048,"stargazers_count":3,"watchers_count":3,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":4,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":4,"watchers":3,"default_branch":"master"}},"base":{"label":"alphagov:master","ref":"master","sha":"6afdaa6f4699df3e4989bbd11f83bd9288e003b7","user":{"login":"alphagov","id":596977,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU5Njk3Nw==","avatar_url":"https://avatars0.githubusercontent.com/u/596977?v=4","gravatar_id":"","url":"https://api.github.com/users/alphagov","html_url":"https://github.com/alphagov","followers_url":"https://api.github.com/users/alphagov/followers","following_url":"https://api.github.com/users/alphagov/following{/other_user}","gists_url":"https://api.github.com/users/alphagov/gists{/gist_id}","starred_url":"https://api.github.com/users/alphagov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphagov/subscriptions","organizations_url":"https://api.github.com/users/alphagov/orgs","repos_url":"https://api.github.com/users/alphagov/repos","events_url":"https://api.github.com/users/alphagov/events{/privacy}","received_events_url":"https://api.github.com/users/alphagov/received_events","type":"Organization","site_admin":false},"repo":{"id":107574547,"node_id":"MDEwOlJlcG9zaXRvcnkxMDc1NzQ1NDc=","name":"pay-direct-debit-connector","full_name":"alphagov/pay-direct-debit-connector","private":false,"owner":{"login":"alphagov","id":596977,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU5Njk3Nw==","avatar_url":"https://avatars0.githubusercontent.com/u/596977?v=4","gravatar_id":"","url":"https://api.github.com/users/alphagov","html_url":"https://github.com/alphagov","followers_url":"https://api.github.com/users/alphagov/followers","following_url":"https://api.github.com/users/alphagov/following{/other_user}","gists_url":"https://api.github.com/users/alphagov/gists{/gist_id}","starred_url":"https://api.github.com/users/alphagov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphagov/subscriptions","organizations_url":"https://api.github.com/users/alphagov/orgs","repos_url":"https://api.github.com/users/alphagov/repos","events_url":"https://api.github.com/users/alphagov/events{/privacy}","received_events_url":"https://api.github.com/users/alphagov/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/alphagov/pay-direct-debit-connector","description":null,"fork":false,"url":"https://api.github.com/repos/alphagov/pay-direct-debit-connector","forks_url":"https://api.github.com/repos/alphagov/pay-direct-debit-connector/forks","keys_url":"https://api.github.com/repos/alphagov/pay-direct-debit-connector/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alphagov/pay-direct-debit-connector/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alphagov/pay-direct-debit-connector/teams","hooks_url":"https://api.github.com/repos/alphagov/pay-direct-debit-connector/hooks","issue_events_url":"https://api.github.com/repos/alphagov/pay-direct-debit-connector/issues/events{/number}","events_url":"https://api.github.com/repos/alphagov/pay-direct-debit-connector/events","assignees_url":"https://api.github.com/repos/alphagov/pay-direct-debit-connector/assignees{/user}","branches_url":"https://api.github.com/repos/alphagov/pay-direct-debit-connector/branches{/branch}","tags_url":"https://api.github.com/repos/alphagov/pay-direct-debit-connector/tags","blobs_url":"https://api.github.com/repos/alphagov/pay-direct-debit-connector/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alphagov/pay-direct-debit-connector/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alphagov/pay-direct-debit-connector/git/refs{/sha}","trees_url":"https://api.github.com/repos/alphagov/pay-direct-debit-connector/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alphagov/pay-direct-debit-connector/statuses/{sha}","languages_url":"https://api.github.com/repos/alphagov/pay-direct-debit-connector/languages","stargazers_url":"https://api.github.com/repos/alphagov/pay-direct-debit-connector/stargazers","contributors_url":"https://api.github.com/repos/alphagov/pay-direct-debit-connector/contributors","subscribers_url":"https://api.github.com/repos/alphagov/pay-direct-debit-connector/subscribers","subscription_url":"https://api.github.com/repos/alphagov/pay-direct-debit-connector/subscription","commits_url":"https://api.github.com/repos/alphagov/pay-direct-debit-connector/commits{/sha}","git_commits_url":"https://api.github.com/repos/alphagov/pay-direct-debit-connector/git/commits{/sha}","comments_url":"https://api.github.com/repos/alphagov/pay-direct-debit-connector/comments{/number}","issue_comment_url":"https://api.github.com/repos/alphagov/pay-direct-debit-connector/issues/comments{/number}","contents_url":"https://api.github.com/repos/alphagov/pay-direct-debit-connector/contents/{+path}","compare_url":"https://api.github.com/repos/alphagov/pay-direct-debit-connector/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alphagov/pay-direct-debit-connector/merges","archive_url":"https://api.github.com/repos/alphagov/pay-direct-debit-connector/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alphagov/pay-direct-debit-connector/downloads","issues_url":"https://api.github.com/repos/alphagov/pay-direct-debit-connector/issues{/number}","pulls_url":"https://api.github.com/repos/alphagov/pay-direct-debit-connector/pulls{/number}","milestones_url":"https://api.github.com/repos/alphagov/pay-direct-debit-connector/milestones{/number}","notifications_url":"https://api.github.com/repos/alphagov/pay-direct-debit-connector/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alphagov/pay-direct-debit-connector/labels{/name}","releases_url":"https://api.github.com/repos/alphagov/pay-direct-debit-connector/releases{/id}","deployments_url":"https://api.github.com/repos/alphagov/pay-direct-debit-connector/deployments","created_at":"2017-10-19T16:56:04Z","updated_at":"2019-01-02T09:07:40Z","pushed_at":"2019-01-02T09:26:17Z","git_url":"git://github.com/alphagov/pay-direct-debit-connector.git","ssh_url":"git@github.com:alphagov/pay-direct-debit-connector.git","clone_url":"https://github.com/alphagov/pay-direct-debit-connector.git","svn_url":"https://github.com/alphagov/pay-direct-debit-connector","homepage":null,"size":26048,"stargazers_count":3,"watchers_count":3,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":4,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":4,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/alphagov/pay-direct-debit-connector/pulls/261"},"html":{"href":"https://github.com/alphagov/pay-direct-debit-connector/pull/261"},"issue":{"href":"https://api.github.com/repos/alphagov/pay-direct-debit-connector/issues/261"},"comments":{"href":"https://api.github.com/repos/alphagov/pay-direct-debit-connector/issues/261/comments"},"review_comments":{"href":"https://api.github.com/repos/alphagov/pay-direct-debit-connector/pulls/261/comments"},"review_comment":{"href":"https://api.github.com/repos/alphagov/pay-direct-debit-connector/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/alphagov/pay-direct-debit-connector/pulls/261/commits"},"statuses":{"href":"https://api.github.com/repos/alphagov/pay-direct-debit-connector/statuses/2d272665baf0fe20418a3228c4625777d1667d5b"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":true,"rebaseable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":1,"maintainer_can_modify":false,"commits":1,"additions":5,"deletions":0,"changed_files":1}}
{"actor":{"display_login":"georgeracu"}}