{"action":"opened","number":666,"pull_request":{"url":"https://api.github.com/repos/jenssegers/laravel-mongodb/pulls/666","id":52652263,"html_url":"https://github.com/jenssegers/laravel-mongodb/pull/666","diff_url":"https://github.com/jenssegers/laravel-mongodb/pull/666.diff","patch_url":"https://github.com/jenssegers/laravel-mongodb/pull/666.patch","issue_url":"https://api.github.com/repos/jenssegers/laravel-mongodb/issues/666","number":666,"state":"open","locked":false,"title":"Add sparse unique function to Blueprint","user":{"login":"pengkong","id":617237,"avatar_url":"https://avatars.githubusercontent.com/u/617237?v=3","gravatar_id":"","url":"https://api.github.com/users/pengkong","html_url":"https://github.com/pengkong","followers_url":"https://api.github.com/users/pengkong/followers","following_url":"https://api.github.com/users/pengkong/following{/other_user}","gists_url":"https://api.github.com/users/pengkong/gists{/gist_id}","starred_url":"https://api.github.com/users/pengkong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pengkong/subscriptions","organizations_url":"https://api.github.com/users/pengkong/orgs","repos_url":"https://api.github.com/users/pengkong/repos","events_url":"https://api.github.com/users/pengkong/events{/privacy}","received_events_url":"https://api.github.com/users/pengkong/received_events","type":"User","site_admin":false},"body":"this will allow us to create a sparse unique index in migrations.","created_at":"2015-12-04T10:26:26Z","updated_at":"2015-12-04T10:26:26Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/jenssegers/laravel-mongodb/pulls/666/commits","review_comments_url":"https://api.github.com/repos/jenssegers/laravel-mongodb/pulls/666/comments","review_comment_url":"https://api.github.com/repos/jenssegers/laravel-mongodb/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jenssegers/laravel-mongodb/issues/666/comments","statuses_url":"https://api.github.com/repos/jenssegers/laravel-mongodb/statuses/2995dc1268243b5834799ad5a2dd829faa3da8e4","head":{"label":"pengkong:master","ref":"master","sha":"2995dc1268243b5834799ad5a2dd829faa3da8e4","user":{"login":"pengkong","id":617237,"avatar_url":"https://avatars.githubusercontent.com/u/617237?v=3","gravatar_id":"","url":"https://api.github.com/users/pengkong","html_url":"https://github.com/pengkong","followers_url":"https://api.github.com/users/pengkong/followers","following_url":"https://api.github.com/users/pengkong/following{/other_user}","gists_url":"https://api.github.com/users/pengkong/gists{/gist_id}","starred_url":"https://api.github.com/users/pengkong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pengkong/subscriptions","organizations_url":"https://api.github.com/users/pengkong/orgs","repos_url":"https://api.github.com/users/pengkong/repos","events_url":"https://api.github.com/users/pengkong/events{/privacy}","received_events_url":"https://api.github.com/users/pengkong/received_events","type":"User","site_admin":false},"repo":{"id":47396329,"name":"laravel-mongodb","full_name":"pengkong/laravel-mongodb","owner":{"login":"pengkong","id":617237,"avatar_url":"https://avatars.githubusercontent.com/u/617237?v=3","gravatar_id":"","url":"https://api.github.com/users/pengkong","html_url":"https://github.com/pengkong","followers_url":"https://api.github.com/users/pengkong/followers","following_url":"https://api.github.com/users/pengkong/following{/other_user}","gists_url":"https://api.github.com/users/pengkong/gists{/gist_id}","starred_url":"https://api.github.com/users/pengkong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pengkong/subscriptions","organizations_url":"https://api.github.com/users/pengkong/orgs","repos_url":"https://api.github.com/users/pengkong/repos","events_url":"https://api.github.com/users/pengkong/events{/privacy}","received_events_url":"https://api.github.com/users/pengkong/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pengkong/laravel-mongodb","description":"A MongoDB based Eloquent model and Query builder for Laravel (Moloquent)","fork":true,"url":"https://api.github.com/repos/pengkong/laravel-mongodb","forks_url":"https://api.github.com/repos/pengkong/laravel-mongodb/forks","keys_url":"https://api.github.com/repos/pengkong/laravel-mongodb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pengkong/laravel-mongodb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pengkong/laravel-mongodb/teams","hooks_url":"https://api.github.com/repos/pengkong/laravel-mongodb/hooks","issue_events_url":"https://api.github.com/repos/pengkong/laravel-mongodb/issues/events{/number}","events_url":"https://api.github.com/repos/pengkong/laravel-mongodb/events","assignees_url":"https://api.github.com/repos/pengkong/laravel-mongodb/assignees{/user}","branches_url":"https://api.github.com/repos/pengkong/laravel-mongodb/branches{/branch}","tags_url":"https://api.github.com/repos/pengkong/laravel-mongodb/tags","blobs_url":"https://api.github.com/repos/pengkong/laravel-mongodb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pengkong/laravel-mongodb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pengkong/laravel-mongodb/git/refs{/sha}","trees_url":"https://api.github.com/repos/pengkong/laravel-mongodb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pengkong/laravel-mongodb/statuses/{sha}","languages_url":"https://api.github.com/repos/pengkong/laravel-mongodb/languages","stargazers_url":"https://api.github.com/repos/pengkong/laravel-mongodb/stargazers","contributors_url":"https://api.github.com/repos/pengkong/laravel-mongodb/contributors","subscribers_url":"https://api.github.com/repos/pengkong/laravel-mongodb/subscribers","subscription_url":"https://api.github.com/repos/pengkong/laravel-mongodb/subscription","commits_url":"https://api.github.com/repos/pengkong/laravel-mongodb/commits{/sha}","git_commits_url":"https://api.github.com/repos/pengkong/laravel-mongodb/git/commits{/sha}","comments_url":"https://api.github.com/repos/pengkong/laravel-mongodb/comments{/number}","issue_comment_url":"https://api.github.com/repos/pengkong/laravel-mongodb/issues/comments{/number}","contents_url":"https://api.github.com/repos/pengkong/laravel-mongodb/contents/{+path}","compare_url":"https://api.github.com/repos/pengkong/laravel-mongodb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pengkong/laravel-mongodb/merges","archive_url":"https://api.github.com/repos/pengkong/laravel-mongodb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pengkong/laravel-mongodb/downloads","issues_url":"https://api.github.com/repos/pengkong/laravel-mongodb/issues{/number}","pulls_url":"https://api.github.com/repos/pengkong/laravel-mongodb/pulls{/number}","milestones_url":"https://api.github.com/repos/pengkong/laravel-mongodb/milestones{/number}","notifications_url":"https://api.github.com/repos/pengkong/laravel-mongodb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pengkong/laravel-mongodb/labels{/name}","releases_url":"https://api.github.com/repos/pengkong/laravel-mongodb/releases{/id}","created_at":"2015-12-04T10:06:00Z","updated_at":"2015-12-04T10:06:01Z","pushed_at":"2015-12-04T10:24:32Z","git_url":"git://github.com/pengkong/laravel-mongodb.git","ssh_url":"git@github.com:pengkong/laravel-mongodb.git","clone_url":"https://github.com/pengkong/laravel-mongodb.git","svn_url":"https://github.com/pengkong/laravel-mongodb","homepage":"https://jenssegers.com","size":864,"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":"jenssegers:master","ref":"master","sha":"cddcea80c7a333eb39307329f2e5239ab4e9d6dd","user":{"login":"jenssegers","id":194377,"avatar_url":"https://avatars.githubusercontent.com/u/194377?v=3","gravatar_id":"","url":"https://api.github.com/users/jenssegers","html_url":"https://github.com/jenssegers","followers_url":"https://api.github.com/users/jenssegers/followers","following_url":"https://api.github.com/users/jenssegers/following{/other_user}","gists_url":"https://api.github.com/users/jenssegers/gists{/gist_id}","starred_url":"https://api.github.com/users/jenssegers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jenssegers/subscriptions","organizations_url":"https://api.github.com/users/jenssegers/orgs","repos_url":"https://api.github.com/users/jenssegers/repos","events_url":"https://api.github.com/users/jenssegers/events{/privacy}","received_events_url":"https://api.github.com/users/jenssegers/received_events","type":"User","site_admin":false},"repo":{"id":9131292,"name":"laravel-mongodb","full_name":"jenssegers/laravel-mongodb","owner":{"login":"jenssegers","id":194377,"avatar_url":"https://avatars.githubusercontent.com/u/194377?v=3","gravatar_id":"","url":"https://api.github.com/users/jenssegers","html_url":"https://github.com/jenssegers","followers_url":"https://api.github.com/users/jenssegers/followers","following_url":"https://api.github.com/users/jenssegers/following{/other_user}","gists_url":"https://api.github.com/users/jenssegers/gists{/gist_id}","starred_url":"https://api.github.com/users/jenssegers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jenssegers/subscriptions","organizations_url":"https://api.github.com/users/jenssegers/orgs","repos_url":"https://api.github.com/users/jenssegers/repos","events_url":"https://api.github.com/users/jenssegers/events{/privacy}","received_events_url":"https://api.github.com/users/jenssegers/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jenssegers/laravel-mongodb","description":"A MongoDB based Eloquent model and Query builder for Laravel (Moloquent)","fork":false,"url":"https://api.github.com/repos/jenssegers/laravel-mongodb","forks_url":"https://api.github.com/repos/jenssegers/laravel-mongodb/forks","keys_url":"https://api.github.com/repos/jenssegers/laravel-mongodb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jenssegers/laravel-mongodb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jenssegers/laravel-mongodb/teams","hooks_url":"https://api.github.com/repos/jenssegers/laravel-mongodb/hooks","issue_events_url":"https://api.github.com/repos/jenssegers/laravel-mongodb/issues/events{/number}","events_url":"https://api.github.com/repos/jenssegers/laravel-mongodb/events","assignees_url":"https://api.github.com/repos/jenssegers/laravel-mongodb/assignees{/user}","branches_url":"https://api.github.com/repos/jenssegers/laravel-mongodb/branches{/branch}","tags_url":"https://api.github.com/repos/jenssegers/laravel-mongodb/tags","blobs_url":"https://api.github.com/repos/jenssegers/laravel-mongodb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jenssegers/laravel-mongodb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jenssegers/laravel-mongodb/git/refs{/sha}","trees_url":"https://api.github.com/repos/jenssegers/laravel-mongodb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jenssegers/laravel-mongodb/statuses/{sha}","languages_url":"https://api.github.com/repos/jenssegers/laravel-mongodb/languages","stargazers_url":"https://api.github.com/repos/jenssegers/laravel-mongodb/stargazers","contributors_url":"https://api.github.com/repos/jenssegers/laravel-mongodb/contributors","subscribers_url":"https://api.github.com/repos/jenssegers/laravel-mongodb/subscribers","subscription_url":"https://api.github.com/repos/jenssegers/laravel-mongodb/subscription","commits_url":"https://api.github.com/repos/jenssegers/laravel-mongodb/commits{/sha}","git_commits_url":"https://api.github.com/repos/jenssegers/laravel-mongodb/git/commits{/sha}","comments_url":"https://api.github.com/repos/jenssegers/laravel-mongodb/comments{/number}","issue_comment_url":"https://api.github.com/repos/jenssegers/laravel-mongodb/issues/comments{/number}","contents_url":"https://api.github.com/repos/jenssegers/laravel-mongodb/contents/{+path}","compare_url":"https://api.github.com/repos/jenssegers/laravel-mongodb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jenssegers/laravel-mongodb/merges","archive_url":"https://api.github.com/repos/jenssegers/laravel-mongodb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jenssegers/laravel-mongodb/downloads","issues_url":"https://api.github.com/repos/jenssegers/laravel-mongodb/issues{/number}","pulls_url":"https://api.github.com/repos/jenssegers/laravel-mongodb/pulls{/number}","milestones_url":"https://api.github.com/repos/jenssegers/laravel-mongodb/milestones{/number}","notifications_url":"https://api.github.com/repos/jenssegers/laravel-mongodb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jenssegers/laravel-mongodb/labels{/name}","releases_url":"https://api.github.com/repos/jenssegers/laravel-mongodb/releases{/id}","created_at":"2013-03-31T14:31:04Z","updated_at":"2015-12-03T22:37:13Z","pushed_at":"2015-12-03T18:56:10Z","git_url":"git://github.com/jenssegers/laravel-mongodb.git","ssh_url":"git@github.com:jenssegers/laravel-mongodb.git","clone_url":"https://github.com/jenssegers/laravel-mongodb.git","svn_url":"https://github.com/jenssegers/laravel-mongodb","homepage":"https://jenssegers.com","size":1121,"stargazers_count":1416,"watchers_count":1416,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":332,"mirror_url":null,"open_issues_count":167,"forks":332,"open_issues":167,"watchers":1416,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jenssegers/laravel-mongodb/pulls/666"},"html":{"href":"https://github.com/jenssegers/laravel-mongodb/pull/666"},"issue":{"href":"https://api.github.com/repos/jenssegers/laravel-mongodb/issues/666"},"comments":{"href":"https://api.github.com/repos/jenssegers/laravel-mongodb/issues/666/comments"},"review_comments":{"href":"https://api.github.com/repos/jenssegers/laravel-mongodb/pulls/666/comments"},"review_comment":{"href":"https://api.github.com/repos/jenssegers/laravel-mongodb/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jenssegers/laravel-mongodb/pulls/666/commits"},"statuses":{"href":"https://api.github.com/repos/jenssegers/laravel-mongodb/statuses/2995dc1268243b5834799ad5a2dd829faa3da8e4"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":13,"deletions":0,"changed_files":1}}