{"action":"closed","number":104,"pull_request":{"url":"https://api.github.com/repos/pocket-playlab/optimus-prime/pulls/104","id":34016387,"html_url":"https://github.com/pocket-playlab/optimus-prime/pull/104","diff_url":"https://github.com/pocket-playlab/optimus-prime/pull/104.diff","patch_url":"https://github.com/pocket-playlab/optimus-prime/pull/104.patch","issue_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/issues/104","number":104,"state":"closed","locked":false,"title":"Skip unique constraint violations when inserting db records","user":{"login":"omarkhan","id":793379,"avatar_url":"https://avatars.githubusercontent.com/u/793379?v=3","gravatar_id":"","url":"https://api.github.com/users/omarkhan","html_url":"https://github.com/omarkhan","followers_url":"https://api.github.com/users/omarkhan/followers","following_url":"https://api.github.com/users/omarkhan/following{/other_user}","gists_url":"https://api.github.com/users/omarkhan/gists{/gist_id}","starred_url":"https://api.github.com/users/omarkhan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/omarkhan/subscriptions","organizations_url":"https://api.github.com/users/omarkhan/orgs","repos_url":"https://api.github.com/users/omarkhan/repos","events_url":"https://api.github.com/users/omarkhan/events{/privacy}","received_events_url":"https://api.github.com/users/omarkhan/received_events","type":"User","site_admin":false},"body":"This allows us to check for duplicates at the database level by setting unique constraints.","created_at":"2015-04-24T03:33:52Z","updated_at":"2015-04-24T07:29:21Z","closed_at":"2015-04-24T07:29:21Z","merged_at":"2015-04-24T07:29:21Z","merge_commit_sha":"5bc170812acfa638d542bf76c241bbb2662e16bf","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/pulls/104/commits","review_comments_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/pulls/104/comments","review_comment_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/pulls/comments{/number}","comments_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/issues/104/comments","statuses_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/statuses/d4c6f2c9edd13dfc0a09719332979b6b409f610f","head":{"label":"pocket-playlab:rdbms-skip-duplicates","ref":"rdbms-skip-duplicates","sha":"d4c6f2c9edd13dfc0a09719332979b6b409f610f","user":{"login":"pocket-playlab","id":6857738,"avatar_url":"https://avatars.githubusercontent.com/u/6857738?v=3","gravatar_id":"","url":"https://api.github.com/users/pocket-playlab","html_url":"https://github.com/pocket-playlab","followers_url":"https://api.github.com/users/pocket-playlab/followers","following_url":"https://api.github.com/users/pocket-playlab/following{/other_user}","gists_url":"https://api.github.com/users/pocket-playlab/gists{/gist_id}","starred_url":"https://api.github.com/users/pocket-playlab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pocket-playlab/subscriptions","organizations_url":"https://api.github.com/users/pocket-playlab/orgs","repos_url":"https://api.github.com/users/pocket-playlab/repos","events_url":"https://api.github.com/users/pocket-playlab/events{/privacy}","received_events_url":"https://api.github.com/users/pocket-playlab/received_events","type":"Organization","site_admin":false},"repo":{"id":29717247,"name":"optimus-prime","full_name":"pocket-playlab/optimus-prime","owner":{"login":"pocket-playlab","id":6857738,"avatar_url":"https://avatars.githubusercontent.com/u/6857738?v=3","gravatar_id":"","url":"https://api.github.com/users/pocket-playlab","html_url":"https://github.com/pocket-playlab","followers_url":"https://api.github.com/users/pocket-playlab/followers","following_url":"https://api.github.com/users/pocket-playlab/following{/other_user}","gists_url":"https://api.github.com/users/pocket-playlab/gists{/gist_id}","starred_url":"https://api.github.com/users/pocket-playlab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pocket-playlab/subscriptions","organizations_url":"https://api.github.com/users/pocket-playlab/orgs","repos_url":"https://api.github.com/users/pocket-playlab/repos","events_url":"https://api.github.com/users/pocket-playlab/events{/privacy}","received_events_url":"https://api.github.com/users/pocket-playlab/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/pocket-playlab/optimus-prime","description":"alpha ETL framework","fork":false,"url":"https://api.github.com/repos/pocket-playlab/optimus-prime","forks_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/forks","keys_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/teams","hooks_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/hooks","issue_events_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/issues/events{/number}","events_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/events","assignees_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/assignees{/user}","branches_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/branches{/branch}","tags_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/tags","blobs_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/git/refs{/sha}","trees_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/statuses/{sha}","languages_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/languages","stargazers_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/stargazers","contributors_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/contributors","subscribers_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/subscribers","subscription_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/subscription","commits_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/commits{/sha}","git_commits_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/git/commits{/sha}","comments_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/comments{/number}","issue_comment_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/issues/comments{/number}","contents_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/contents/{+path}","compare_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/merges","archive_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/downloads","issues_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/issues{/number}","pulls_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/pulls{/number}","milestones_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/milestones{/number}","notifications_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/labels{/name}","releases_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/releases{/id}","created_at":"2015-01-23T04:57:13Z","updated_at":"2015-04-24T07:21:07Z","pushed_at":"2015-04-24T07:29:21Z","git_url":"git://github.com/pocket-playlab/optimus-prime.git","ssh_url":"git@github.com:pocket-playlab/optimus-prime.git","clone_url":"https://github.com/pocket-playlab/optimus-prime.git","svn_url":"https://github.com/pocket-playlab/optimus-prime","homepage":null,"size":3876,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":10,"forks":0,"open_issues":10,"watchers":1,"default_branch":"master"}},"base":{"label":"pocket-playlab:master","ref":"master","sha":"ffb1800d46254161480b304ccbb6d773490c9e4b","user":{"login":"pocket-playlab","id":6857738,"avatar_url":"https://avatars.githubusercontent.com/u/6857738?v=3","gravatar_id":"","url":"https://api.github.com/users/pocket-playlab","html_url":"https://github.com/pocket-playlab","followers_url":"https://api.github.com/users/pocket-playlab/followers","following_url":"https://api.github.com/users/pocket-playlab/following{/other_user}","gists_url":"https://api.github.com/users/pocket-playlab/gists{/gist_id}","starred_url":"https://api.github.com/users/pocket-playlab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pocket-playlab/subscriptions","organizations_url":"https://api.github.com/users/pocket-playlab/orgs","repos_url":"https://api.github.com/users/pocket-playlab/repos","events_url":"https://api.github.com/users/pocket-playlab/events{/privacy}","received_events_url":"https://api.github.com/users/pocket-playlab/received_events","type":"Organization","site_admin":false},"repo":{"id":29717247,"name":"optimus-prime","full_name":"pocket-playlab/optimus-prime","owner":{"login":"pocket-playlab","id":6857738,"avatar_url":"https://avatars.githubusercontent.com/u/6857738?v=3","gravatar_id":"","url":"https://api.github.com/users/pocket-playlab","html_url":"https://github.com/pocket-playlab","followers_url":"https://api.github.com/users/pocket-playlab/followers","following_url":"https://api.github.com/users/pocket-playlab/following{/other_user}","gists_url":"https://api.github.com/users/pocket-playlab/gists{/gist_id}","starred_url":"https://api.github.com/users/pocket-playlab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pocket-playlab/subscriptions","organizations_url":"https://api.github.com/users/pocket-playlab/orgs","repos_url":"https://api.github.com/users/pocket-playlab/repos","events_url":"https://api.github.com/users/pocket-playlab/events{/privacy}","received_events_url":"https://api.github.com/users/pocket-playlab/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/pocket-playlab/optimus-prime","description":"alpha ETL framework","fork":false,"url":"https://api.github.com/repos/pocket-playlab/optimus-prime","forks_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/forks","keys_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/teams","hooks_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/hooks","issue_events_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/issues/events{/number}","events_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/events","assignees_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/assignees{/user}","branches_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/branches{/branch}","tags_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/tags","blobs_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/git/refs{/sha}","trees_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/statuses/{sha}","languages_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/languages","stargazers_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/stargazers","contributors_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/contributors","subscribers_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/subscribers","subscription_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/subscription","commits_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/commits{/sha}","git_commits_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/git/commits{/sha}","comments_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/comments{/number}","issue_comment_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/issues/comments{/number}","contents_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/contents/{+path}","compare_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/merges","archive_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/downloads","issues_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/issues{/number}","pulls_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/pulls{/number}","milestones_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/milestones{/number}","notifications_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/labels{/name}","releases_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/releases{/id}","created_at":"2015-01-23T04:57:13Z","updated_at":"2015-04-24T07:21:07Z","pushed_at":"2015-04-24T07:29:21Z","git_url":"git://github.com/pocket-playlab/optimus-prime.git","ssh_url":"git@github.com:pocket-playlab/optimus-prime.git","clone_url":"https://github.com/pocket-playlab/optimus-prime.git","svn_url":"https://github.com/pocket-playlab/optimus-prime","homepage":null,"size":3876,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":10,"forks":0,"open_issues":10,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/pocket-playlab/optimus-prime/pulls/104"},"html":{"href":"https://github.com/pocket-playlab/optimus-prime/pull/104"},"issue":{"href":"https://api.github.com/repos/pocket-playlab/optimus-prime/issues/104"},"comments":{"href":"https://api.github.com/repos/pocket-playlab/optimus-prime/issues/104/comments"},"review_comments":{"href":"https://api.github.com/repos/pocket-playlab/optimus-prime/pulls/104/comments"},"review_comment":{"href":"https://api.github.com/repos/pocket-playlab/optimus-prime/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/pocket-playlab/optimus-prime/pulls/104/commits"},"statuses":{"href":"https://api.github.com/repos/pocket-playlab/optimus-prime/statuses/d4c6f2c9edd13dfc0a09719332979b6b409f610f"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"omarkhan","id":793379,"avatar_url":"https://avatars.githubusercontent.com/u/793379?v=3","gravatar_id":"","url":"https://api.github.com/users/omarkhan","html_url":"https://github.com/omarkhan","followers_url":"https://api.github.com/users/omarkhan/followers","following_url":"https://api.github.com/users/omarkhan/following{/other_user}","gists_url":"https://api.github.com/users/omarkhan/gists{/gist_id}","starred_url":"https://api.github.com/users/omarkhan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/omarkhan/subscriptions","organizations_url":"https://api.github.com/users/omarkhan/orgs","repos_url":"https://api.github.com/users/omarkhan/repos","events_url":"https://api.github.com/users/omarkhan/events{/privacy}","received_events_url":"https://api.github.com/users/omarkhan/received_events","type":"User","site_admin":false},"comments":1,"review_comments":5,"commits":3,"additions":25,"deletions":23,"changed_files":2}}