{"action":"created","issue":{"url":"https://api.github.com/repos/cBioPortal/cbioportal/issues/1422","repository_url":"https://api.github.com/repos/cBioPortal/cbioportal","labels_url":"https://api.github.com/repos/cBioPortal/cbioportal/issues/1422/labels{/name}","comments_url":"https://api.github.com/repos/cBioPortal/cbioportal/issues/1422/comments","events_url":"https://api.github.com/repos/cBioPortal/cbioportal/issues/1422/events","html_url":"https://github.com/cBioPortal/cbioportal/pull/1422","id":162921844,"number":1422,"title":"Adding correct UQ constraint to gene table","user":{"login":"pieterlukasse","id":2900303,"avatar_url":"https://avatars.githubusercontent.com/u/2900303?v=3","gravatar_id":"","url":"https://api.github.com/users/pieterlukasse","html_url":"https://github.com/pieterlukasse","followers_url":"https://api.github.com/users/pieterlukasse/followers","following_url":"https://api.github.com/users/pieterlukasse/following{/other_user}","gists_url":"https://api.github.com/users/pieterlukasse/gists{/gist_id}","starred_url":"https://api.github.com/users/pieterlukasse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pieterlukasse/subscriptions","organizations_url":"https://api.github.com/users/pieterlukasse/orgs","repos_url":"https://api.github.com/users/pieterlukasse/repos","events_url":"https://api.github.com/users/pieterlukasse/events{/privacy}","received_events_url":"https://api.github.com/users/pieterlukasse/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/cBioPortal/cbioportal/labels/hotfix","name":"hotfix","color":"eb6420"},{"url":"https://api.github.com/repos/cBioPortal/cbioportal/labels/in%20progress","name":"in progress","color":"ededed"},{"url":"https://api.github.com/repos/cBioPortal/cbioportal/labels/ready%20to%20review","name":"ready to review","color":"00bb00"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-06-29T13:12:28Z","updated_at":"2016-07-20T13:49:51Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/cBioPortal/cbioportal/pulls/1422","html_url":"https://github.com/cBioPortal/cbioportal/pull/1422","diff_url":"https://github.com/cBioPortal/cbioportal/pull/1422.diff","patch_url":"https://github.com/cBioPortal/cbioportal/pull/1422.patch"},"body":"# What? Why?\r\nFixes #1266, adding a unique constraint to the gene table.\r\n\r\nChanges proposed in this pull request:\r\n- gene table gets a unique constraint to ensure we don't get wrong data\r\n- fix for the validation of the db version. Somehow the previous implementation was failing to detect version mismatches. The new implementation works and just redirects to the error page, simplifying the overall implementation of this check.\r\n\r\n:warning: if the table gene already contains duplicated entries, the migration script will fail. The script contains some references to documentation on how to fix it in this case. This could be an argument to merge this in `rc` instead of `hotfix`.\r\n\r\n# Notify reviewers\r\n@n1zea144 , @zheins "},"comment":{"url":"https://api.github.com/repos/cBioPortal/cbioportal/issues/comments/233954485","html_url":"https://github.com/cBioPortal/cbioportal/pull/1422#issuecomment-233954485","issue_url":"https://api.github.com/repos/cBioPortal/cbioportal/issues/1422","id":233954485,"user":{"login":"Sjoerd-van-Hagen","id":9987381,"avatar_url":"https://avatars.githubusercontent.com/u/9987381?v=3","gravatar_id":"","url":"https://api.github.com/users/Sjoerd-van-Hagen","html_url":"https://github.com/Sjoerd-van-Hagen","followers_url":"https://api.github.com/users/Sjoerd-van-Hagen/followers","following_url":"https://api.github.com/users/Sjoerd-van-Hagen/following{/other_user}","gists_url":"https://api.github.com/users/Sjoerd-van-Hagen/gists{/gist_id}","starred_url":"https://api.github.com/users/Sjoerd-van-Hagen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sjoerd-van-Hagen/subscriptions","organizations_url":"https://api.github.com/users/Sjoerd-van-Hagen/orgs","repos_url":"https://api.github.com/users/Sjoerd-van-Hagen/repos","events_url":"https://api.github.com/users/Sjoerd-van-Hagen/events{/privacy}","received_events_url":"https://api.github.com/users/Sjoerd-van-Hagen/received_events","type":"User","site_admin":false},"created_at":"2016-07-20T13:49:51Z","updated_at":"2016-07-20T13:49:51Z","body":"@jjgao Could you merge this one? Thanks!"}}
{"actor":{"display_login":"Sjoerd-van-Hagen"}}