{"action":"opened","number":130,"pull_request":{"url":"https://api.github.com/repos/gigapath/whatthefridge/pulls/130","id":46809287,"html_url":"https://github.com/gigapath/whatthefridge/pull/130","diff_url":"https://github.com/gigapath/whatthefridge/pull/130.diff","patch_url":"https://github.com/gigapath/whatthefridge/pull/130.patch","issue_url":"https://api.github.com/repos/gigapath/whatthefridge/issues/130","number":130,"state":"open","locked":false,"title":"Add a composite unique constraint so uniqueness is user specific.","user":{"login":"mishasaggi","id":4739245,"avatar_url":"https://avatars.githubusercontent.com/u/4739245?v=3","gravatar_id":"","url":"https://api.github.com/users/mishasaggi","html_url":"https://github.com/mishasaggi","followers_url":"https://api.github.com/users/mishasaggi/followers","following_url":"https://api.github.com/users/mishasaggi/following{/other_user}","gists_url":"https://api.github.com/users/mishasaggi/gists{/gist_id}","starred_url":"https://api.github.com/users/mishasaggi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mishasaggi/subscriptions","organizations_url":"https://api.github.com/users/mishasaggi/orgs","repos_url":"https://api.github.com/users/mishasaggi/repos","events_url":"https://api.github.com/users/mishasaggi/events{/privacy}","received_events_url":"https://api.github.com/users/mishasaggi/received_events","type":"User","site_admin":false},"body":"In the last migration added unique to column when it should be for a user so added a composite unique constraint.","created_at":"2015-10-05T17:30:07Z","updated_at":"2015-10-05T17:30:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/gigapath/whatthefridge/pulls/130/commits","review_comments_url":"https://api.github.com/repos/gigapath/whatthefridge/pulls/130/comments","review_comment_url":"https://api.github.com/repos/gigapath/whatthefridge/pulls/comments{/number}","comments_url":"https://api.github.com/repos/gigapath/whatthefridge/issues/130/comments","statuses_url":"https://api.github.com/repos/gigapath/whatthefridge/statuses/8830aa247ffef5a782ccc295aabe0dfaf41563cc","head":{"label":"gigapath:bugfix/migration-recipes-unique-per-user","ref":"bugfix/migration-recipes-unique-per-user","sha":"8830aa247ffef5a782ccc295aabe0dfaf41563cc","user":{"login":"gigapath","id":14794793,"avatar_url":"https://avatars.githubusercontent.com/u/14794793?v=3","gravatar_id":"","url":"https://api.github.com/users/gigapath","html_url":"https://github.com/gigapath","followers_url":"https://api.github.com/users/gigapath/followers","following_url":"https://api.github.com/users/gigapath/following{/other_user}","gists_url":"https://api.github.com/users/gigapath/gists{/gist_id}","starred_url":"https://api.github.com/users/gigapath/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gigapath/subscriptions","organizations_url":"https://api.github.com/users/gigapath/orgs","repos_url":"https://api.github.com/users/gigapath/repos","events_url":"https://api.github.com/users/gigapath/events{/privacy}","received_events_url":"https://api.github.com/users/gigapath/received_events","type":"Organization","site_admin":false},"repo":{"id":42961827,"name":"whatthefridge","full_name":"gigapath/whatthefridge","owner":{"login":"gigapath","id":14794793,"avatar_url":"https://avatars.githubusercontent.com/u/14794793?v=3","gravatar_id":"","url":"https://api.github.com/users/gigapath","html_url":"https://github.com/gigapath","followers_url":"https://api.github.com/users/gigapath/followers","following_url":"https://api.github.com/users/gigapath/following{/other_user}","gists_url":"https://api.github.com/users/gigapath/gists{/gist_id}","starred_url":"https://api.github.com/users/gigapath/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gigapath/subscriptions","organizations_url":"https://api.github.com/users/gigapath/orgs","repos_url":"https://api.github.com/users/gigapath/repos","events_url":"https://api.github.com/users/gigapath/events{/privacy}","received_events_url":"https://api.github.com/users/gigapath/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/gigapath/whatthefridge","description":"","fork":false,"url":"https://api.github.com/repos/gigapath/whatthefridge","forks_url":"https://api.github.com/repos/gigapath/whatthefridge/forks","keys_url":"https://api.github.com/repos/gigapath/whatthefridge/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gigapath/whatthefridge/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gigapath/whatthefridge/teams","hooks_url":"https://api.github.com/repos/gigapath/whatthefridge/hooks","issue_events_url":"https://api.github.com/repos/gigapath/whatthefridge/issues/events{/number}","events_url":"https://api.github.com/repos/gigapath/whatthefridge/events","assignees_url":"https://api.github.com/repos/gigapath/whatthefridge/assignees{/user}","branches_url":"https://api.github.com/repos/gigapath/whatthefridge/branches{/branch}","tags_url":"https://api.github.com/repos/gigapath/whatthefridge/tags","blobs_url":"https://api.github.com/repos/gigapath/whatthefridge/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gigapath/whatthefridge/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gigapath/whatthefridge/git/refs{/sha}","trees_url":"https://api.github.com/repos/gigapath/whatthefridge/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gigapath/whatthefridge/statuses/{sha}","languages_url":"https://api.github.com/repos/gigapath/whatthefridge/languages","stargazers_url":"https://api.github.com/repos/gigapath/whatthefridge/stargazers","contributors_url":"https://api.github.com/repos/gigapath/whatthefridge/contributors","subscribers_url":"https://api.github.com/repos/gigapath/whatthefridge/subscribers","subscription_url":"https://api.github.com/repos/gigapath/whatthefridge/subscription","commits_url":"https://api.github.com/repos/gigapath/whatthefridge/commits{/sha}","git_commits_url":"https://api.github.com/repos/gigapath/whatthefridge/git/commits{/sha}","comments_url":"https://api.github.com/repos/gigapath/whatthefridge/comments{/number}","issue_comment_url":"https://api.github.com/repos/gigapath/whatthefridge/issues/comments{/number}","contents_url":"https://api.github.com/repos/gigapath/whatthefridge/contents/{+path}","compare_url":"https://api.github.com/repos/gigapath/whatthefridge/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gigapath/whatthefridge/merges","archive_url":"https://api.github.com/repos/gigapath/whatthefridge/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gigapath/whatthefridge/downloads","issues_url":"https://api.github.com/repos/gigapath/whatthefridge/issues{/number}","pulls_url":"https://api.github.com/repos/gigapath/whatthefridge/pulls{/number}","milestones_url":"https://api.github.com/repos/gigapath/whatthefridge/milestones{/number}","notifications_url":"https://api.github.com/repos/gigapath/whatthefridge/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gigapath/whatthefridge/labels{/name}","releases_url":"https://api.github.com/repos/gigapath/whatthefridge/releases{/id}","created_at":"2015-09-22T21:25:29Z","updated_at":"2015-09-25T14:54:58Z","pushed_at":"2015-10-05T17:23:35Z","git_url":"git://github.com/gigapath/whatthefridge.git","ssh_url":"git@github.com:gigapath/whatthefridge.git","clone_url":"https://github.com/gigapath/whatthefridge.git","svn_url":"https://github.com/gigapath/whatthefridge","homepage":null,"size":7116,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":24,"forks":1,"open_issues":24,"watchers":0,"default_branch":"master"}},"base":{"label":"gigapath:master","ref":"master","sha":"eceef14b20beb60fe8cd5826806402406a4030d9","user":{"login":"gigapath","id":14794793,"avatar_url":"https://avatars.githubusercontent.com/u/14794793?v=3","gravatar_id":"","url":"https://api.github.com/users/gigapath","html_url":"https://github.com/gigapath","followers_url":"https://api.github.com/users/gigapath/followers","following_url":"https://api.github.com/users/gigapath/following{/other_user}","gists_url":"https://api.github.com/users/gigapath/gists{/gist_id}","starred_url":"https://api.github.com/users/gigapath/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gigapath/subscriptions","organizations_url":"https://api.github.com/users/gigapath/orgs","repos_url":"https://api.github.com/users/gigapath/repos","events_url":"https://api.github.com/users/gigapath/events{/privacy}","received_events_url":"https://api.github.com/users/gigapath/received_events","type":"Organization","site_admin":false},"repo":{"id":42961827,"name":"whatthefridge","full_name":"gigapath/whatthefridge","owner":{"login":"gigapath","id":14794793,"avatar_url":"https://avatars.githubusercontent.com/u/14794793?v=3","gravatar_id":"","url":"https://api.github.com/users/gigapath","html_url":"https://github.com/gigapath","followers_url":"https://api.github.com/users/gigapath/followers","following_url":"https://api.github.com/users/gigapath/following{/other_user}","gists_url":"https://api.github.com/users/gigapath/gists{/gist_id}","starred_url":"https://api.github.com/users/gigapath/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gigapath/subscriptions","organizations_url":"https://api.github.com/users/gigapath/orgs","repos_url":"https://api.github.com/users/gigapath/repos","events_url":"https://api.github.com/users/gigapath/events{/privacy}","received_events_url":"https://api.github.com/users/gigapath/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/gigapath/whatthefridge","description":"","fork":false,"url":"https://api.github.com/repos/gigapath/whatthefridge","forks_url":"https://api.github.com/repos/gigapath/whatthefridge/forks","keys_url":"https://api.github.com/repos/gigapath/whatthefridge/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gigapath/whatthefridge/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gigapath/whatthefridge/teams","hooks_url":"https://api.github.com/repos/gigapath/whatthefridge/hooks","issue_events_url":"https://api.github.com/repos/gigapath/whatthefridge/issues/events{/number}","events_url":"https://api.github.com/repos/gigapath/whatthefridge/events","assignees_url":"https://api.github.com/repos/gigapath/whatthefridge/assignees{/user}","branches_url":"https://api.github.com/repos/gigapath/whatthefridge/branches{/branch}","tags_url":"https://api.github.com/repos/gigapath/whatthefridge/tags","blobs_url":"https://api.github.com/repos/gigapath/whatthefridge/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gigapath/whatthefridge/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gigapath/whatthefridge/git/refs{/sha}","trees_url":"https://api.github.com/repos/gigapath/whatthefridge/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gigapath/whatthefridge/statuses/{sha}","languages_url":"https://api.github.com/repos/gigapath/whatthefridge/languages","stargazers_url":"https://api.github.com/repos/gigapath/whatthefridge/stargazers","contributors_url":"https://api.github.com/repos/gigapath/whatthefridge/contributors","subscribers_url":"https://api.github.com/repos/gigapath/whatthefridge/subscribers","subscription_url":"https://api.github.com/repos/gigapath/whatthefridge/subscription","commits_url":"https://api.github.com/repos/gigapath/whatthefridge/commits{/sha}","git_commits_url":"https://api.github.com/repos/gigapath/whatthefridge/git/commits{/sha}","comments_url":"https://api.github.com/repos/gigapath/whatthefridge/comments{/number}","issue_comment_url":"https://api.github.com/repos/gigapath/whatthefridge/issues/comments{/number}","contents_url":"https://api.github.com/repos/gigapath/whatthefridge/contents/{+path}","compare_url":"https://api.github.com/repos/gigapath/whatthefridge/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gigapath/whatthefridge/merges","archive_url":"https://api.github.com/repos/gigapath/whatthefridge/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gigapath/whatthefridge/downloads","issues_url":"https://api.github.com/repos/gigapath/whatthefridge/issues{/number}","pulls_url":"https://api.github.com/repos/gigapath/whatthefridge/pulls{/number}","milestones_url":"https://api.github.com/repos/gigapath/whatthefridge/milestones{/number}","notifications_url":"https://api.github.com/repos/gigapath/whatthefridge/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gigapath/whatthefridge/labels{/name}","releases_url":"https://api.github.com/repos/gigapath/whatthefridge/releases{/id}","created_at":"2015-09-22T21:25:29Z","updated_at":"2015-09-25T14:54:58Z","pushed_at":"2015-10-05T17:23:35Z","git_url":"git://github.com/gigapath/whatthefridge.git","ssh_url":"git@github.com:gigapath/whatthefridge.git","clone_url":"https://github.com/gigapath/whatthefridge.git","svn_url":"https://github.com/gigapath/whatthefridge","homepage":null,"size":7116,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":24,"forks":1,"open_issues":24,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/gigapath/whatthefridge/pulls/130"},"html":{"href":"https://github.com/gigapath/whatthefridge/pull/130"},"issue":{"href":"https://api.github.com/repos/gigapath/whatthefridge/issues/130"},"comments":{"href":"https://api.github.com/repos/gigapath/whatthefridge/issues/130/comments"},"review_comments":{"href":"https://api.github.com/repos/gigapath/whatthefridge/pulls/130/comments"},"review_comment":{"href":"https://api.github.com/repos/gigapath/whatthefridge/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/gigapath/whatthefridge/pulls/130/commits"},"statuses":{"href":"https://api.github.com/repos/gigapath/whatthefridge/statuses/8830aa247ffef5a782ccc295aabe0dfaf41563cc"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":13,"deletions":0,"changed_files":1}}