{"action":"opened","number":80,"pull_request":{"url":"https://api.github.com/repos/vlucas/spot2/pulls/80","id":32214808,"html_url":"https://github.com/vlucas/spot2/pull/80","diff_url":"https://github.com/vlucas/spot2/pull/80.diff","patch_url":"https://github.com/vlucas/spot2/pull/80.patch","issue_url":"https://api.github.com/repos/vlucas/spot2/issues/80","number":80,"state":"open","locked":false,"title":"validate unique only if null is not present","user":{"login":"marcojetson","id":408194,"avatar_url":"https://avatars.githubusercontent.com/u/408194?v=3","gravatar_id":"","url":"https://api.github.com/users/marcojetson","html_url":"https://github.com/marcojetson","followers_url":"https://api.github.com/users/marcojetson/followers","following_url":"https://api.github.com/users/marcojetson/following{/other_user}","gists_url":"https://api.github.com/users/marcojetson/gists{/gist_id}","starred_url":"https://api.github.com/users/marcojetson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marcojetson/subscriptions","organizations_url":"https://api.github.com/users/marcojetson/orgs","repos_url":"https://api.github.com/users/marcojetson/repos","events_url":"https://api.github.com/users/marcojetson/events{/privacy}","received_events_url":"https://api.github.com/users/marcojetson/received_events","type":"User","site_admin":false},"body":"two null values should not be considered equal\r\nhttp://www.postgresql.org/docs/current/interactive/ddl-constraints.html#DDL-CONSTRAINTS-UNIQUE-CONSTRAINTS","created_at":"2015-03-30T10:38:27Z","updated_at":"2015-03-30T10:38:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/vlucas/spot2/pulls/80/commits","review_comments_url":"https://api.github.com/repos/vlucas/spot2/pulls/80/comments","review_comment_url":"https://api.github.com/repos/vlucas/spot2/pulls/comments{/number}","comments_url":"https://api.github.com/repos/vlucas/spot2/issues/80/comments","statuses_url":"https://api.github.com/repos/vlucas/spot2/statuses/01789a3c8bdeab6e105a7495748c1f712cbdc4c0","head":{"label":"marcojetson:fix_unique_nulls","ref":"fix_unique_nulls","sha":"01789a3c8bdeab6e105a7495748c1f712cbdc4c0","user":{"login":"marcojetson","id":408194,"avatar_url":"https://avatars.githubusercontent.com/u/408194?v=3","gravatar_id":"","url":"https://api.github.com/users/marcojetson","html_url":"https://github.com/marcojetson","followers_url":"https://api.github.com/users/marcojetson/followers","following_url":"https://api.github.com/users/marcojetson/following{/other_user}","gists_url":"https://api.github.com/users/marcojetson/gists{/gist_id}","starred_url":"https://api.github.com/users/marcojetson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marcojetson/subscriptions","organizations_url":"https://api.github.com/users/marcojetson/orgs","repos_url":"https://api.github.com/users/marcojetson/repos","events_url":"https://api.github.com/users/marcojetson/events{/privacy}","received_events_url":"https://api.github.com/users/marcojetson/received_events","type":"User","site_admin":false},"repo":{"id":33116294,"name":"spot2","full_name":"marcojetson/spot2","owner":{"login":"marcojetson","id":408194,"avatar_url":"https://avatars.githubusercontent.com/u/408194?v=3","gravatar_id":"","url":"https://api.github.com/users/marcojetson","html_url":"https://github.com/marcojetson","followers_url":"https://api.github.com/users/marcojetson/followers","following_url":"https://api.github.com/users/marcojetson/following{/other_user}","gists_url":"https://api.github.com/users/marcojetson/gists{/gist_id}","starred_url":"https://api.github.com/users/marcojetson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marcojetson/subscriptions","organizations_url":"https://api.github.com/users/marcojetson/orgs","repos_url":"https://api.github.com/users/marcojetson/repos","events_url":"https://api.github.com/users/marcojetson/events{/privacy}","received_events_url":"https://api.github.com/users/marcojetson/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/marcojetson/spot2","description":"Spot v2.x DataMapper built on top of Doctrine's Database Abstraction Layer","fork":true,"url":"https://api.github.com/repos/marcojetson/spot2","forks_url":"https://api.github.com/repos/marcojetson/spot2/forks","keys_url":"https://api.github.com/repos/marcojetson/spot2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/marcojetson/spot2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/marcojetson/spot2/teams","hooks_url":"https://api.github.com/repos/marcojetson/spot2/hooks","issue_events_url":"https://api.github.com/repos/marcojetson/spot2/issues/events{/number}","events_url":"https://api.github.com/repos/marcojetson/spot2/events","assignees_url":"https://api.github.com/repos/marcojetson/spot2/assignees{/user}","branches_url":"https://api.github.com/repos/marcojetson/spot2/branches{/branch}","tags_url":"https://api.github.com/repos/marcojetson/spot2/tags","blobs_url":"https://api.github.com/repos/marcojetson/spot2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/marcojetson/spot2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/marcojetson/spot2/git/refs{/sha}","trees_url":"https://api.github.com/repos/marcojetson/spot2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/marcojetson/spot2/statuses/{sha}","languages_url":"https://api.github.com/repos/marcojetson/spot2/languages","stargazers_url":"https://api.github.com/repos/marcojetson/spot2/stargazers","contributors_url":"https://api.github.com/repos/marcojetson/spot2/contributors","subscribers_url":"https://api.github.com/repos/marcojetson/spot2/subscribers","subscription_url":"https://api.github.com/repos/marcojetson/spot2/subscription","commits_url":"https://api.github.com/repos/marcojetson/spot2/commits{/sha}","git_commits_url":"https://api.github.com/repos/marcojetson/spot2/git/commits{/sha}","comments_url":"https://api.github.com/repos/marcojetson/spot2/comments{/number}","issue_comment_url":"https://api.github.com/repos/marcojetson/spot2/issues/comments{/number}","contents_url":"https://api.github.com/repos/marcojetson/spot2/contents/{+path}","compare_url":"https://api.github.com/repos/marcojetson/spot2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/marcojetson/spot2/merges","archive_url":"https://api.github.com/repos/marcojetson/spot2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/marcojetson/spot2/downloads","issues_url":"https://api.github.com/repos/marcojetson/spot2/issues{/number}","pulls_url":"https://api.github.com/repos/marcojetson/spot2/pulls{/number}","milestones_url":"https://api.github.com/repos/marcojetson/spot2/milestones{/number}","notifications_url":"https://api.github.com/repos/marcojetson/spot2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/marcojetson/spot2/labels{/name}","releases_url":"https://api.github.com/repos/marcojetson/spot2/releases{/id}","created_at":"2015-03-30T10:16:18Z","updated_at":"2015-03-30T10:16:19Z","pushed_at":"2015-03-30T10:31:20Z","git_url":"git://github.com/marcojetson/spot2.git","ssh_url":"git@github.com:marcojetson/spot2.git","clone_url":"https://github.com/marcojetson/spot2.git","svn_url":"https://github.com/marcojetson/spot2","homepage":"http://phpdatamapper.com","size":1043,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"vlucas:master","ref":"master","sha":"97d2b9fee2a72584f920eb4514d3e57a96e443de","user":{"login":"vlucas","id":187,"avatar_url":"https://avatars.githubusercontent.com/u/187?v=3","gravatar_id":"","url":"https://api.github.com/users/vlucas","html_url":"https://github.com/vlucas","followers_url":"https://api.github.com/users/vlucas/followers","following_url":"https://api.github.com/users/vlucas/following{/other_user}","gists_url":"https://api.github.com/users/vlucas/gists{/gist_id}","starred_url":"https://api.github.com/users/vlucas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vlucas/subscriptions","organizations_url":"https://api.github.com/users/vlucas/orgs","repos_url":"https://api.github.com/users/vlucas/repos","events_url":"https://api.github.com/users/vlucas/events{/privacy}","received_events_url":"https://api.github.com/users/vlucas/received_events","type":"User","site_admin":false},"repo":{"id":20979572,"name":"spot2","full_name":"vlucas/spot2","owner":{"login":"vlucas","id":187,"avatar_url":"https://avatars.githubusercontent.com/u/187?v=3","gravatar_id":"","url":"https://api.github.com/users/vlucas","html_url":"https://github.com/vlucas","followers_url":"https://api.github.com/users/vlucas/followers","following_url":"https://api.github.com/users/vlucas/following{/other_user}","gists_url":"https://api.github.com/users/vlucas/gists{/gist_id}","starred_url":"https://api.github.com/users/vlucas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vlucas/subscriptions","organizations_url":"https://api.github.com/users/vlucas/orgs","repos_url":"https://api.github.com/users/vlucas/repos","events_url":"https://api.github.com/users/vlucas/events{/privacy}","received_events_url":"https://api.github.com/users/vlucas/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/vlucas/spot2","description":"Spot v2.x DataMapper built on top of Doctrine's Database Abstraction Layer","fork":false,"url":"https://api.github.com/repos/vlucas/spot2","forks_url":"https://api.github.com/repos/vlucas/spot2/forks","keys_url":"https://api.github.com/repos/vlucas/spot2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vlucas/spot2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vlucas/spot2/teams","hooks_url":"https://api.github.com/repos/vlucas/spot2/hooks","issue_events_url":"https://api.github.com/repos/vlucas/spot2/issues/events{/number}","events_url":"https://api.github.com/repos/vlucas/spot2/events","assignees_url":"https://api.github.com/repos/vlucas/spot2/assignees{/user}","branches_url":"https://api.github.com/repos/vlucas/spot2/branches{/branch}","tags_url":"https://api.github.com/repos/vlucas/spot2/tags","blobs_url":"https://api.github.com/repos/vlucas/spot2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vlucas/spot2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vlucas/spot2/git/refs{/sha}","trees_url":"https://api.github.com/repos/vlucas/spot2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vlucas/spot2/statuses/{sha}","languages_url":"https://api.github.com/repos/vlucas/spot2/languages","stargazers_url":"https://api.github.com/repos/vlucas/spot2/stargazers","contributors_url":"https://api.github.com/repos/vlucas/spot2/contributors","subscribers_url":"https://api.github.com/repos/vlucas/spot2/subscribers","subscription_url":"https://api.github.com/repos/vlucas/spot2/subscription","commits_url":"https://api.github.com/repos/vlucas/spot2/commits{/sha}","git_commits_url":"https://api.github.com/repos/vlucas/spot2/git/commits{/sha}","comments_url":"https://api.github.com/repos/vlucas/spot2/comments{/number}","issue_comment_url":"https://api.github.com/repos/vlucas/spot2/issues/comments{/number}","contents_url":"https://api.github.com/repos/vlucas/spot2/contents/{+path}","compare_url":"https://api.github.com/repos/vlucas/spot2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vlucas/spot2/merges","archive_url":"https://api.github.com/repos/vlucas/spot2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vlucas/spot2/downloads","issues_url":"https://api.github.com/repos/vlucas/spot2/issues{/number}","pulls_url":"https://api.github.com/repos/vlucas/spot2/pulls{/number}","milestones_url":"https://api.github.com/repos/vlucas/spot2/milestones{/number}","notifications_url":"https://api.github.com/repos/vlucas/spot2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vlucas/spot2/labels{/name}","releases_url":"https://api.github.com/repos/vlucas/spot2/releases{/id}","created_at":"2014-06-18T22:02:22Z","updated_at":"2015-03-26T07:53:05Z","pushed_at":"2015-03-24T21:21:04Z","git_url":"git://github.com/vlucas/spot2.git","ssh_url":"git@github.com:vlucas/spot2.git","clone_url":"https://github.com/vlucas/spot2.git","svn_url":"https://github.com/vlucas/spot2","homepage":"http://phpdatamapper.com","size":1043,"stargazers_count":124,"watchers_count":124,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":27,"mirror_url":null,"open_issues_count":14,"forks":27,"open_issues":14,"watchers":124,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/vlucas/spot2/pulls/80"},"html":{"href":"https://github.com/vlucas/spot2/pull/80"},"issue":{"href":"https://api.github.com/repos/vlucas/spot2/issues/80"},"comments":{"href":"https://api.github.com/repos/vlucas/spot2/issues/80/comments"},"review_comments":{"href":"https://api.github.com/repos/vlucas/spot2/pulls/80/comments"},"review_comment":{"href":"https://api.github.com/repos/vlucas/spot2/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/vlucas/spot2/pulls/80/commits"},"statuses":{"href":"https://api.github.com/repos/vlucas/spot2/statuses/01789a3c8bdeab6e105a7495748c1f712cbdc4c0"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":1,"deletions":1,"changed_files":1}}