{"action":"created","comment":{"url":"https://api.github.com/repos/takuya032/protospace/pulls/comments/69106016","id":69106016,"diff_hunk":"@@ -0,0 +1,57 @@\n+# tables\n+\n+## articles\n+### cloum\n+ \n+ + title         /string\n+ + catch_copy /text\n+ + concept /text\n+ + user.id /integer\n+\n+## users\n+###cloum \n+\n+ + name /string\n+ + profile /text\n+ + image / text\n+\n+##images\n+###cloum\n+\n+ + image /text\n+ + article.id /integer\n+ + user.id /integer\n+\n+## likes\n+### cloum\n+\n+ + article.id /integer\n+ + user.id /integer\n+\n+##comments\n+### cloum\n+\n+ + text / text\n+ + user.id /integer\n+ + article.id /integer\n+\n+#association\n+\n+## article\n+ + has_many : comments, images, likes\n+ + belongs_to : user\n+\n+## user\n+ + has_many : likes, comments, article\n+\n+## like\n+ + belongs_to : user, article\n+ \n+##comment\n+ + belongs_to : user, article\n+\n+\n+##image\n+ + belongs_to : article\n+\n+","path":"README.md","position":57,"original_position":57,"commit_id":"5fe5e460532fd1eeee6ac1e7cea7358092c5167c","original_commit_id":"5fe5e460532fd1eeee6ac1e7cea7358092c5167c","user":{"login":"t-kusakabe","id":15696030,"avatar_url":"https://avatars.githubusercontent.com/u/15696030?v=3","gravatar_id":"","url":"https://api.github.com/users/t-kusakabe","html_url":"https://github.com/t-kusakabe","followers_url":"https://api.github.com/users/t-kusakabe/followers","following_url":"https://api.github.com/users/t-kusakabe/following{/other_user}","gists_url":"https://api.github.com/users/t-kusakabe/gists{/gist_id}","starred_url":"https://api.github.com/users/t-kusakabe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/t-kusakabe/subscriptions","organizations_url":"https://api.github.com/users/t-kusakabe/orgs","repos_url":"https://api.github.com/users/t-kusakabe/repos","events_url":"https://api.github.com/users/t-kusakabe/events{/privacy}","received_events_url":"https://api.github.com/users/t-kusakabe/received_events","type":"User","site_admin":false},"body":"最後いっぱい改行されちゃってますねw\r\nエディタのプラグインで保存時に1行だけ自動に改行を入れてくれるものがあるので入れてみましょう！","created_at":"2016-06-30T10:04:50Z","updated_at":"2016-06-30T10:04:50Z","html_url":"https://github.com/takuya032/protospace/pull/1#discussion_r69106016","pull_request_url":"https://api.github.com/repos/takuya032/protospace/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/takuya032/protospace/pulls/comments/69106016"},"html":{"href":"https://github.com/takuya032/protospace/pull/1#discussion_r69106016"},"pull_request":{"href":"https://api.github.com/repos/takuya032/protospace/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/takuya032/protospace/pulls/1","id":75787970,"html_url":"https://github.com/takuya032/protospace/pull/1","diff_url":"https://github.com/takuya032/protospace/pull/1.diff","patch_url":"https://github.com/takuya032/protospace/pull/1.patch","issue_url":"https://api.github.com/repos/takuya032/protospace/issues/1","number":1,"state":"open","locked":false,"title":"Db design","user":{"login":"takuya032","id":18065993,"avatar_url":"https://avatars.githubusercontent.com/u/18065993?v=3","gravatar_id":"","url":"https://api.github.com/users/takuya032","html_url":"https://github.com/takuya032","followers_url":"https://api.github.com/users/takuya032/followers","following_url":"https://api.github.com/users/takuya032/following{/other_user}","gists_url":"https://api.github.com/users/takuya032/gists{/gist_id}","starred_url":"https://api.github.com/users/takuya032/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/takuya032/subscriptions","organizations_url":"https://api.github.com/users/takuya032/orgs","repos_url":"https://api.github.com/users/takuya032/repos","events_url":"https://api.github.com/users/takuya032/events{/privacy}","received_events_url":"https://api.github.com/users/takuya032/received_events","type":"User","site_admin":false},"body":"# what\r\nreadmeの変更\r\n\r\n# why \r\nreadmeでdb設計書作成のため","created_at":"2016-06-30T09:35:12Z","updated_at":"2016-06-30T10:04:50Z","closed_at":null,"merged_at":null,"merge_commit_sha":"648d21f64e643ed22fedad9e01602483165b58dd","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/takuya032/protospace/pulls/1/commits","review_comments_url":"https://api.github.com/repos/takuya032/protospace/pulls/1/comments","review_comment_url":"https://api.github.com/repos/takuya032/protospace/pulls/comments{/number}","comments_url":"https://api.github.com/repos/takuya032/protospace/issues/1/comments","statuses_url":"https://api.github.com/repos/takuya032/protospace/statuses/5fe5e460532fd1eeee6ac1e7cea7358092c5167c","head":{"label":"takuya032:db_design","ref":"db_design","sha":"5fe5e460532fd1eeee6ac1e7cea7358092c5167c","user":{"login":"takuya032","id":18065993,"avatar_url":"https://avatars.githubusercontent.com/u/18065993?v=3","gravatar_id":"","url":"https://api.github.com/users/takuya032","html_url":"https://github.com/takuya032","followers_url":"https://api.github.com/users/takuya032/followers","following_url":"https://api.github.com/users/takuya032/following{/other_user}","gists_url":"https://api.github.com/users/takuya032/gists{/gist_id}","starred_url":"https://api.github.com/users/takuya032/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/takuya032/subscriptions","organizations_url":"https://api.github.com/users/takuya032/orgs","repos_url":"https://api.github.com/users/takuya032/repos","events_url":"https://api.github.com/users/takuya032/events{/privacy}","received_events_url":"https://api.github.com/users/takuya032/received_events","type":"User","site_admin":false},"repo":{"id":62047334,"name":"protospace","full_name":"takuya032/protospace","owner":{"login":"takuya032","id":18065993,"avatar_url":"https://avatars.githubusercontent.com/u/18065993?v=3","gravatar_id":"","url":"https://api.github.com/users/takuya032","html_url":"https://github.com/takuya032","followers_url":"https://api.github.com/users/takuya032/followers","following_url":"https://api.github.com/users/takuya032/following{/other_user}","gists_url":"https://api.github.com/users/takuya032/gists{/gist_id}","starred_url":"https://api.github.com/users/takuya032/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/takuya032/subscriptions","organizations_url":"https://api.github.com/users/takuya032/orgs","repos_url":"https://api.github.com/users/takuya032/repos","events_url":"https://api.github.com/users/takuya032/events{/privacy}","received_events_url":"https://api.github.com/users/takuya032/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/takuya032/protospace","description":null,"fork":false,"url":"https://api.github.com/repos/takuya032/protospace","forks_url":"https://api.github.com/repos/takuya032/protospace/forks","keys_url":"https://api.github.com/repos/takuya032/protospace/keys{/key_id}","collaborators_url":"https://api.github.com/repos/takuya032/protospace/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/takuya032/protospace/teams","hooks_url":"https://api.github.com/repos/takuya032/protospace/hooks","issue_events_url":"https://api.github.com/repos/takuya032/protospace/issues/events{/number}","events_url":"https://api.github.com/repos/takuya032/protospace/events","assignees_url":"https://api.github.com/repos/takuya032/protospace/assignees{/user}","branches_url":"https://api.github.com/repos/takuya032/protospace/branches{/branch}","tags_url":"https://api.github.com/repos/takuya032/protospace/tags","blobs_url":"https://api.github.com/repos/takuya032/protospace/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/takuya032/protospace/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/takuya032/protospace/git/refs{/sha}","trees_url":"https://api.github.com/repos/takuya032/protospace/git/trees{/sha}","statuses_url":"https://api.github.com/repos/takuya032/protospace/statuses/{sha}","languages_url":"https://api.github.com/repos/takuya032/protospace/languages","stargazers_url":"https://api.github.com/repos/takuya032/protospace/stargazers","contributors_url":"https://api.github.com/repos/takuya032/protospace/contributors","subscribers_url":"https://api.github.com/repos/takuya032/protospace/subscribers","subscription_url":"https://api.github.com/repos/takuya032/protospace/subscription","commits_url":"https://api.github.com/repos/takuya032/protospace/commits{/sha}","git_commits_url":"https://api.github.com/repos/takuya032/protospace/git/commits{/sha}","comments_url":"https://api.github.com/repos/takuya032/protospace/comments{/number}","issue_comment_url":"https://api.github.com/repos/takuya032/protospace/issues/comments{/number}","contents_url":"https://api.github.com/repos/takuya032/protospace/contents/{+path}","compare_url":"https://api.github.com/repos/takuya032/protospace/compare/{base}...{head}","merges_url":"https://api.github.com/repos/takuya032/protospace/merges","archive_url":"https://api.github.com/repos/takuya032/protospace/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/takuya032/protospace/downloads","issues_url":"https://api.github.com/repos/takuya032/protospace/issues{/number}","pulls_url":"https://api.github.com/repos/takuya032/protospace/pulls{/number}","milestones_url":"https://api.github.com/repos/takuya032/protospace/milestones{/number}","notifications_url":"https://api.github.com/repos/takuya032/protospace/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/takuya032/protospace/labels{/name}","releases_url":"https://api.github.com/repos/takuya032/protospace/releases{/id}","deployments_url":"https://api.github.com/repos/takuya032/protospace/deployments","created_at":"2016-06-27T10:21:58Z","updated_at":"2016-06-27T12:09:04Z","pushed_at":"2016-06-30T09:35:12Z","git_url":"git://github.com/takuya032/protospace.git","ssh_url":"git@github.com:takuya032/protospace.git","clone_url":"https://github.com/takuya032/protospace.git","svn_url":"https://github.com/takuya032/protospace","homepage":"","size":17,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"takuya032:master","ref":"master","sha":"2be569be9fea0f039339df8a2fbbd2196baf0243","user":{"login":"takuya032","id":18065993,"avatar_url":"https://avatars.githubusercontent.com/u/18065993?v=3","gravatar_id":"","url":"https://api.github.com/users/takuya032","html_url":"https://github.com/takuya032","followers_url":"https://api.github.com/users/takuya032/followers","following_url":"https://api.github.com/users/takuya032/following{/other_user}","gists_url":"https://api.github.com/users/takuya032/gists{/gist_id}","starred_url":"https://api.github.com/users/takuya032/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/takuya032/subscriptions","organizations_url":"https://api.github.com/users/takuya032/orgs","repos_url":"https://api.github.com/users/takuya032/repos","events_url":"https://api.github.com/users/takuya032/events{/privacy}","received_events_url":"https://api.github.com/users/takuya032/received_events","type":"User","site_admin":false},"repo":{"id":62047334,"name":"protospace","full_name":"takuya032/protospace","owner":{"login":"takuya032","id":18065993,"avatar_url":"https://avatars.githubusercontent.com/u/18065993?v=3","gravatar_id":"","url":"https://api.github.com/users/takuya032","html_url":"https://github.com/takuya032","followers_url":"https://api.github.com/users/takuya032/followers","following_url":"https://api.github.com/users/takuya032/following{/other_user}","gists_url":"https://api.github.com/users/takuya032/gists{/gist_id}","starred_url":"https://api.github.com/users/takuya032/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/takuya032/subscriptions","organizations_url":"https://api.github.com/users/takuya032/orgs","repos_url":"https://api.github.com/users/takuya032/repos","events_url":"https://api.github.com/users/takuya032/events{/privacy}","received_events_url":"https://api.github.com/users/takuya032/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/takuya032/protospace","description":null,"fork":false,"url":"https://api.github.com/repos/takuya032/protospace","forks_url":"https://api.github.com/repos/takuya032/protospace/forks","keys_url":"https://api.github.com/repos/takuya032/protospace/keys{/key_id}","collaborators_url":"https://api.github.com/repos/takuya032/protospace/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/takuya032/protospace/teams","hooks_url":"https://api.github.com/repos/takuya032/protospace/hooks","issue_events_url":"https://api.github.com/repos/takuya032/protospace/issues/events{/number}","events_url":"https://api.github.com/repos/takuya032/protospace/events","assignees_url":"https://api.github.com/repos/takuya032/protospace/assignees{/user}","branches_url":"https://api.github.com/repos/takuya032/protospace/branches{/branch}","tags_url":"https://api.github.com/repos/takuya032/protospace/tags","blobs_url":"https://api.github.com/repos/takuya032/protospace/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/takuya032/protospace/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/takuya032/protospace/git/refs{/sha}","trees_url":"https://api.github.com/repos/takuya032/protospace/git/trees{/sha}","statuses_url":"https://api.github.com/repos/takuya032/protospace/statuses/{sha}","languages_url":"https://api.github.com/repos/takuya032/protospace/languages","stargazers_url":"https://api.github.com/repos/takuya032/protospace/stargazers","contributors_url":"https://api.github.com/repos/takuya032/protospace/contributors","subscribers_url":"https://api.github.com/repos/takuya032/protospace/subscribers","subscription_url":"https://api.github.com/repos/takuya032/protospace/subscription","commits_url":"https://api.github.com/repos/takuya032/protospace/commits{/sha}","git_commits_url":"https://api.github.com/repos/takuya032/protospace/git/commits{/sha}","comments_url":"https://api.github.com/repos/takuya032/protospace/comments{/number}","issue_comment_url":"https://api.github.com/repos/takuya032/protospace/issues/comments{/number}","contents_url":"https://api.github.com/repos/takuya032/protospace/contents/{+path}","compare_url":"https://api.github.com/repos/takuya032/protospace/compare/{base}...{head}","merges_url":"https://api.github.com/repos/takuya032/protospace/merges","archive_url":"https://api.github.com/repos/takuya032/protospace/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/takuya032/protospace/downloads","issues_url":"https://api.github.com/repos/takuya032/protospace/issues{/number}","pulls_url":"https://api.github.com/repos/takuya032/protospace/pulls{/number}","milestones_url":"https://api.github.com/repos/takuya032/protospace/milestones{/number}","notifications_url":"https://api.github.com/repos/takuya032/protospace/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/takuya032/protospace/labels{/name}","releases_url":"https://api.github.com/repos/takuya032/protospace/releases{/id}","deployments_url":"https://api.github.com/repos/takuya032/protospace/deployments","created_at":"2016-06-27T10:21:58Z","updated_at":"2016-06-27T12:09:04Z","pushed_at":"2016-06-30T09:35:12Z","git_url":"git://github.com/takuya032/protospace.git","ssh_url":"git@github.com:takuya032/protospace.git","clone_url":"https://github.com/takuya032/protospace.git","svn_url":"https://github.com/takuya032/protospace","homepage":"","size":17,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/takuya032/protospace/pulls/1"},"html":{"href":"https://github.com/takuya032/protospace/pull/1"},"issue":{"href":"https://api.github.com/repos/takuya032/protospace/issues/1"},"comments":{"href":"https://api.github.com/repos/takuya032/protospace/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/takuya032/protospace/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/takuya032/protospace/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/takuya032/protospace/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/takuya032/protospace/statuses/5fe5e460532fd1eeee6ac1e7cea7358092c5167c"}}}}
{"actor":{"display_login":"t-kusakabe"}}