{"action":"closed","number":1,"pull_request":{"url":"https://api.github.com/repos/JavidX/framework/pulls/1","id":57752339,"html_url":"https://github.com/JavidX/framework/pull/1","diff_url":"https://github.com/JavidX/framework/pull/1.diff","patch_url":"https://github.com/JavidX/framework/pull/1.patch","issue_url":"https://api.github.com/repos/JavidX/framework/issues/1","number":1,"state":"closed","locked":false,"title":"Update Model.php - Add support for mixed primary key","user":{"login":"JavidX","id":14116777,"avatar_url":"https://avatars.githubusercontent.com/u/14116777?v=3","gravatar_id":"","url":"https://api.github.com/users/JavidX","html_url":"https://github.com/JavidX","followers_url":"https://api.github.com/users/JavidX/followers","following_url":"https://api.github.com/users/JavidX/following{/other_user}","gists_url":"https://api.github.com/users/JavidX/gists{/gist_id}","starred_url":"https://api.github.com/users/JavidX/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JavidX/subscriptions","organizations_url":"https://api.github.com/users/JavidX/orgs","repos_url":"https://api.github.com/users/JavidX/repos","events_url":"https://api.github.com/users/JavidX/events{/privacy}","received_events_url":"https://api.github.com/users/JavidX/received_events","type":"User","site_admin":false},"body":"In eloquent we couldn't have a mixed primary key in a model; like this:\r\n\r\n>         public $primaryKey = ['key1', 'key2'];\r\n\r\nSometimes it's really necessary to use two or more keys at the same time (mixed).","created_at":"2016-01-30T22:11:11Z","updated_at":"2016-01-30T22:13:15Z","closed_at":"2016-01-30T22:13:15Z","merged_at":"2016-01-30T22:13:15Z","merge_commit_sha":"c9fe67cf0d240c82977993b864c0c48a882b0228","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/JavidX/framework/pulls/1/commits","review_comments_url":"https://api.github.com/repos/JavidX/framework/pulls/1/comments","review_comment_url":"https://api.github.com/repos/JavidX/framework/pulls/comments{/number}","comments_url":"https://api.github.com/repos/JavidX/framework/issues/1/comments","statuses_url":"https://api.github.com/repos/JavidX/framework/statuses/f4837f752fef9eb4e4bd177534d6ef58adb402a0","head":{"label":"JavidX:JavidX-multi-primary-key-support","ref":"JavidX-multi-primary-key-support","sha":"f4837f752fef9eb4e4bd177534d6ef58adb402a0","user":{"login":"JavidX","id":14116777,"avatar_url":"https://avatars.githubusercontent.com/u/14116777?v=3","gravatar_id":"","url":"https://api.github.com/users/JavidX","html_url":"https://github.com/JavidX","followers_url":"https://api.github.com/users/JavidX/followers","following_url":"https://api.github.com/users/JavidX/following{/other_user}","gists_url":"https://api.github.com/users/JavidX/gists{/gist_id}","starred_url":"https://api.github.com/users/JavidX/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JavidX/subscriptions","organizations_url":"https://api.github.com/users/JavidX/orgs","repos_url":"https://api.github.com/users/JavidX/repos","events_url":"https://api.github.com/users/JavidX/events{/privacy}","received_events_url":"https://api.github.com/users/JavidX/received_events","type":"User","site_admin":false},"repo":{"id":50746858,"name":"framework","full_name":"JavidX/framework","owner":{"login":"JavidX","id":14116777,"avatar_url":"https://avatars.githubusercontent.com/u/14116777?v=3","gravatar_id":"","url":"https://api.github.com/users/JavidX","html_url":"https://github.com/JavidX","followers_url":"https://api.github.com/users/JavidX/followers","following_url":"https://api.github.com/users/JavidX/following{/other_user}","gists_url":"https://api.github.com/users/JavidX/gists{/gist_id}","starred_url":"https://api.github.com/users/JavidX/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JavidX/subscriptions","organizations_url":"https://api.github.com/users/JavidX/orgs","repos_url":"https://api.github.com/users/JavidX/repos","events_url":"https://api.github.com/users/JavidX/events{/privacy}","received_events_url":"https://api.github.com/users/JavidX/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/JavidX/framework","description":"","fork":true,"url":"https://api.github.com/repos/JavidX/framework","forks_url":"https://api.github.com/repos/JavidX/framework/forks","keys_url":"https://api.github.com/repos/JavidX/framework/keys{/key_id}","collaborators_url":"https://api.github.com/repos/JavidX/framework/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/JavidX/framework/teams","hooks_url":"https://api.github.com/repos/JavidX/framework/hooks","issue_events_url":"https://api.github.com/repos/JavidX/framework/issues/events{/number}","events_url":"https://api.github.com/repos/JavidX/framework/events","assignees_url":"https://api.github.com/repos/JavidX/framework/assignees{/user}","branches_url":"https://api.github.com/repos/JavidX/framework/branches{/branch}","tags_url":"https://api.github.com/repos/JavidX/framework/tags","blobs_url":"https://api.github.com/repos/JavidX/framework/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/JavidX/framework/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/JavidX/framework/git/refs{/sha}","trees_url":"https://api.github.com/repos/JavidX/framework/git/trees{/sha}","statuses_url":"https://api.github.com/repos/JavidX/framework/statuses/{sha}","languages_url":"https://api.github.com/repos/JavidX/framework/languages","stargazers_url":"https://api.github.com/repos/JavidX/framework/stargazers","contributors_url":"https://api.github.com/repos/JavidX/framework/contributors","subscribers_url":"https://api.github.com/repos/JavidX/framework/subscribers","subscription_url":"https://api.github.com/repos/JavidX/framework/subscription","commits_url":"https://api.github.com/repos/JavidX/framework/commits{/sha}","git_commits_url":"https://api.github.com/repos/JavidX/framework/git/commits{/sha}","comments_url":"https://api.github.com/repos/JavidX/framework/comments{/number}","issue_comment_url":"https://api.github.com/repos/JavidX/framework/issues/comments{/number}","contents_url":"https://api.github.com/repos/JavidX/framework/contents/{+path}","compare_url":"https://api.github.com/repos/JavidX/framework/compare/{base}...{head}","merges_url":"https://api.github.com/repos/JavidX/framework/merges","archive_url":"https://api.github.com/repos/JavidX/framework/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/JavidX/framework/downloads","issues_url":"https://api.github.com/repos/JavidX/framework/issues{/number}","pulls_url":"https://api.github.com/repos/JavidX/framework/pulls{/number}","milestones_url":"https://api.github.com/repos/JavidX/framework/milestones{/number}","notifications_url":"https://api.github.com/repos/JavidX/framework/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/JavidX/framework/labels{/name}","releases_url":"https://api.github.com/repos/JavidX/framework/releases{/id}","deployments_url":"https://api.github.com/repos/JavidX/framework/deployments","created_at":"2016-01-30T21:57:40Z","updated_at":"2016-01-30T21:57:44Z","pushed_at":"2016-01-30T22:13:15Z","git_url":"git://github.com/JavidX/framework.git","ssh_url":"git@github.com:JavidX/framework.git","clone_url":"https://github.com/JavidX/framework.git","svn_url":"https://github.com/JavidX/framework","homepage":"http://laravel.com","size":20955,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"5.2"}},"base":{"label":"JavidX:5.2","ref":"5.2","sha":"f004a43a3c3fea0903f83e75118e3634dac47ca9","user":{"login":"JavidX","id":14116777,"avatar_url":"https://avatars.githubusercontent.com/u/14116777?v=3","gravatar_id":"","url":"https://api.github.com/users/JavidX","html_url":"https://github.com/JavidX","followers_url":"https://api.github.com/users/JavidX/followers","following_url":"https://api.github.com/users/JavidX/following{/other_user}","gists_url":"https://api.github.com/users/JavidX/gists{/gist_id}","starred_url":"https://api.github.com/users/JavidX/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JavidX/subscriptions","organizations_url":"https://api.github.com/users/JavidX/orgs","repos_url":"https://api.github.com/users/JavidX/repos","events_url":"https://api.github.com/users/JavidX/events{/privacy}","received_events_url":"https://api.github.com/users/JavidX/received_events","type":"User","site_admin":false},"repo":{"id":50746858,"name":"framework","full_name":"JavidX/framework","owner":{"login":"JavidX","id":14116777,"avatar_url":"https://avatars.githubusercontent.com/u/14116777?v=3","gravatar_id":"","url":"https://api.github.com/users/JavidX","html_url":"https://github.com/JavidX","followers_url":"https://api.github.com/users/JavidX/followers","following_url":"https://api.github.com/users/JavidX/following{/other_user}","gists_url":"https://api.github.com/users/JavidX/gists{/gist_id}","starred_url":"https://api.github.com/users/JavidX/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JavidX/subscriptions","organizations_url":"https://api.github.com/users/JavidX/orgs","repos_url":"https://api.github.com/users/JavidX/repos","events_url":"https://api.github.com/users/JavidX/events{/privacy}","received_events_url":"https://api.github.com/users/JavidX/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/JavidX/framework","description":"","fork":true,"url":"https://api.github.com/repos/JavidX/framework","forks_url":"https://api.github.com/repos/JavidX/framework/forks","keys_url":"https://api.github.com/repos/JavidX/framework/keys{/key_id}","collaborators_url":"https://api.github.com/repos/JavidX/framework/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/JavidX/framework/teams","hooks_url":"https://api.github.com/repos/JavidX/framework/hooks","issue_events_url":"https://api.github.com/repos/JavidX/framework/issues/events{/number}","events_url":"https://api.github.com/repos/JavidX/framework/events","assignees_url":"https://api.github.com/repos/JavidX/framework/assignees{/user}","branches_url":"https://api.github.com/repos/JavidX/framework/branches{/branch}","tags_url":"https://api.github.com/repos/JavidX/framework/tags","blobs_url":"https://api.github.com/repos/JavidX/framework/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/JavidX/framework/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/JavidX/framework/git/refs{/sha}","trees_url":"https://api.github.com/repos/JavidX/framework/git/trees{/sha}","statuses_url":"https://api.github.com/repos/JavidX/framework/statuses/{sha}","languages_url":"https://api.github.com/repos/JavidX/framework/languages","stargazers_url":"https://api.github.com/repos/JavidX/framework/stargazers","contributors_url":"https://api.github.com/repos/JavidX/framework/contributors","subscribers_url":"https://api.github.com/repos/JavidX/framework/subscribers","subscription_url":"https://api.github.com/repos/JavidX/framework/subscription","commits_url":"https://api.github.com/repos/JavidX/framework/commits{/sha}","git_commits_url":"https://api.github.com/repos/JavidX/framework/git/commits{/sha}","comments_url":"https://api.github.com/repos/JavidX/framework/comments{/number}","issue_comment_url":"https://api.github.com/repos/JavidX/framework/issues/comments{/number}","contents_url":"https://api.github.com/repos/JavidX/framework/contents/{+path}","compare_url":"https://api.github.com/repos/JavidX/framework/compare/{base}...{head}","merges_url":"https://api.github.com/repos/JavidX/framework/merges","archive_url":"https://api.github.com/repos/JavidX/framework/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/JavidX/framework/downloads","issues_url":"https://api.github.com/repos/JavidX/framework/issues{/number}","pulls_url":"https://api.github.com/repos/JavidX/framework/pulls{/number}","milestones_url":"https://api.github.com/repos/JavidX/framework/milestones{/number}","notifications_url":"https://api.github.com/repos/JavidX/framework/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/JavidX/framework/labels{/name}","releases_url":"https://api.github.com/repos/JavidX/framework/releases{/id}","deployments_url":"https://api.github.com/repos/JavidX/framework/deployments","created_at":"2016-01-30T21:57:40Z","updated_at":"2016-01-30T21:57:44Z","pushed_at":"2016-01-30T22:13:15Z","git_url":"git://github.com/JavidX/framework.git","ssh_url":"git@github.com:JavidX/framework.git","clone_url":"https://github.com/JavidX/framework.git","svn_url":"https://github.com/JavidX/framework","homepage":"http://laravel.com","size":20955,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"5.2"}},"_links":{"self":{"href":"https://api.github.com/repos/JavidX/framework/pulls/1"},"html":{"href":"https://github.com/JavidX/framework/pull/1"},"issue":{"href":"https://api.github.com/repos/JavidX/framework/issues/1"},"comments":{"href":"https://api.github.com/repos/JavidX/framework/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/JavidX/framework/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/JavidX/framework/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/JavidX/framework/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/JavidX/framework/statuses/f4837f752fef9eb4e4bd177534d6ef58adb402a0"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"JavidX","id":14116777,"avatar_url":"https://avatars.githubusercontent.com/u/14116777?v=3","gravatar_id":"","url":"https://api.github.com/users/JavidX","html_url":"https://github.com/JavidX","followers_url":"https://api.github.com/users/JavidX/followers","following_url":"https://api.github.com/users/JavidX/following{/other_user}","gists_url":"https://api.github.com/users/JavidX/gists{/gist_id}","starred_url":"https://api.github.com/users/JavidX/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JavidX/subscriptions","organizations_url":"https://api.github.com/users/JavidX/orgs","repos_url":"https://api.github.com/users/JavidX/repos","events_url":"https://api.github.com/users/JavidX/events{/privacy}","received_events_url":"https://api.github.com/users/JavidX/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":18,"deletions":6,"changed_files":1}}