{"action":"created","comment":{"url":"https://api.github.com/repos/framgia/itravel/pulls/comments/76026013","id":76026013,"diff_hunk":"@@ -10,7 +10,226 @@\n #\n # It's strongly recommended that you check this file into your version control system.\n \n-ActiveRecord::Schema.define(version: 20160824061844) do\n+ActiveRecord::Schema.define(version: 20160824070736) do\n+\n+  create_table \"amanities\", force: :cascade do |t|\n+    t.string   \"name\"\n+    t.datetime \"created_at\", null: false\n+    t.datetime \"updated_at\", null: false\n+  end\n+\n+  create_table \"amanity_businesses\", force: :cascade do |t|\n+    t.integer  \"business_id\"\n+    t.integer  \"amanity_id\"\n+    t.datetime \"created_at\",  null: false\n+    t.datetime \"updated_at\",  null: false\n+  end\n+\n+  create_table \"business_events\", force: :cascade do |t|\n+    t.string   \"title\"\n+    t.string   \"description\"","path":"db/schema.rb","position":22,"original_position":22,"commit_id":"54fb442ecd3f7ffb2dce0682697567c439a3f0b1","original_commit_id":"54fb442ecd3f7ffb2dce0682697567c439a3f0b1","user":{"login":"cuongncFramgia","id":19605011,"avatar_url":"https://avatars.githubusercontent.com/u/19605011?v=3","gravatar_id":"","url":"https://api.github.com/users/cuongncFramgia","html_url":"https://github.com/cuongncFramgia","followers_url":"https://api.github.com/users/cuongncFramgia/followers","following_url":"https://api.github.com/users/cuongncFramgia/following{/other_user}","gists_url":"https://api.github.com/users/cuongncFramgia/gists{/gist_id}","starred_url":"https://api.github.com/users/cuongncFramgia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cuongncFramgia/subscriptions","organizations_url":"https://api.github.com/users/cuongncFramgia/orgs","repos_url":"https://api.github.com/users/cuongncFramgia/repos","events_url":"https://api.github.com/users/cuongncFramgia/events{/privacy}","received_events_url":"https://api.github.com/users/cuongncFramgia/received_events","type":"User","site_admin":false},"body":"text","created_at":"2016-08-24T09:43:09Z","updated_at":"2016-08-24T09:43:09Z","html_url":"https://github.com/framgia/itravel/pull/4#discussion_r76026013","pull_request_url":"https://api.github.com/repos/framgia/itravel/pulls/4","_links":{"self":{"href":"https://api.github.com/repos/framgia/itravel/pulls/comments/76026013"},"html":{"href":"https://github.com/framgia/itravel/pull/4#discussion_r76026013"},"pull_request":{"href":"https://api.github.com/repos/framgia/itravel/pulls/4"}}},"pull_request":{"url":"https://api.github.com/repos/framgia/itravel/pulls/4","id":82499722,"html_url":"https://github.com/framgia/itravel/pull/4","diff_url":"https://github.com/framgia/itravel/pull/4.diff","patch_url":"https://github.com/framgia/itravel/pull/4.patch","issue_url":"https://api.github.com/repos/framgia/itravel/issues/4","number":4,"state":"open","locked":false,"title":"Init model","user":{"login":"huongnguyenmta","id":18224922,"avatar_url":"https://avatars.githubusercontent.com/u/18224922?v=3","gravatar_id":"","url":"https://api.github.com/users/huongnguyenmta","html_url":"https://github.com/huongnguyenmta","followers_url":"https://api.github.com/users/huongnguyenmta/followers","following_url":"https://api.github.com/users/huongnguyenmta/following{/other_user}","gists_url":"https://api.github.com/users/huongnguyenmta/gists{/gist_id}","starred_url":"https://api.github.com/users/huongnguyenmta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/huongnguyenmta/subscriptions","organizations_url":"https://api.github.com/users/huongnguyenmta/orgs","repos_url":"https://api.github.com/users/huongnguyenmta/repos","events_url":"https://api.github.com/users/huongnguyenmta/events{/privacy}","received_events_url":"https://api.github.com/users/huongnguyenmta/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-08-24T08:17:46Z","updated_at":"2016-08-24T09:43:09Z","closed_at":null,"merged_at":null,"merge_commit_sha":"901b48f1ccb4efabd699ac0a000343521a9cee05","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/framgia/itravel/pulls/4/commits","review_comments_url":"https://api.github.com/repos/framgia/itravel/pulls/4/comments","review_comment_url":"https://api.github.com/repos/framgia/itravel/pulls/comments{/number}","comments_url":"https://api.github.com/repos/framgia/itravel/issues/4/comments","statuses_url":"https://api.github.com/repos/framgia/itravel/statuses/54fb442ecd3f7ffb2dce0682697567c439a3f0b1","head":{"label":"huongnguyenmta:init-model","ref":"init-model","sha":"54fb442ecd3f7ffb2dce0682697567c439a3f0b1","user":{"login":"huongnguyenmta","id":18224922,"avatar_url":"https://avatars.githubusercontent.com/u/18224922?v=3","gravatar_id":"","url":"https://api.github.com/users/huongnguyenmta","html_url":"https://github.com/huongnguyenmta","followers_url":"https://api.github.com/users/huongnguyenmta/followers","following_url":"https://api.github.com/users/huongnguyenmta/following{/other_user}","gists_url":"https://api.github.com/users/huongnguyenmta/gists{/gist_id}","starred_url":"https://api.github.com/users/huongnguyenmta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/huongnguyenmta/subscriptions","organizations_url":"https://api.github.com/users/huongnguyenmta/orgs","repos_url":"https://api.github.com/users/huongnguyenmta/repos","events_url":"https://api.github.com/users/huongnguyenmta/events{/privacy}","received_events_url":"https://api.github.com/users/huongnguyenmta/received_events","type":"User","site_admin":false},"repo":{"id":66424255,"name":"itravel","full_name":"huongnguyenmta/itravel","owner":{"login":"huongnguyenmta","id":18224922,"avatar_url":"https://avatars.githubusercontent.com/u/18224922?v=3","gravatar_id":"","url":"https://api.github.com/users/huongnguyenmta","html_url":"https://github.com/huongnguyenmta","followers_url":"https://api.github.com/users/huongnguyenmta/followers","following_url":"https://api.github.com/users/huongnguyenmta/following{/other_user}","gists_url":"https://api.github.com/users/huongnguyenmta/gists{/gist_id}","starred_url":"https://api.github.com/users/huongnguyenmta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/huongnguyenmta/subscriptions","organizations_url":"https://api.github.com/users/huongnguyenmta/orgs","repos_url":"https://api.github.com/users/huongnguyenmta/repos","events_url":"https://api.github.com/users/huongnguyenmta/events{/privacy}","received_events_url":"https://api.github.com/users/huongnguyenmta/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/huongnguyenmta/itravel","description":"education idea project","fork":true,"url":"https://api.github.com/repos/huongnguyenmta/itravel","forks_url":"https://api.github.com/repos/huongnguyenmta/itravel/forks","keys_url":"https://api.github.com/repos/huongnguyenmta/itravel/keys{/key_id}","collaborators_url":"https://api.github.com/repos/huongnguyenmta/itravel/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/huongnguyenmta/itravel/teams","hooks_url":"https://api.github.com/repos/huongnguyenmta/itravel/hooks","issue_events_url":"https://api.github.com/repos/huongnguyenmta/itravel/issues/events{/number}","events_url":"https://api.github.com/repos/huongnguyenmta/itravel/events","assignees_url":"https://api.github.com/repos/huongnguyenmta/itravel/assignees{/user}","branches_url":"https://api.github.com/repos/huongnguyenmta/itravel/branches{/branch}","tags_url":"https://api.github.com/repos/huongnguyenmta/itravel/tags","blobs_url":"https://api.github.com/repos/huongnguyenmta/itravel/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/huongnguyenmta/itravel/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/huongnguyenmta/itravel/git/refs{/sha}","trees_url":"https://api.github.com/repos/huongnguyenmta/itravel/git/trees{/sha}","statuses_url":"https://api.github.com/repos/huongnguyenmta/itravel/statuses/{sha}","languages_url":"https://api.github.com/repos/huongnguyenmta/itravel/languages","stargazers_url":"https://api.github.com/repos/huongnguyenmta/itravel/stargazers","contributors_url":"https://api.github.com/repos/huongnguyenmta/itravel/contributors","subscribers_url":"https://api.github.com/repos/huongnguyenmta/itravel/subscribers","subscription_url":"https://api.github.com/repos/huongnguyenmta/itravel/subscription","commits_url":"https://api.github.com/repos/huongnguyenmta/itravel/commits{/sha}","git_commits_url":"https://api.github.com/repos/huongnguyenmta/itravel/git/commits{/sha}","comments_url":"https://api.github.com/repos/huongnguyenmta/itravel/comments{/number}","issue_comment_url":"https://api.github.com/repos/huongnguyenmta/itravel/issues/comments{/number}","contents_url":"https://api.github.com/repos/huongnguyenmta/itravel/contents/{+path}","compare_url":"https://api.github.com/repos/huongnguyenmta/itravel/compare/{base}...{head}","merges_url":"https://api.github.com/repos/huongnguyenmta/itravel/merges","archive_url":"https://api.github.com/repos/huongnguyenmta/itravel/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/huongnguyenmta/itravel/downloads","issues_url":"https://api.github.com/repos/huongnguyenmta/itravel/issues{/number}","pulls_url":"https://api.github.com/repos/huongnguyenmta/itravel/pulls{/number}","milestones_url":"https://api.github.com/repos/huongnguyenmta/itravel/milestones{/number}","notifications_url":"https://api.github.com/repos/huongnguyenmta/itravel/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/huongnguyenmta/itravel/labels{/name}","releases_url":"https://api.github.com/repos/huongnguyenmta/itravel/releases{/id}","deployments_url":"https://api.github.com/repos/huongnguyenmta/itravel/deployments","created_at":"2016-08-24T03:04:12Z","updated_at":"2016-08-18T04:39:23Z","pushed_at":"2016-08-24T09:27:25Z","git_url":"git://github.com/huongnguyenmta/itravel.git","ssh_url":"git@github.com:huongnguyenmta/itravel.git","clone_url":"https://github.com/huongnguyenmta/itravel.git","svn_url":"https://github.com/huongnguyenmta/itravel","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":"master"}},"base":{"label":"framgia:develop","ref":"develop","sha":"c83eb7e60ed9ecd02ef25764833b378768b603dc","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":65965573,"name":"itravel","full_name":"framgia/itravel","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/itravel","description":"education idea project","fork":false,"url":"https://api.github.com/repos/framgia/itravel","forks_url":"https://api.github.com/repos/framgia/itravel/forks","keys_url":"https://api.github.com/repos/framgia/itravel/keys{/key_id}","collaborators_url":"https://api.github.com/repos/framgia/itravel/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/framgia/itravel/teams","hooks_url":"https://api.github.com/repos/framgia/itravel/hooks","issue_events_url":"https://api.github.com/repos/framgia/itravel/issues/events{/number}","events_url":"https://api.github.com/repos/framgia/itravel/events","assignees_url":"https://api.github.com/repos/framgia/itravel/assignees{/user}","branches_url":"https://api.github.com/repos/framgia/itravel/branches{/branch}","tags_url":"https://api.github.com/repos/framgia/itravel/tags","blobs_url":"https://api.github.com/repos/framgia/itravel/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/framgia/itravel/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/framgia/itravel/git/refs{/sha}","trees_url":"https://api.github.com/repos/framgia/itravel/git/trees{/sha}","statuses_url":"https://api.github.com/repos/framgia/itravel/statuses/{sha}","languages_url":"https://api.github.com/repos/framgia/itravel/languages","stargazers_url":"https://api.github.com/repos/framgia/itravel/stargazers","contributors_url":"https://api.github.com/repos/framgia/itravel/contributors","subscribers_url":"https://api.github.com/repos/framgia/itravel/subscribers","subscription_url":"https://api.github.com/repos/framgia/itravel/subscription","commits_url":"https://api.github.com/repos/framgia/itravel/commits{/sha}","git_commits_url":"https://api.github.com/repos/framgia/itravel/git/commits{/sha}","comments_url":"https://api.github.com/repos/framgia/itravel/comments{/number}","issue_comment_url":"https://api.github.com/repos/framgia/itravel/issues/comments{/number}","contents_url":"https://api.github.com/repos/framgia/itravel/contents/{+path}","compare_url":"https://api.github.com/repos/framgia/itravel/compare/{base}...{head}","merges_url":"https://api.github.com/repos/framgia/itravel/merges","archive_url":"https://api.github.com/repos/framgia/itravel/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/framgia/itravel/downloads","issues_url":"https://api.github.com/repos/framgia/itravel/issues{/number}","pulls_url":"https://api.github.com/repos/framgia/itravel/pulls{/number}","milestones_url":"https://api.github.com/repos/framgia/itravel/milestones{/number}","notifications_url":"https://api.github.com/repos/framgia/itravel/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/framgia/itravel/labels{/name}","releases_url":"https://api.github.com/repos/framgia/itravel/releases{/id}","deployments_url":"https://api.github.com/repos/framgia/itravel/deployments","created_at":"2016-08-18T04:39:23Z","updated_at":"2016-08-18T04:39:23Z","pushed_at":"2016-08-24T09:42:26Z","git_url":"git://github.com/framgia/itravel.git","ssh_url":"git@github.com:framgia/itravel.git","clone_url":"https://github.com/framgia/itravel.git","svn_url":"https://github.com/framgia/itravel","homepage":null,"size":53,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":2,"forks":5,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/framgia/itravel/pulls/4"},"html":{"href":"https://github.com/framgia/itravel/pull/4"},"issue":{"href":"https://api.github.com/repos/framgia/itravel/issues/4"},"comments":{"href":"https://api.github.com/repos/framgia/itravel/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/framgia/itravel/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/framgia/itravel/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/framgia/itravel/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/framgia/itravel/statuses/54fb442ecd3f7ffb2dce0682697567c439a3f0b1"}}}}
{"actor":{"display_login":"cuongncFramgia"}}