{"action":"created","comment":{"url":"https://api.github.com/repos/namnv609/hungbd-laravel5-training/pulls/comments/58831564","id":58831564,"diff_hunk":"@@ -0,0 +1,33 @@\n+<?php\n+\n+use Illuminate\\Database\\Schema\\Blueprint;\n+use Illuminate\\Database\\Migrations\\Migration;\n+\n+class CreatePostsTable extends Migration\n+{\n+    /**\n+     * Run the migrations.\n+     *\n+     * @return void\n+     */\n+    public function up()\n+    {\n+        Schema::create('posts', function (Blueprint $table) {\n+            $table->increments('id');\n+            $table->string('title')->unique();\n+            $table->integer('author_id');\n+            $table->string('content');","path":"database/migrations/2016_04_07_072716_create_posts_table.php","position":19,"original_position":19,"commit_id":"418ae2275833112ec521706e266fd66977e2a6e0","original_commit_id":"418ae2275833112ec521706e266fd66977e2a6e0","user":{"login":"namnv609","id":8691772,"avatar_url":"https://avatars.githubusercontent.com/u/8691772?v=3","gravatar_id":"","url":"https://api.github.com/users/namnv609","html_url":"https://github.com/namnv609","followers_url":"https://api.github.com/users/namnv609/followers","following_url":"https://api.github.com/users/namnv609/following{/other_user}","gists_url":"https://api.github.com/users/namnv609/gists{/gist_id}","starred_url":"https://api.github.com/users/namnv609/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/namnv609/subscriptions","organizations_url":"https://api.github.com/users/namnv609/orgs","repos_url":"https://api.github.com/users/namnv609/repos","events_url":"https://api.github.com/users/namnv609/events{/privacy}","received_events_url":"https://api.github.com/users/namnv609/received_events","type":"User","site_admin":false},"body":"Nội dung thì phải dài. Để kiểu ``text`` đê!","created_at":"2016-04-07T07:49:37Z","updated_at":"2016-04-07T07:49:37Z","html_url":"https://github.com/namnv609/hungbd-laravel5-training/pull/2#discussion_r58831564","pull_request_url":"https://api.github.com/repos/namnv609/hungbd-laravel5-training/pulls/2","_links":{"self":{"href":"https://api.github.com/repos/namnv609/hungbd-laravel5-training/pulls/comments/58831564"},"html":{"href":"https://github.com/namnv609/hungbd-laravel5-training/pull/2#discussion_r58831564"},"pull_request":{"href":"https://api.github.com/repos/namnv609/hungbd-laravel5-training/pulls/2"}}},"pull_request":{"url":"https://api.github.com/repos/namnv609/hungbd-laravel5-training/pulls/2","id":65587077,"html_url":"https://github.com/namnv609/hungbd-laravel5-training/pull/2","diff_url":"https://github.com/namnv609/hungbd-laravel5-training/pull/2.diff","patch_url":"https://github.com/namnv609/hungbd-laravel5-training/pull/2.patch","issue_url":"https://api.github.com/repos/namnv609/hungbd-laravel5-training/issues/2","number":2,"state":"open","locked":false,"title":"Migration posts, categories table","user":{"login":"hungcoj","id":5018043,"avatar_url":"https://avatars.githubusercontent.com/u/5018043?v=3","gravatar_id":"","url":"https://api.github.com/users/hungcoj","html_url":"https://github.com/hungcoj","followers_url":"https://api.github.com/users/hungcoj/followers","following_url":"https://api.github.com/users/hungcoj/following{/other_user}","gists_url":"https://api.github.com/users/hungcoj/gists{/gist_id}","starred_url":"https://api.github.com/users/hungcoj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hungcoj/subscriptions","organizations_url":"https://api.github.com/users/hungcoj/orgs","repos_url":"https://api.github.com/users/hungcoj/repos","events_url":"https://api.github.com/users/hungcoj/events{/privacy}","received_events_url":"https://api.github.com/users/hungcoj/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-04-07T07:48:03Z","updated_at":"2016-04-07T07:49:37Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7475e885bc6e6141bc82953e67c47272ab2982d7","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/namnv609/hungbd-laravel5-training/pulls/2/commits","review_comments_url":"https://api.github.com/repos/namnv609/hungbd-laravel5-training/pulls/2/comments","review_comment_url":"https://api.github.com/repos/namnv609/hungbd-laravel5-training/pulls/comments{/number}","comments_url":"https://api.github.com/repos/namnv609/hungbd-laravel5-training/issues/2/comments","statuses_url":"https://api.github.com/repos/namnv609/hungbd-laravel5-training/statuses/418ae2275833112ec521706e266fd66977e2a6e0","head":{"label":"hungcoj:migration_posts_categories","ref":"migration_posts_categories","sha":"418ae2275833112ec521706e266fd66977e2a6e0","user":{"login":"hungcoj","id":5018043,"avatar_url":"https://avatars.githubusercontent.com/u/5018043?v=3","gravatar_id":"","url":"https://api.github.com/users/hungcoj","html_url":"https://github.com/hungcoj","followers_url":"https://api.github.com/users/hungcoj/followers","following_url":"https://api.github.com/users/hungcoj/following{/other_user}","gists_url":"https://api.github.com/users/hungcoj/gists{/gist_id}","starred_url":"https://api.github.com/users/hungcoj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hungcoj/subscriptions","organizations_url":"https://api.github.com/users/hungcoj/orgs","repos_url":"https://api.github.com/users/hungcoj/repos","events_url":"https://api.github.com/users/hungcoj/events{/privacy}","received_events_url":"https://api.github.com/users/hungcoj/received_events","type":"User","site_admin":false},"repo":{"id":55668547,"name":"hungbd-laravel5-training","full_name":"hungcoj/hungbd-laravel5-training","owner":{"login":"hungcoj","id":5018043,"avatar_url":"https://avatars.githubusercontent.com/u/5018043?v=3","gravatar_id":"","url":"https://api.github.com/users/hungcoj","html_url":"https://github.com/hungcoj","followers_url":"https://api.github.com/users/hungcoj/followers","following_url":"https://api.github.com/users/hungcoj/following{/other_user}","gists_url":"https://api.github.com/users/hungcoj/gists{/gist_id}","starred_url":"https://api.github.com/users/hungcoj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hungcoj/subscriptions","organizations_url":"https://api.github.com/users/hungcoj/orgs","repos_url":"https://api.github.com/users/hungcoj/repos","events_url":"https://api.github.com/users/hungcoj/events{/privacy}","received_events_url":"https://api.github.com/users/hungcoj/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/hungcoj/hungbd-laravel5-training","description":"Project training Laravel 5.1 for Bach Dang Hung","fork":true,"url":"https://api.github.com/repos/hungcoj/hungbd-laravel5-training","forks_url":"https://api.github.com/repos/hungcoj/hungbd-laravel5-training/forks","keys_url":"https://api.github.com/repos/hungcoj/hungbd-laravel5-training/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hungcoj/hungbd-laravel5-training/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hungcoj/hungbd-laravel5-training/teams","hooks_url":"https://api.github.com/repos/hungcoj/hungbd-laravel5-training/hooks","issue_events_url":"https://api.github.com/repos/hungcoj/hungbd-laravel5-training/issues/events{/number}","events_url":"https://api.github.com/repos/hungcoj/hungbd-laravel5-training/events","assignees_url":"https://api.github.com/repos/hungcoj/hungbd-laravel5-training/assignees{/user}","branches_url":"https://api.github.com/repos/hungcoj/hungbd-laravel5-training/branches{/branch}","tags_url":"https://api.github.com/repos/hungcoj/hungbd-laravel5-training/tags","blobs_url":"https://api.github.com/repos/hungcoj/hungbd-laravel5-training/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hungcoj/hungbd-laravel5-training/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hungcoj/hungbd-laravel5-training/git/refs{/sha}","trees_url":"https://api.github.com/repos/hungcoj/hungbd-laravel5-training/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hungcoj/hungbd-laravel5-training/statuses/{sha}","languages_url":"https://api.github.com/repos/hungcoj/hungbd-laravel5-training/languages","stargazers_url":"https://api.github.com/repos/hungcoj/hungbd-laravel5-training/stargazers","contributors_url":"https://api.github.com/repos/hungcoj/hungbd-laravel5-training/contributors","subscribers_url":"https://api.github.com/repos/hungcoj/hungbd-laravel5-training/subscribers","subscription_url":"https://api.github.com/repos/hungcoj/hungbd-laravel5-training/subscription","commits_url":"https://api.github.com/repos/hungcoj/hungbd-laravel5-training/commits{/sha}","git_commits_url":"https://api.github.com/repos/hungcoj/hungbd-laravel5-training/git/commits{/sha}","comments_url":"https://api.github.com/repos/hungcoj/hungbd-laravel5-training/comments{/number}","issue_comment_url":"https://api.github.com/repos/hungcoj/hungbd-laravel5-training/issues/comments{/number}","contents_url":"https://api.github.com/repos/hungcoj/hungbd-laravel5-training/contents/{+path}","compare_url":"https://api.github.com/repos/hungcoj/hungbd-laravel5-training/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hungcoj/hungbd-laravel5-training/merges","archive_url":"https://api.github.com/repos/hungcoj/hungbd-laravel5-training/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hungcoj/hungbd-laravel5-training/downloads","issues_url":"https://api.github.com/repos/hungcoj/hungbd-laravel5-training/issues{/number}","pulls_url":"https://api.github.com/repos/hungcoj/hungbd-laravel5-training/pulls{/number}","milestones_url":"https://api.github.com/repos/hungcoj/hungbd-laravel5-training/milestones{/number}","notifications_url":"https://api.github.com/repos/hungcoj/hungbd-laravel5-training/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hungcoj/hungbd-laravel5-training/labels{/name}","releases_url":"https://api.github.com/repos/hungcoj/hungbd-laravel5-training/releases{/id}","deployments_url":"https://api.github.com/repos/hungcoj/hungbd-laravel5-training/deployments","created_at":"2016-04-07T06:14:33Z","updated_at":"2016-04-07T06:10:59Z","pushed_at":"2016-04-07T07:47:45Z","git_url":"git://github.com/hungcoj/hungbd-laravel5-training.git","ssh_url":"git@github.com:hungcoj/hungbd-laravel5-training.git","clone_url":"https://github.com/hungcoj/hungbd-laravel5-training.git","svn_url":"https://github.com/hungcoj/hungbd-laravel5-training","homepage":null,"size":43,"stargazers_count":0,"watchers_count":0,"language":null,"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":"develop"}},"base":{"label":"namnv609:develop","ref":"develop","sha":"5a7a89442adb26804e06fef17368f371bc5ca9dd","user":{"login":"namnv609","id":8691772,"avatar_url":"https://avatars.githubusercontent.com/u/8691772?v=3","gravatar_id":"","url":"https://api.github.com/users/namnv609","html_url":"https://github.com/namnv609","followers_url":"https://api.github.com/users/namnv609/followers","following_url":"https://api.github.com/users/namnv609/following{/other_user}","gists_url":"https://api.github.com/users/namnv609/gists{/gist_id}","starred_url":"https://api.github.com/users/namnv609/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/namnv609/subscriptions","organizations_url":"https://api.github.com/users/namnv609/orgs","repos_url":"https://api.github.com/users/namnv609/repos","events_url":"https://api.github.com/users/namnv609/events{/privacy}","received_events_url":"https://api.github.com/users/namnv609/received_events","type":"User","site_admin":false},"repo":{"id":55668347,"name":"hungbd-laravel5-training","full_name":"namnv609/hungbd-laravel5-training","owner":{"login":"namnv609","id":8691772,"avatar_url":"https://avatars.githubusercontent.com/u/8691772?v=3","gravatar_id":"","url":"https://api.github.com/users/namnv609","html_url":"https://github.com/namnv609","followers_url":"https://api.github.com/users/namnv609/followers","following_url":"https://api.github.com/users/namnv609/following{/other_user}","gists_url":"https://api.github.com/users/namnv609/gists{/gist_id}","starred_url":"https://api.github.com/users/namnv609/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/namnv609/subscriptions","organizations_url":"https://api.github.com/users/namnv609/orgs","repos_url":"https://api.github.com/users/namnv609/repos","events_url":"https://api.github.com/users/namnv609/events{/privacy}","received_events_url":"https://api.github.com/users/namnv609/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/namnv609/hungbd-laravel5-training","description":"Project training Laravel 5.1 for Bach Dang Hung","fork":false,"url":"https://api.github.com/repos/namnv609/hungbd-laravel5-training","forks_url":"https://api.github.com/repos/namnv609/hungbd-laravel5-training/forks","keys_url":"https://api.github.com/repos/namnv609/hungbd-laravel5-training/keys{/key_id}","collaborators_url":"https://api.github.com/repos/namnv609/hungbd-laravel5-training/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/namnv609/hungbd-laravel5-training/teams","hooks_url":"https://api.github.com/repos/namnv609/hungbd-laravel5-training/hooks","issue_events_url":"https://api.github.com/repos/namnv609/hungbd-laravel5-training/issues/events{/number}","events_url":"https://api.github.com/repos/namnv609/hungbd-laravel5-training/events","assignees_url":"https://api.github.com/repos/namnv609/hungbd-laravel5-training/assignees{/user}","branches_url":"https://api.github.com/repos/namnv609/hungbd-laravel5-training/branches{/branch}","tags_url":"https://api.github.com/repos/namnv609/hungbd-laravel5-training/tags","blobs_url":"https://api.github.com/repos/namnv609/hungbd-laravel5-training/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/namnv609/hungbd-laravel5-training/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/namnv609/hungbd-laravel5-training/git/refs{/sha}","trees_url":"https://api.github.com/repos/namnv609/hungbd-laravel5-training/git/trees{/sha}","statuses_url":"https://api.github.com/repos/namnv609/hungbd-laravel5-training/statuses/{sha}","languages_url":"https://api.github.com/repos/namnv609/hungbd-laravel5-training/languages","stargazers_url":"https://api.github.com/repos/namnv609/hungbd-laravel5-training/stargazers","contributors_url":"https://api.github.com/repos/namnv609/hungbd-laravel5-training/contributors","subscribers_url":"https://api.github.com/repos/namnv609/hungbd-laravel5-training/subscribers","subscription_url":"https://api.github.com/repos/namnv609/hungbd-laravel5-training/subscription","commits_url":"https://api.github.com/repos/namnv609/hungbd-laravel5-training/commits{/sha}","git_commits_url":"https://api.github.com/repos/namnv609/hungbd-laravel5-training/git/commits{/sha}","comments_url":"https://api.github.com/repos/namnv609/hungbd-laravel5-training/comments{/number}","issue_comment_url":"https://api.github.com/repos/namnv609/hungbd-laravel5-training/issues/comments{/number}","contents_url":"https://api.github.com/repos/namnv609/hungbd-laravel5-training/contents/{+path}","compare_url":"https://api.github.com/repos/namnv609/hungbd-laravel5-training/compare/{base}...{head}","merges_url":"https://api.github.com/repos/namnv609/hungbd-laravel5-training/merges","archive_url":"https://api.github.com/repos/namnv609/hungbd-laravel5-training/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/namnv609/hungbd-laravel5-training/downloads","issues_url":"https://api.github.com/repos/namnv609/hungbd-laravel5-training/issues{/number}","pulls_url":"https://api.github.com/repos/namnv609/hungbd-laravel5-training/pulls{/number}","milestones_url":"https://api.github.com/repos/namnv609/hungbd-laravel5-training/milestones{/number}","notifications_url":"https://api.github.com/repos/namnv609/hungbd-laravel5-training/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/namnv609/hungbd-laravel5-training/labels{/name}","releases_url":"https://api.github.com/repos/namnv609/hungbd-laravel5-training/releases{/id}","deployments_url":"https://api.github.com/repos/namnv609/hungbd-laravel5-training/deployments","created_at":"2016-04-07T06:10:59Z","updated_at":"2016-04-07T07:16:57Z","pushed_at":"2016-04-07T07:48:03Z","git_url":"git://github.com/namnv609/hungbd-laravel5-training.git","ssh_url":"git@github.com:namnv609/hungbd-laravel5-training.git","clone_url":"https://github.com/namnv609/hungbd-laravel5-training.git","svn_url":"https://github.com/namnv609/hungbd-laravel5-training","homepage":null,"size":43,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/namnv609/hungbd-laravel5-training/pulls/2"},"html":{"href":"https://github.com/namnv609/hungbd-laravel5-training/pull/2"},"issue":{"href":"https://api.github.com/repos/namnv609/hungbd-laravel5-training/issues/2"},"comments":{"href":"https://api.github.com/repos/namnv609/hungbd-laravel5-training/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/namnv609/hungbd-laravel5-training/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/namnv609/hungbd-laravel5-training/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/namnv609/hungbd-laravel5-training/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/namnv609/hungbd-laravel5-training/statuses/418ae2275833112ec521706e266fd66977e2a6e0"}}}}