{"action":"created","comment":{"url":"https://api.github.com/repos/shizukahara/protospace/pulls/comments/64135885","id":64135885,"diff_hunk":"@@ -9,58 +9,58 @@ application up and running.\n ## モデル間のアソシエーション\n *articles(1)に対してimages(他) articles has_many images, images belongs_to article 以下はそれぞれを簡略化して説明\n \n-*article has_many images, comments.  \n-*article belongs_to user,  \n-*image belongs_to article  \n-*comment belongs_to tweet, user  \n-*user has_many articles, comments  \n+* article has_many images, comments.  \n+* article belongs_to user,  \n+* image belongs_to article  \n+* comment belongs_to tweet, user  \n+* user has_many articles, comments  \n \n ____________________________________________________\n \n ## 作成するテーブル\n-*users  \n-*comments  \n-*articles(メイン)  \n-*images  \n+* users  \n+* comments  \n+* articles(メイン)  \n+* images  \n \n _____________________________________________________\n \n ## テーブルにおけるカラム\n \n ### usersテーブルについて\n-*id  \n-*name  \n-*email  \n-*encrypted_password  \n+* id  \n+* name  \n+* email  \n+* encrypted_password  \n \n ### commentsテーブルについて\n-*id  \n-*user_id  \n-*article_id  \n-*text  \n+* id  \n+* user_id  \n+* article_id  \n+* text  \n \n ###articlesテーブルについて\n-*id  \n-*title  \n-*catchcopy  \n-*concept  \n+* id  \n+* title  \n+* catchcopy  \n+* concept  \n ","path":"README.md","position":60,"original_position":60,"commit_id":"91fc06a90d999ef229e625f6bcf02f1c03a76e70","original_commit_id":"91fc06a90d999ef229e625f6bcf02f1c03a76e70","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":"articlesテーブルなんですけどねっちさん指摘してくれた通りにprototypesテーブルとかの方が適切かもですね！\r\nテーブル名は見ただけで何かわかるものにするといいかもです！\r\nそれと今のカラムだけだと誰がプロトタイプを投稿したのかがわからない気がします！","created_at":"2016-05-21T15:15:33Z","updated_at":"2016-05-21T15:15:33Z","html_url":"https://github.com/shizukahara/protospace/pull/3#discussion_r64135885","pull_request_url":"https://api.github.com/repos/shizukahara/protospace/pulls/3","_links":{"self":{"href":"https://api.github.com/repos/shizukahara/protospace/pulls/comments/64135885"},"html":{"href":"https://github.com/shizukahara/protospace/pull/3#discussion_r64135885"},"pull_request":{"href":"https://api.github.com/repos/shizukahara/protospace/pulls/3"}}},"pull_request":{"url":"https://api.github.com/repos/shizukahara/protospace/pulls/3","id":70949858,"html_url":"https://github.com/shizukahara/protospace/pull/3","diff_url":"https://github.com/shizukahara/protospace/pull/3.diff","patch_url":"https://github.com/shizukahara/protospace/pull/3.patch","issue_url":"https://api.github.com/repos/shizukahara/protospace/issues/3","number":3,"state":"open","locked":false,"title":"Markdownの変更","user":{"login":"shizukahara","id":16971056,"avatar_url":"https://avatars.githubusercontent.com/u/16971056?v=3","gravatar_id":"","url":"https://api.github.com/users/shizukahara","html_url":"https://github.com/shizukahara","followers_url":"https://api.github.com/users/shizukahara/followers","following_url":"https://api.github.com/users/shizukahara/following{/other_user}","gists_url":"https://api.github.com/users/shizukahara/gists{/gist_id}","starred_url":"https://api.github.com/users/shizukahara/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shizukahara/subscriptions","organizations_url":"https://api.github.com/users/shizukahara/orgs","repos_url":"https://api.github.com/users/shizukahara/repos","events_url":"https://api.github.com/users/shizukahara/events{/privacy}","received_events_url":"https://api.github.com/users/shizukahara/received_events","type":"User","site_admin":false},"body":"# WHAT \r\nREADMEの拡張子、書き方の変更\r\n# WHY\r\nDBの設計図で不備があったため","created_at":"2016-05-21T13:44:32Z","updated_at":"2016-05-21T15:15:33Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0cb0a3c2f6512292f0be4b7b6820d60ac5bcd515","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/shizukahara/protospace/pulls/3/commits","review_comments_url":"https://api.github.com/repos/shizukahara/protospace/pulls/3/comments","review_comment_url":"https://api.github.com/repos/shizukahara/protospace/pulls/comments{/number}","comments_url":"https://api.github.com/repos/shizukahara/protospace/issues/3/comments","statuses_url":"https://api.github.com/repos/shizukahara/protospace/statuses/91fc06a90d999ef229e625f6bcf02f1c03a76e70","head":{"label":"shizukahara:add_DB_create","ref":"add_DB_create","sha":"91fc06a90d999ef229e625f6bcf02f1c03a76e70","user":{"login":"shizukahara","id":16971056,"avatar_url":"https://avatars.githubusercontent.com/u/16971056?v=3","gravatar_id":"","url":"https://api.github.com/users/shizukahara","html_url":"https://github.com/shizukahara","followers_url":"https://api.github.com/users/shizukahara/followers","following_url":"https://api.github.com/users/shizukahara/following{/other_user}","gists_url":"https://api.github.com/users/shizukahara/gists{/gist_id}","starred_url":"https://api.github.com/users/shizukahara/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shizukahara/subscriptions","organizations_url":"https://api.github.com/users/shizukahara/orgs","repos_url":"https://api.github.com/users/shizukahara/repos","events_url":"https://api.github.com/users/shizukahara/events{/privacy}","received_events_url":"https://api.github.com/users/shizukahara/received_events","type":"User","site_admin":false},"repo":{"id":59351976,"name":"protospace","full_name":"shizukahara/protospace","owner":{"login":"shizukahara","id":16971056,"avatar_url":"https://avatars.githubusercontent.com/u/16971056?v=3","gravatar_id":"","url":"https://api.github.com/users/shizukahara","html_url":"https://github.com/shizukahara","followers_url":"https://api.github.com/users/shizukahara/followers","following_url":"https://api.github.com/users/shizukahara/following{/other_user}","gists_url":"https://api.github.com/users/shizukahara/gists{/gist_id}","starred_url":"https://api.github.com/users/shizukahara/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shizukahara/subscriptions","organizations_url":"https://api.github.com/users/shizukahara/orgs","repos_url":"https://api.github.com/users/shizukahara/repos","events_url":"https://api.github.com/users/shizukahara/events{/privacy}","received_events_url":"https://api.github.com/users/shizukahara/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/shizukahara/protospace","description":"","fork":false,"url":"https://api.github.com/repos/shizukahara/protospace","forks_url":"https://api.github.com/repos/shizukahara/protospace/forks","keys_url":"https://api.github.com/repos/shizukahara/protospace/keys{/key_id}","collaborators_url":"https://api.github.com/repos/shizukahara/protospace/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/shizukahara/protospace/teams","hooks_url":"https://api.github.com/repos/shizukahara/protospace/hooks","issue_events_url":"https://api.github.com/repos/shizukahara/protospace/issues/events{/number}","events_url":"https://api.github.com/repos/shizukahara/protospace/events","assignees_url":"https://api.github.com/repos/shizukahara/protospace/assignees{/user}","branches_url":"https://api.github.com/repos/shizukahara/protospace/branches{/branch}","tags_url":"https://api.github.com/repos/shizukahara/protospace/tags","blobs_url":"https://api.github.com/repos/shizukahara/protospace/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/shizukahara/protospace/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/shizukahara/protospace/git/refs{/sha}","trees_url":"https://api.github.com/repos/shizukahara/protospace/git/trees{/sha}","statuses_url":"https://api.github.com/repos/shizukahara/protospace/statuses/{sha}","languages_url":"https://api.github.com/repos/shizukahara/protospace/languages","stargazers_url":"https://api.github.com/repos/shizukahara/protospace/stargazers","contributors_url":"https://api.github.com/repos/shizukahara/protospace/contributors","subscribers_url":"https://api.github.com/repos/shizukahara/protospace/subscribers","subscription_url":"https://api.github.com/repos/shizukahara/protospace/subscription","commits_url":"https://api.github.com/repos/shizukahara/protospace/commits{/sha}","git_commits_url":"https://api.github.com/repos/shizukahara/protospace/git/commits{/sha}","comments_url":"https://api.github.com/repos/shizukahara/protospace/comments{/number}","issue_comment_url":"https://api.github.com/repos/shizukahara/protospace/issues/comments{/number}","contents_url":"https://api.github.com/repos/shizukahara/protospace/contents/{+path}","compare_url":"https://api.github.com/repos/shizukahara/protospace/compare/{base}...{head}","merges_url":"https://api.github.com/repos/shizukahara/protospace/merges","archive_url":"https://api.github.com/repos/shizukahara/protospace/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/shizukahara/protospace/downloads","issues_url":"https://api.github.com/repos/shizukahara/protospace/issues{/number}","pulls_url":"https://api.github.com/repos/shizukahara/protospace/pulls{/number}","milestones_url":"https://api.github.com/repos/shizukahara/protospace/milestones{/number}","notifications_url":"https://api.github.com/repos/shizukahara/protospace/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/shizukahara/protospace/labels{/name}","releases_url":"https://api.github.com/repos/shizukahara/protospace/releases{/id}","deployments_url":"https://api.github.com/repos/shizukahara/protospace/deployments","created_at":"2016-05-21T09:25:59Z","updated_at":"2016-05-21T09:32:05Z","pushed_at":"2016-05-21T13:44:33Z","git_url":"git://github.com/shizukahara/protospace.git","ssh_url":"git@github.com:shizukahara/protospace.git","clone_url":"https://github.com/shizukahara/protospace.git","svn_url":"https://github.com/shizukahara/protospace","homepage":"","size":19,"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":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"shizukahara:master","ref":"master","sha":"b2e027a1aeb80b4bf3afe10c445bc89586fa2869","user":{"login":"shizukahara","id":16971056,"avatar_url":"https://avatars.githubusercontent.com/u/16971056?v=3","gravatar_id":"","url":"https://api.github.com/users/shizukahara","html_url":"https://github.com/shizukahara","followers_url":"https://api.github.com/users/shizukahara/followers","following_url":"https://api.github.com/users/shizukahara/following{/other_user}","gists_url":"https://api.github.com/users/shizukahara/gists{/gist_id}","starred_url":"https://api.github.com/users/shizukahara/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shizukahara/subscriptions","organizations_url":"https://api.github.com/users/shizukahara/orgs","repos_url":"https://api.github.com/users/shizukahara/repos","events_url":"https://api.github.com/users/shizukahara/events{/privacy}","received_events_url":"https://api.github.com/users/shizukahara/received_events","type":"User","site_admin":false},"repo":{"id":59351976,"name":"protospace","full_name":"shizukahara/protospace","owner":{"login":"shizukahara","id":16971056,"avatar_url":"https://avatars.githubusercontent.com/u/16971056?v=3","gravatar_id":"","url":"https://api.github.com/users/shizukahara","html_url":"https://github.com/shizukahara","followers_url":"https://api.github.com/users/shizukahara/followers","following_url":"https://api.github.com/users/shizukahara/following{/other_user}","gists_url":"https://api.github.com/users/shizukahara/gists{/gist_id}","starred_url":"https://api.github.com/users/shizukahara/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shizukahara/subscriptions","organizations_url":"https://api.github.com/users/shizukahara/orgs","repos_url":"https://api.github.com/users/shizukahara/repos","events_url":"https://api.github.com/users/shizukahara/events{/privacy}","received_events_url":"https://api.github.com/users/shizukahara/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/shizukahara/protospace","description":"","fork":false,"url":"https://api.github.com/repos/shizukahara/protospace","forks_url":"https://api.github.com/repos/shizukahara/protospace/forks","keys_url":"https://api.github.com/repos/shizukahara/protospace/keys{/key_id}","collaborators_url":"https://api.github.com/repos/shizukahara/protospace/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/shizukahara/protospace/teams","hooks_url":"https://api.github.com/repos/shizukahara/protospace/hooks","issue_events_url":"https://api.github.com/repos/shizukahara/protospace/issues/events{/number}","events_url":"https://api.github.com/repos/shizukahara/protospace/events","assignees_url":"https://api.github.com/repos/shizukahara/protospace/assignees{/user}","branches_url":"https://api.github.com/repos/shizukahara/protospace/branches{/branch}","tags_url":"https://api.github.com/repos/shizukahara/protospace/tags","blobs_url":"https://api.github.com/repos/shizukahara/protospace/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/shizukahara/protospace/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/shizukahara/protospace/git/refs{/sha}","trees_url":"https://api.github.com/repos/shizukahara/protospace/git/trees{/sha}","statuses_url":"https://api.github.com/repos/shizukahara/protospace/statuses/{sha}","languages_url":"https://api.github.com/repos/shizukahara/protospace/languages","stargazers_url":"https://api.github.com/repos/shizukahara/protospace/stargazers","contributors_url":"https://api.github.com/repos/shizukahara/protospace/contributors","subscribers_url":"https://api.github.com/repos/shizukahara/protospace/subscribers","subscription_url":"https://api.github.com/repos/shizukahara/protospace/subscription","commits_url":"https://api.github.com/repos/shizukahara/protospace/commits{/sha}","git_commits_url":"https://api.github.com/repos/shizukahara/protospace/git/commits{/sha}","comments_url":"https://api.github.com/repos/shizukahara/protospace/comments{/number}","issue_comment_url":"https://api.github.com/repos/shizukahara/protospace/issues/comments{/number}","contents_url":"https://api.github.com/repos/shizukahara/protospace/contents/{+path}","compare_url":"https://api.github.com/repos/shizukahara/protospace/compare/{base}...{head}","merges_url":"https://api.github.com/repos/shizukahara/protospace/merges","archive_url":"https://api.github.com/repos/shizukahara/protospace/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/shizukahara/protospace/downloads","issues_url":"https://api.github.com/repos/shizukahara/protospace/issues{/number}","pulls_url":"https://api.github.com/repos/shizukahara/protospace/pulls{/number}","milestones_url":"https://api.github.com/repos/shizukahara/protospace/milestones{/number}","notifications_url":"https://api.github.com/repos/shizukahara/protospace/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/shizukahara/protospace/labels{/name}","releases_url":"https://api.github.com/repos/shizukahara/protospace/releases{/id}","deployments_url":"https://api.github.com/repos/shizukahara/protospace/deployments","created_at":"2016-05-21T09:25:59Z","updated_at":"2016-05-21T09:32:05Z","pushed_at":"2016-05-21T13:44:33Z","git_url":"git://github.com/shizukahara/protospace.git","ssh_url":"git@github.com:shizukahara/protospace.git","clone_url":"https://github.com/shizukahara/protospace.git","svn_url":"https://github.com/shizukahara/protospace","homepage":"","size":19,"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":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/shizukahara/protospace/pulls/3"},"html":{"href":"https://github.com/shizukahara/protospace/pull/3"},"issue":{"href":"https://api.github.com/repos/shizukahara/protospace/issues/3"},"comments":{"href":"https://api.github.com/repos/shizukahara/protospace/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/shizukahara/protospace/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/shizukahara/protospace/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/shizukahara/protospace/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/shizukahara/protospace/statuses/91fc06a90d999ef229e625f6bcf02f1c03a76e70"}}}}
{"actor":{"display_login":"t-kusakabe"}}