{"action":"created","comment":{"url":"https://api.github.com/repos/at-phuctv/Inntership_demo/pulls/comments/95101804","pull_request_review_id":15645642,"id":95101804,"diff_hunk":"@@ -0,0 +1,31 @@\n+<?php\n+\n+namespace App\\Models;\n+\n+use Illuminate\\Database\\Eloquent\\Model;\n+\n+class Category extends Model\n+{\n+    /**\n+     * The table define category model\n+     */\n+    protected $table = 'categories';\n+\n+    /**\n+     * The attributes that are mass assignable.\n+     *\n+     * @var array\n+     */\n+    protected $fillable = [\n+        'id', 'name', 'introduce', 'image',\n+    ];\n+    /**\n+     * [relation with post model]","path":"app/Models/Category.php","position":23,"original_position":23,"commit_id":"88ea36552a882c73e8a70a83f8496ade68e3a0f6","original_commit_id":"88ea36552a882c73e8a70a83f8496ade68e3a0f6","user":{"login":"at-vietpb","id":16131595,"avatar_url":"https://avatars.githubusercontent.com/u/16131595?v=3","gravatar_id":"","url":"https://api.github.com/users/at-vietpb","html_url":"https://github.com/at-vietpb","followers_url":"https://api.github.com/users/at-vietpb/followers","following_url":"https://api.github.com/users/at-vietpb/following{/other_user}","gists_url":"https://api.github.com/users/at-vietpb/gists{/gist_id}","starred_url":"https://api.github.com/users/at-vietpb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/at-vietpb/subscriptions","organizations_url":"https://api.github.com/users/at-vietpb/orgs","repos_url":"https://api.github.com/users/at-vietpb/repos","events_url":"https://api.github.com/users/at-vietpb/events{/privacy}","received_events_url":"https://api.github.com/users/at-vietpb/received_events","type":"User","site_admin":false},"body":"Don't add example description.","created_at":"2017-01-09T04:30:32Z","updated_at":"2017-01-09T04:30:32Z","html_url":"https://github.com/at-phuctv/Inntership_demo/pull/3#discussion_r95101804","pull_request_url":"https://api.github.com/repos/at-phuctv/Inntership_demo/pulls/3","_links":{"self":{"href":"https://api.github.com/repos/at-phuctv/Inntership_demo/pulls/comments/95101804"},"html":{"href":"https://github.com/at-phuctv/Inntership_demo/pull/3#discussion_r95101804"},"pull_request":{"href":"https://api.github.com/repos/at-phuctv/Inntership_demo/pulls/3"}}},"pull_request":{"url":"https://api.github.com/repos/at-phuctv/Inntership_demo/pulls/3","id":100631419,"html_url":"https://github.com/at-phuctv/Inntership_demo/pull/3","diff_url":"https://github.com/at-phuctv/Inntership_demo/pull/3.diff","patch_url":"https://github.com/at-phuctv/Inntership_demo/pull/3.patch","issue_url":"https://api.github.com/repos/at-phuctv/Inntership_demo/issues/3","number":3,"state":"open","locked":false,"title":"Create migration and seed","user":{"login":"at-phuctv","id":23696369,"avatar_url":"https://avatars.githubusercontent.com/u/23696369?v=3","gravatar_id":"","url":"https://api.github.com/users/at-phuctv","html_url":"https://github.com/at-phuctv","followers_url":"https://api.github.com/users/at-phuctv/followers","following_url":"https://api.github.com/users/at-phuctv/following{/other_user}","gists_url":"https://api.github.com/users/at-phuctv/gists{/gist_id}","starred_url":"https://api.github.com/users/at-phuctv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/at-phuctv/subscriptions","organizations_url":"https://api.github.com/users/at-phuctv/orgs","repos_url":"https://api.github.com/users/at-phuctv/repos","events_url":"https://api.github.com/users/at-phuctv/events{/privacy}","received_events_url":"https://api.github.com/users/at-phuctv/received_events","type":"User","site_admin":false},"body":"- create migration\r\n- create model\r\n- create seed table categories and roles","created_at":"2017-01-09T03:55:41Z","updated_at":"2017-01-09T04:30:32Z","closed_at":null,"merged_at":null,"merge_commit_sha":"44de83997b79ceb12ff8338bcba1d0c9889b5f72","assignee":{"login":"at-dungnh","id":12025853,"avatar_url":"https://avatars.githubusercontent.com/u/12025853?v=3","gravatar_id":"","url":"https://api.github.com/users/at-dungnh","html_url":"https://github.com/at-dungnh","followers_url":"https://api.github.com/users/at-dungnh/followers","following_url":"https://api.github.com/users/at-dungnh/following{/other_user}","gists_url":"https://api.github.com/users/at-dungnh/gists{/gist_id}","starred_url":"https://api.github.com/users/at-dungnh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/at-dungnh/subscriptions","organizations_url":"https://api.github.com/users/at-dungnh/orgs","repos_url":"https://api.github.com/users/at-dungnh/repos","events_url":"https://api.github.com/users/at-dungnh/events{/privacy}","received_events_url":"https://api.github.com/users/at-dungnh/received_events","type":"User","site_admin":false},"assignees":[{"login":"at-dungnh","id":12025853,"avatar_url":"https://avatars.githubusercontent.com/u/12025853?v=3","gravatar_id":"","url":"https://api.github.com/users/at-dungnh","html_url":"https://github.com/at-dungnh","followers_url":"https://api.github.com/users/at-dungnh/followers","following_url":"https://api.github.com/users/at-dungnh/following{/other_user}","gists_url":"https://api.github.com/users/at-dungnh/gists{/gist_id}","starred_url":"https://api.github.com/users/at-dungnh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/at-dungnh/subscriptions","organizations_url":"https://api.github.com/users/at-dungnh/orgs","repos_url":"https://api.github.com/users/at-dungnh/repos","events_url":"https://api.github.com/users/at-dungnh/events{/privacy}","received_events_url":"https://api.github.com/users/at-dungnh/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/at-phuctv/Inntership_demo/pulls/3/commits","review_comments_url":"https://api.github.com/repos/at-phuctv/Inntership_demo/pulls/3/comments","review_comment_url":"https://api.github.com/repos/at-phuctv/Inntership_demo/pulls/comments{/number}","comments_url":"https://api.github.com/repos/at-phuctv/Inntership_demo/issues/3/comments","statuses_url":"https://api.github.com/repos/at-phuctv/Inntership_demo/statuses/88ea36552a882c73e8a70a83f8496ade68e3a0f6","head":{"label":"at-phuctv:feature#2","ref":"feature#2","sha":"88ea36552a882c73e8a70a83f8496ade68e3a0f6","user":{"login":"at-phuctv","id":23696369,"avatar_url":"https://avatars.githubusercontent.com/u/23696369?v=3","gravatar_id":"","url":"https://api.github.com/users/at-phuctv","html_url":"https://github.com/at-phuctv","followers_url":"https://api.github.com/users/at-phuctv/followers","following_url":"https://api.github.com/users/at-phuctv/following{/other_user}","gists_url":"https://api.github.com/users/at-phuctv/gists{/gist_id}","starred_url":"https://api.github.com/users/at-phuctv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/at-phuctv/subscriptions","organizations_url":"https://api.github.com/users/at-phuctv/orgs","repos_url":"https://api.github.com/users/at-phuctv/repos","events_url":"https://api.github.com/users/at-phuctv/events{/privacy}","received_events_url":"https://api.github.com/users/at-phuctv/received_events","type":"User","site_admin":false},"repo":{"id":74724102,"name":"Inntership_demo","full_name":"at-phuctv/Inntership_demo","owner":{"login":"at-phuctv","id":23696369,"avatar_url":"https://avatars.githubusercontent.com/u/23696369?v=3","gravatar_id":"","url":"https://api.github.com/users/at-phuctv","html_url":"https://github.com/at-phuctv","followers_url":"https://api.github.com/users/at-phuctv/followers","following_url":"https://api.github.com/users/at-phuctv/following{/other_user}","gists_url":"https://api.github.com/users/at-phuctv/gists{/gist_id}","starred_url":"https://api.github.com/users/at-phuctv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/at-phuctv/subscriptions","organizations_url":"https://api.github.com/users/at-phuctv/orgs","repos_url":"https://api.github.com/users/at-phuctv/repos","events_url":"https://api.github.com/users/at-phuctv/events{/privacy}","received_events_url":"https://api.github.com/users/at-phuctv/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/at-phuctv/Inntership_demo","description":null,"fork":false,"url":"https://api.github.com/repos/at-phuctv/Inntership_demo","forks_url":"https://api.github.com/repos/at-phuctv/Inntership_demo/forks","keys_url":"https://api.github.com/repos/at-phuctv/Inntership_demo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/at-phuctv/Inntership_demo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/at-phuctv/Inntership_demo/teams","hooks_url":"https://api.github.com/repos/at-phuctv/Inntership_demo/hooks","issue_events_url":"https://api.github.com/repos/at-phuctv/Inntership_demo/issues/events{/number}","events_url":"https://api.github.com/repos/at-phuctv/Inntership_demo/events","assignees_url":"https://api.github.com/repos/at-phuctv/Inntership_demo/assignees{/user}","branches_url":"https://api.github.com/repos/at-phuctv/Inntership_demo/branches{/branch}","tags_url":"https://api.github.com/repos/at-phuctv/Inntership_demo/tags","blobs_url":"https://api.github.com/repos/at-phuctv/Inntership_demo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/at-phuctv/Inntership_demo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/at-phuctv/Inntership_demo/git/refs{/sha}","trees_url":"https://api.github.com/repos/at-phuctv/Inntership_demo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/at-phuctv/Inntership_demo/statuses/{sha}","languages_url":"https://api.github.com/repos/at-phuctv/Inntership_demo/languages","stargazers_url":"https://api.github.com/repos/at-phuctv/Inntership_demo/stargazers","contributors_url":"https://api.github.com/repos/at-phuctv/Inntership_demo/contributors","subscribers_url":"https://api.github.com/repos/at-phuctv/Inntership_demo/subscribers","subscription_url":"https://api.github.com/repos/at-phuctv/Inntership_demo/subscription","commits_url":"https://api.github.com/repos/at-phuctv/Inntership_demo/commits{/sha}","git_commits_url":"https://api.github.com/repos/at-phuctv/Inntership_demo/git/commits{/sha}","comments_url":"https://api.github.com/repos/at-phuctv/Inntership_demo/comments{/number}","issue_comment_url":"https://api.github.com/repos/at-phuctv/Inntership_demo/issues/comments{/number}","contents_url":"https://api.github.com/repos/at-phuctv/Inntership_demo/contents/{+path}","compare_url":"https://api.github.com/repos/at-phuctv/Inntership_demo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/at-phuctv/Inntership_demo/merges","archive_url":"https://api.github.com/repos/at-phuctv/Inntership_demo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/at-phuctv/Inntership_demo/downloads","issues_url":"https://api.github.com/repos/at-phuctv/Inntership_demo/issues{/number}","pulls_url":"https://api.github.com/repos/at-phuctv/Inntership_demo/pulls{/number}","milestones_url":"https://api.github.com/repos/at-phuctv/Inntership_demo/milestones{/number}","notifications_url":"https://api.github.com/repos/at-phuctv/Inntership_demo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/at-phuctv/Inntership_demo/labels{/name}","releases_url":"https://api.github.com/repos/at-phuctv/Inntership_demo/releases{/id}","deployments_url":"https://api.github.com/repos/at-phuctv/Inntership_demo/deployments","created_at":"2016-11-25T03:55:40Z","updated_at":"2017-01-04T02:23:51Z","pushed_at":"2017-01-09T03:59:58Z","git_url":"git://github.com/at-phuctv/Inntership_demo.git","ssh_url":"git@github.com:at-phuctv/Inntership_demo.git","clone_url":"https://github.com/at-phuctv/Inntership_demo.git","svn_url":"https://github.com/at-phuctv/Inntership_demo","homepage":null,"size":165,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":3,"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"base":{"label":"at-phuctv:master","ref":"master","sha":"c25e2d1c654c76c85b8c31f1ee357bafe0c00ef9","user":{"login":"at-phuctv","id":23696369,"avatar_url":"https://avatars.githubusercontent.com/u/23696369?v=3","gravatar_id":"","url":"https://api.github.com/users/at-phuctv","html_url":"https://github.com/at-phuctv","followers_url":"https://api.github.com/users/at-phuctv/followers","following_url":"https://api.github.com/users/at-phuctv/following{/other_user}","gists_url":"https://api.github.com/users/at-phuctv/gists{/gist_id}","starred_url":"https://api.github.com/users/at-phuctv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/at-phuctv/subscriptions","organizations_url":"https://api.github.com/users/at-phuctv/orgs","repos_url":"https://api.github.com/users/at-phuctv/repos","events_url":"https://api.github.com/users/at-phuctv/events{/privacy}","received_events_url":"https://api.github.com/users/at-phuctv/received_events","type":"User","site_admin":false},"repo":{"id":74724102,"name":"Inntership_demo","full_name":"at-phuctv/Inntership_demo","owner":{"login":"at-phuctv","id":23696369,"avatar_url":"https://avatars.githubusercontent.com/u/23696369?v=3","gravatar_id":"","url":"https://api.github.com/users/at-phuctv","html_url":"https://github.com/at-phuctv","followers_url":"https://api.github.com/users/at-phuctv/followers","following_url":"https://api.github.com/users/at-phuctv/following{/other_user}","gists_url":"https://api.github.com/users/at-phuctv/gists{/gist_id}","starred_url":"https://api.github.com/users/at-phuctv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/at-phuctv/subscriptions","organizations_url":"https://api.github.com/users/at-phuctv/orgs","repos_url":"https://api.github.com/users/at-phuctv/repos","events_url":"https://api.github.com/users/at-phuctv/events{/privacy}","received_events_url":"https://api.github.com/users/at-phuctv/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/at-phuctv/Inntership_demo","description":null,"fork":false,"url":"https://api.github.com/repos/at-phuctv/Inntership_demo","forks_url":"https://api.github.com/repos/at-phuctv/Inntership_demo/forks","keys_url":"https://api.github.com/repos/at-phuctv/Inntership_demo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/at-phuctv/Inntership_demo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/at-phuctv/Inntership_demo/teams","hooks_url":"https://api.github.com/repos/at-phuctv/Inntership_demo/hooks","issue_events_url":"https://api.github.com/repos/at-phuctv/Inntership_demo/issues/events{/number}","events_url":"https://api.github.com/repos/at-phuctv/Inntership_demo/events","assignees_url":"https://api.github.com/repos/at-phuctv/Inntership_demo/assignees{/user}","branches_url":"https://api.github.com/repos/at-phuctv/Inntership_demo/branches{/branch}","tags_url":"https://api.github.com/repos/at-phuctv/Inntership_demo/tags","blobs_url":"https://api.github.com/repos/at-phuctv/Inntership_demo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/at-phuctv/Inntership_demo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/at-phuctv/Inntership_demo/git/refs{/sha}","trees_url":"https://api.github.com/repos/at-phuctv/Inntership_demo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/at-phuctv/Inntership_demo/statuses/{sha}","languages_url":"https://api.github.com/repos/at-phuctv/Inntership_demo/languages","stargazers_url":"https://api.github.com/repos/at-phuctv/Inntership_demo/stargazers","contributors_url":"https://api.github.com/repos/at-phuctv/Inntership_demo/contributors","subscribers_url":"https://api.github.com/repos/at-phuctv/Inntership_demo/subscribers","subscription_url":"https://api.github.com/repos/at-phuctv/Inntership_demo/subscription","commits_url":"https://api.github.com/repos/at-phuctv/Inntership_demo/commits{/sha}","git_commits_url":"https://api.github.com/repos/at-phuctv/Inntership_demo/git/commits{/sha}","comments_url":"https://api.github.com/repos/at-phuctv/Inntership_demo/comments{/number}","issue_comment_url":"https://api.github.com/repos/at-phuctv/Inntership_demo/issues/comments{/number}","contents_url":"https://api.github.com/repos/at-phuctv/Inntership_demo/contents/{+path}","compare_url":"https://api.github.com/repos/at-phuctv/Inntership_demo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/at-phuctv/Inntership_demo/merges","archive_url":"https://api.github.com/repos/at-phuctv/Inntership_demo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/at-phuctv/Inntership_demo/downloads","issues_url":"https://api.github.com/repos/at-phuctv/Inntership_demo/issues{/number}","pulls_url":"https://api.github.com/repos/at-phuctv/Inntership_demo/pulls{/number}","milestones_url":"https://api.github.com/repos/at-phuctv/Inntership_demo/milestones{/number}","notifications_url":"https://api.github.com/repos/at-phuctv/Inntership_demo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/at-phuctv/Inntership_demo/labels{/name}","releases_url":"https://api.github.com/repos/at-phuctv/Inntership_demo/releases{/id}","deployments_url":"https://api.github.com/repos/at-phuctv/Inntership_demo/deployments","created_at":"2016-11-25T03:55:40Z","updated_at":"2017-01-04T02:23:51Z","pushed_at":"2017-01-09T03:59:58Z","git_url":"git://github.com/at-phuctv/Inntership_demo.git","ssh_url":"git@github.com:at-phuctv/Inntership_demo.git","clone_url":"https://github.com/at-phuctv/Inntership_demo.git","svn_url":"https://github.com/at-phuctv/Inntership_demo","homepage":null,"size":165,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":3,"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/at-phuctv/Inntership_demo/pulls/3"},"html":{"href":"https://github.com/at-phuctv/Inntership_demo/pull/3"},"issue":{"href":"https://api.github.com/repos/at-phuctv/Inntership_demo/issues/3"},"comments":{"href":"https://api.github.com/repos/at-phuctv/Inntership_demo/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/at-phuctv/Inntership_demo/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/at-phuctv/Inntership_demo/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/at-phuctv/Inntership_demo/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/at-phuctv/Inntership_demo/statuses/88ea36552a882c73e8a70a83f8496ade68e3a0f6"}}}}
{"actor":{"display_login":"at-vietpb"}}