{"action":"created","comment":{"url":"https://api.github.com/repos/framgia/fels_132/pulls/comments/62857078","id":62857078,"diff_hunk":"@@ -0,0 +1,26 @@\n+<?php\n+\n+namespace App\\Models;\n+\n+use Illuminate\\Database\\Eloquent\\Model;\n+\n+class Lesson extends Model\n+{\n+    //\n+    protected $table=\"lessons\";","path":"app/Models/Lesson.php","position":10,"original_position":10,"commit_id":"c6ccc0a68fe13b7e7ebf45b44ba1e576999bcd5d","original_commit_id":"c6ccc0a68fe13b7e7ebf45b44ba1e576999bcd5d","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ếu tên bảng bạn đã đặt đúng quy tắc (là số nhiều) thì bạn cũng không cần phải khai báo biến này luôn. Tớ nghĩ bạn nên xóa đi cho đỡ thừa thãi :D. Tìm và xóa hết ở các model khác (nếu có dùng) nhé!","created_at":"2016-05-11T14:23:26Z","updated_at":"2016-05-11T14:23:26Z","html_url":"https://github.com/framgia/fels_132/pull/10#discussion_r62857078","pull_request_url":"https://api.github.com/repos/framgia/fels_132/pulls/10","_links":{"self":{"href":"https://api.github.com/repos/framgia/fels_132/pulls/comments/62857078"},"html":{"href":"https://github.com/framgia/fels_132/pull/10#discussion_r62857078"},"pull_request":{"href":"https://api.github.com/repos/framgia/fels_132/pulls/10"}}},"pull_request":{"url":"https://api.github.com/repos/framgia/fels_132/pulls/10","id":69666049,"html_url":"https://github.com/framgia/fels_132/pull/10","diff_url":"https://github.com/framgia/fels_132/pull/10.diff","patch_url":"https://github.com/framgia/fels_132/pull/10.patch","issue_url":"https://api.github.com/repos/framgia/fels_132/issues/10","number":10,"state":"open","locked":false,"title":"create model","user":{"login":"nguyenloan","id":18676735,"avatar_url":"https://avatars.githubusercontent.com/u/18676735?v=3","gravatar_id":"","url":"https://api.github.com/users/nguyenloan","html_url":"https://github.com/nguyenloan","followers_url":"https://api.github.com/users/nguyenloan/followers","following_url":"https://api.github.com/users/nguyenloan/following{/other_user}","gists_url":"https://api.github.com/users/nguyenloan/gists{/gist_id}","starred_url":"https://api.github.com/users/nguyenloan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nguyenloan/subscriptions","organizations_url":"https://api.github.com/users/nguyenloan/orgs","repos_url":"https://api.github.com/users/nguyenloan/repos","events_url":"https://api.github.com/users/nguyenloan/events{/privacy}","received_events_url":"https://api.github.com/users/nguyenloan/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-05-11T12:49:37Z","updated_at":"2016-05-11T14:23:26Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a6d683599c3bb267fc7d1927e7527a27c34cee53","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/framgia/fels_132/pulls/10/commits","review_comments_url":"https://api.github.com/repos/framgia/fels_132/pulls/10/comments","review_comment_url":"https://api.github.com/repos/framgia/fels_132/pulls/comments{/number}","comments_url":"https://api.github.com/repos/framgia/fels_132/issues/10/comments","statuses_url":"https://api.github.com/repos/framgia/fels_132/statuses/c6ccc0a68fe13b7e7ebf45b44ba1e576999bcd5d","head":{"label":"nguyenloan:create_model","ref":"create_model","sha":"c6ccc0a68fe13b7e7ebf45b44ba1e576999bcd5d","user":{"login":"nguyenloan","id":18676735,"avatar_url":"https://avatars.githubusercontent.com/u/18676735?v=3","gravatar_id":"","url":"https://api.github.com/users/nguyenloan","html_url":"https://github.com/nguyenloan","followers_url":"https://api.github.com/users/nguyenloan/followers","following_url":"https://api.github.com/users/nguyenloan/following{/other_user}","gists_url":"https://api.github.com/users/nguyenloan/gists{/gist_id}","starred_url":"https://api.github.com/users/nguyenloan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nguyenloan/subscriptions","organizations_url":"https://api.github.com/users/nguyenloan/orgs","repos_url":"https://api.github.com/users/nguyenloan/repos","events_url":"https://api.github.com/users/nguyenloan/events{/privacy}","received_events_url":"https://api.github.com/users/nguyenloan/received_events","type":"User","site_admin":false},"repo":{"id":58036268,"name":"fels_132","full_name":"nguyenloan/fels_132","owner":{"login":"nguyenloan","id":18676735,"avatar_url":"https://avatars.githubusercontent.com/u/18676735?v=3","gravatar_id":"","url":"https://api.github.com/users/nguyenloan","html_url":"https://github.com/nguyenloan","followers_url":"https://api.github.com/users/nguyenloan/followers","following_url":"https://api.github.com/users/nguyenloan/following{/other_user}","gists_url":"https://api.github.com/users/nguyenloan/gists{/gist_id}","starred_url":"https://api.github.com/users/nguyenloan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nguyenloan/subscriptions","organizations_url":"https://api.github.com/users/nguyenloan/orgs","repos_url":"https://api.github.com/users/nguyenloan/repos","events_url":"https://api.github.com/users/nguyenloan/events{/privacy}","received_events_url":"https://api.github.com/users/nguyenloan/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/nguyenloan/fels_132","description":"Framgia E-Learning System (training)","fork":true,"url":"https://api.github.com/repos/nguyenloan/fels_132","forks_url":"https://api.github.com/repos/nguyenloan/fels_132/forks","keys_url":"https://api.github.com/repos/nguyenloan/fels_132/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nguyenloan/fels_132/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nguyenloan/fels_132/teams","hooks_url":"https://api.github.com/repos/nguyenloan/fels_132/hooks","issue_events_url":"https://api.github.com/repos/nguyenloan/fels_132/issues/events{/number}","events_url":"https://api.github.com/repos/nguyenloan/fels_132/events","assignees_url":"https://api.github.com/repos/nguyenloan/fels_132/assignees{/user}","branches_url":"https://api.github.com/repos/nguyenloan/fels_132/branches{/branch}","tags_url":"https://api.github.com/repos/nguyenloan/fels_132/tags","blobs_url":"https://api.github.com/repos/nguyenloan/fels_132/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nguyenloan/fels_132/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nguyenloan/fels_132/git/refs{/sha}","trees_url":"https://api.github.com/repos/nguyenloan/fels_132/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nguyenloan/fels_132/statuses/{sha}","languages_url":"https://api.github.com/repos/nguyenloan/fels_132/languages","stargazers_url":"https://api.github.com/repos/nguyenloan/fels_132/stargazers","contributors_url":"https://api.github.com/repos/nguyenloan/fels_132/contributors","subscribers_url":"https://api.github.com/repos/nguyenloan/fels_132/subscribers","subscription_url":"https://api.github.com/repos/nguyenloan/fels_132/subscription","commits_url":"https://api.github.com/repos/nguyenloan/fels_132/commits{/sha}","git_commits_url":"https://api.github.com/repos/nguyenloan/fels_132/git/commits{/sha}","comments_url":"https://api.github.com/repos/nguyenloan/fels_132/comments{/number}","issue_comment_url":"https://api.github.com/repos/nguyenloan/fels_132/issues/comments{/number}","contents_url":"https://api.github.com/repos/nguyenloan/fels_132/contents/{+path}","compare_url":"https://api.github.com/repos/nguyenloan/fels_132/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nguyenloan/fels_132/merges","archive_url":"https://api.github.com/repos/nguyenloan/fels_132/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nguyenloan/fels_132/downloads","issues_url":"https://api.github.com/repos/nguyenloan/fels_132/issues{/number}","pulls_url":"https://api.github.com/repos/nguyenloan/fels_132/pulls{/number}","milestones_url":"https://api.github.com/repos/nguyenloan/fels_132/milestones{/number}","notifications_url":"https://api.github.com/repos/nguyenloan/fels_132/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nguyenloan/fels_132/labels{/name}","releases_url":"https://api.github.com/repos/nguyenloan/fels_132/releases{/id}","deployments_url":"https://api.github.com/repos/nguyenloan/fels_132/deployments","created_at":"2016-05-04T08:35:40Z","updated_at":"2016-05-04T02:53:35Z","pushed_at":"2016-05-11T12:48:58Z","git_url":"git://github.com/nguyenloan/fels_132.git","ssh_url":"git@github.com:nguyenloan/fels_132.git","clone_url":"https://github.com/nguyenloan/fels_132.git","svn_url":"https://github.com/nguyenloan/fels_132","homepage":null,"size":1445,"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":"master"}},"base":{"label":"framgia:develop","ref":"develop","sha":"49abfafce419067920338368e5d890c6c8b140d5","user":{"login":"framgia","id":2322183,"avatar_url":"https://avatars.githubusercontent.com/u/2322183?v=3","gravatar_id":"","url":"https://api.github.com/users/framgia","html_url":"https://github.com/framgia","followers_url":"https://api.github.com/users/framgia/followers","following_url":"https://api.github.com/users/framgia/following{/other_user}","gists_url":"https://api.github.com/users/framgia/gists{/gist_id}","starred_url":"https://api.github.com/users/framgia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/framgia/subscriptions","organizations_url":"https://api.github.com/users/framgia/orgs","repos_url":"https://api.github.com/users/framgia/repos","events_url":"https://api.github.com/users/framgia/events{/privacy}","received_events_url":"https://api.github.com/users/framgia/received_events","type":"Organization","site_admin":false},"repo":{"id":58018076,"name":"fels_132","full_name":"framgia/fels_132","owner":{"login":"framgia","id":2322183,"avatar_url":"https://avatars.githubusercontent.com/u/2322183?v=3","gravatar_id":"","url":"https://api.github.com/users/framgia","html_url":"https://github.com/framgia","followers_url":"https://api.github.com/users/framgia/followers","following_url":"https://api.github.com/users/framgia/following{/other_user}","gists_url":"https://api.github.com/users/framgia/gists{/gist_id}","starred_url":"https://api.github.com/users/framgia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/framgia/subscriptions","organizations_url":"https://api.github.com/users/framgia/orgs","repos_url":"https://api.github.com/users/framgia/repos","events_url":"https://api.github.com/users/framgia/events{/privacy}","received_events_url":"https://api.github.com/users/framgia/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/framgia/fels_132","description":"Framgia E-Learning System (training)","fork":false,"url":"https://api.github.com/repos/framgia/fels_132","forks_url":"https://api.github.com/repos/framgia/fels_132/forks","keys_url":"https://api.github.com/repos/framgia/fels_132/keys{/key_id}","collaborators_url":"https://api.github.com/repos/framgia/fels_132/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/framgia/fels_132/teams","hooks_url":"https://api.github.com/repos/framgia/fels_132/hooks","issue_events_url":"https://api.github.com/repos/framgia/fels_132/issues/events{/number}","events_url":"https://api.github.com/repos/framgia/fels_132/events","assignees_url":"https://api.github.com/repos/framgia/fels_132/assignees{/user}","branches_url":"https://api.github.com/repos/framgia/fels_132/branches{/branch}","tags_url":"https://api.github.com/repos/framgia/fels_132/tags","blobs_url":"https://api.github.com/repos/framgia/fels_132/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/framgia/fels_132/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/framgia/fels_132/git/refs{/sha}","trees_url":"https://api.github.com/repos/framgia/fels_132/git/trees{/sha}","statuses_url":"https://api.github.com/repos/framgia/fels_132/statuses/{sha}","languages_url":"https://api.github.com/repos/framgia/fels_132/languages","stargazers_url":"https://api.github.com/repos/framgia/fels_132/stargazers","contributors_url":"https://api.github.com/repos/framgia/fels_132/contributors","subscribers_url":"https://api.github.com/repos/framgia/fels_132/subscribers","subscription_url":"https://api.github.com/repos/framgia/fels_132/subscription","commits_url":"https://api.github.com/repos/framgia/fels_132/commits{/sha}","git_commits_url":"https://api.github.com/repos/framgia/fels_132/git/commits{/sha}","comments_url":"https://api.github.com/repos/framgia/fels_132/comments{/number}","issue_comment_url":"https://api.github.com/repos/framgia/fels_132/issues/comments{/number}","contents_url":"https://api.github.com/repos/framgia/fels_132/contents/{+path}","compare_url":"https://api.github.com/repos/framgia/fels_132/compare/{base}...{head}","merges_url":"https://api.github.com/repos/framgia/fels_132/merges","archive_url":"https://api.github.com/repos/framgia/fels_132/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/framgia/fels_132/downloads","issues_url":"https://api.github.com/repos/framgia/fels_132/issues{/number}","pulls_url":"https://api.github.com/repos/framgia/fels_132/pulls{/number}","milestones_url":"https://api.github.com/repos/framgia/fels_132/milestones{/number}","notifications_url":"https://api.github.com/repos/framgia/fels_132/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/framgia/fels_132/labels{/name}","releases_url":"https://api.github.com/repos/framgia/fels_132/releases{/id}","deployments_url":"https://api.github.com/repos/framgia/fels_132/deployments","created_at":"2016-05-04T02:53:35Z","updated_at":"2016-05-04T02:53:35Z","pushed_at":"2016-05-11T12:49:38Z","git_url":"git://github.com/framgia/fels_132.git","ssh_url":"git@github.com:framgia/fels_132.git","clone_url":"https://github.com/framgia/fels_132.git","svn_url":"https://github.com/framgia/fels_132","homepage":null,"size":65,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":5,"forks":2,"open_issues":5,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/framgia/fels_132/pulls/10"},"html":{"href":"https://github.com/framgia/fels_132/pull/10"},"issue":{"href":"https://api.github.com/repos/framgia/fels_132/issues/10"},"comments":{"href":"https://api.github.com/repos/framgia/fels_132/issues/10/comments"},"review_comments":{"href":"https://api.github.com/repos/framgia/fels_132/pulls/10/comments"},"review_comment":{"href":"https://api.github.com/repos/framgia/fels_132/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/framgia/fels_132/pulls/10/commits"},"statuses":{"href":"https://api.github.com/repos/framgia/fels_132/statuses/c6ccc0a68fe13b7e7ebf45b44ba1e576999bcd5d"}}}}