{"action":"created","comment":{"url":"https://api.github.com/repos/MasahiroAsaka/chat-space/pulls/comments/185697598","pull_request_review_id":117137723,"id":185697598,"diff_hunk":"@@ -1,5 +1,69 @@\n # README\n \n+## usersテーブル\n+\n+|Column|Type|Options|\n+|------|----|-------|\n+|user_name|string|null: false, unique: true|","path":"README.md","position":7,"original_position":7,"commit_id":"e80c803031ab2ff3fb230d711c141878389f37d1","original_commit_id":"e80c803031ab2ff3fb230d711c141878389f37d1","user":{"login":"ta910","id":21980655,"avatar_url":"https://avatars0.githubusercontent.com/u/21980655?v=4","gravatar_id":"","url":"https://api.github.com/users/ta910","html_url":"https://github.com/ta910","followers_url":"https://api.github.com/users/ta910/followers","following_url":"https://api.github.com/users/ta910/following{/other_user}","gists_url":"https://api.github.com/users/ta910/gists{/gist_id}","starred_url":"https://api.github.com/users/ta910/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ta910/subscriptions","organizations_url":"https://api.github.com/users/ta910/orgs","repos_url":"https://api.github.com/users/ta910/repos","events_url":"https://api.github.com/users/ta910/events{/privacy}","received_events_url":"https://api.github.com/users/ta910/received_events","type":"User","site_admin":false},"body":"userテーブルなのでuser_nameでなくnameで十分でしょう。","created_at":"2018-05-03T05:03:01Z","updated_at":"2018-05-03T05:03:01Z","html_url":"https://github.com/MasahiroAsaka/chat-space/pull/2#discussion_r185697598","pull_request_url":"https://api.github.com/repos/MasahiroAsaka/chat-space/pulls/2","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/MasahiroAsaka/chat-space/pulls/comments/185697598"},"html":{"href":"https://github.com/MasahiroAsaka/chat-space/pull/2#discussion_r185697598"},"pull_request":{"href":"https://api.github.com/repos/MasahiroAsaka/chat-space/pulls/2"}}},"pull_request":{"url":"https://api.github.com/repos/MasahiroAsaka/chat-space/pulls/2","id":185612962,"html_url":"https://github.com/MasahiroAsaka/chat-space/pull/2","diff_url":"https://github.com/MasahiroAsaka/chat-space/pull/2.diff","patch_url":"https://github.com/MasahiroAsaka/chat-space/pull/2.patch","issue_url":"https://api.github.com/repos/MasahiroAsaka/chat-space/issues/2","number":2,"state":"open","locked":false,"title":"[WIP]#1 データベース設計","user":{"login":"MasahiroAsaka","id":38854499,"avatar_url":"https://avatars2.githubusercontent.com/u/38854499?v=4","gravatar_id":"","url":"https://api.github.com/users/MasahiroAsaka","html_url":"https://github.com/MasahiroAsaka","followers_url":"https://api.github.com/users/MasahiroAsaka/followers","following_url":"https://api.github.com/users/MasahiroAsaka/following{/other_user}","gists_url":"https://api.github.com/users/MasahiroAsaka/gists{/gist_id}","starred_url":"https://api.github.com/users/MasahiroAsaka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MasahiroAsaka/subscriptions","organizations_url":"https://api.github.com/users/MasahiroAsaka/orgs","repos_url":"https://api.github.com/users/MasahiroAsaka/repos","events_url":"https://api.github.com/users/MasahiroAsaka/events{/privacy}","received_events_url":"https://api.github.com/users/MasahiroAsaka/received_events","type":"User","site_admin":false},"body":"# WHAT\nREADME.mdへデータベース設計の記述\n\n# WHY\nChatSpaceデータベース構築のため","created_at":"2018-05-03T04:05:19Z","updated_at":"2018-05-03T05:03:01Z","closed_at":null,"merged_at":null,"merge_commit_sha":"bb8f172da60b41ef897e72b203a4964ceabdb02b","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/MasahiroAsaka/chat-space/pulls/2/commits","review_comments_url":"https://api.github.com/repos/MasahiroAsaka/chat-space/pulls/2/comments","review_comment_url":"https://api.github.com/repos/MasahiroAsaka/chat-space/pulls/comments{/number}","comments_url":"https://api.github.com/repos/MasahiroAsaka/chat-space/issues/2/comments","statuses_url":"https://api.github.com/repos/MasahiroAsaka/chat-space/statuses/e80c803031ab2ff3fb230d711c141878389f37d1","head":{"label":"MasahiroAsaka:chat-space_initial","ref":"chat-space_initial","sha":"e80c803031ab2ff3fb230d711c141878389f37d1","user":{"login":"MasahiroAsaka","id":38854499,"avatar_url":"https://avatars2.githubusercontent.com/u/38854499?v=4","gravatar_id":"","url":"https://api.github.com/users/MasahiroAsaka","html_url":"https://github.com/MasahiroAsaka","followers_url":"https://api.github.com/users/MasahiroAsaka/followers","following_url":"https://api.github.com/users/MasahiroAsaka/following{/other_user}","gists_url":"https://api.github.com/users/MasahiroAsaka/gists{/gist_id}","starred_url":"https://api.github.com/users/MasahiroAsaka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MasahiroAsaka/subscriptions","organizations_url":"https://api.github.com/users/MasahiroAsaka/orgs","repos_url":"https://api.github.com/users/MasahiroAsaka/repos","events_url":"https://api.github.com/users/MasahiroAsaka/events{/privacy}","received_events_url":"https://api.github.com/users/MasahiroAsaka/received_events","type":"User","site_admin":false},"repo":{"id":131694179,"name":"chat-space","full_name":"MasahiroAsaka/chat-space","owner":{"login":"MasahiroAsaka","id":38854499,"avatar_url":"https://avatars2.githubusercontent.com/u/38854499?v=4","gravatar_id":"","url":"https://api.github.com/users/MasahiroAsaka","html_url":"https://github.com/MasahiroAsaka","followers_url":"https://api.github.com/users/MasahiroAsaka/followers","following_url":"https://api.github.com/users/MasahiroAsaka/following{/other_user}","gists_url":"https://api.github.com/users/MasahiroAsaka/gists{/gist_id}","starred_url":"https://api.github.com/users/MasahiroAsaka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MasahiroAsaka/subscriptions","organizations_url":"https://api.github.com/users/MasahiroAsaka/orgs","repos_url":"https://api.github.com/users/MasahiroAsaka/repos","events_url":"https://api.github.com/users/MasahiroAsaka/events{/privacy}","received_events_url":"https://api.github.com/users/MasahiroAsaka/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/MasahiroAsaka/chat-space","description":null,"fork":false,"url":"https://api.github.com/repos/MasahiroAsaka/chat-space","forks_url":"https://api.github.com/repos/MasahiroAsaka/chat-space/forks","keys_url":"https://api.github.com/repos/MasahiroAsaka/chat-space/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MasahiroAsaka/chat-space/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MasahiroAsaka/chat-space/teams","hooks_url":"https://api.github.com/repos/MasahiroAsaka/chat-space/hooks","issue_events_url":"https://api.github.com/repos/MasahiroAsaka/chat-space/issues/events{/number}","events_url":"https://api.github.com/repos/MasahiroAsaka/chat-space/events","assignees_url":"https://api.github.com/repos/MasahiroAsaka/chat-space/assignees{/user}","branches_url":"https://api.github.com/repos/MasahiroAsaka/chat-space/branches{/branch}","tags_url":"https://api.github.com/repos/MasahiroAsaka/chat-space/tags","blobs_url":"https://api.github.com/repos/MasahiroAsaka/chat-space/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MasahiroAsaka/chat-space/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MasahiroAsaka/chat-space/git/refs{/sha}","trees_url":"https://api.github.com/repos/MasahiroAsaka/chat-space/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MasahiroAsaka/chat-space/statuses/{sha}","languages_url":"https://api.github.com/repos/MasahiroAsaka/chat-space/languages","stargazers_url":"https://api.github.com/repos/MasahiroAsaka/chat-space/stargazers","contributors_url":"https://api.github.com/repos/MasahiroAsaka/chat-space/contributors","subscribers_url":"https://api.github.com/repos/MasahiroAsaka/chat-space/subscribers","subscription_url":"https://api.github.com/repos/MasahiroAsaka/chat-space/subscription","commits_url":"https://api.github.com/repos/MasahiroAsaka/chat-space/commits{/sha}","git_commits_url":"https://api.github.com/repos/MasahiroAsaka/chat-space/git/commits{/sha}","comments_url":"https://api.github.com/repos/MasahiroAsaka/chat-space/comments{/number}","issue_comment_url":"https://api.github.com/repos/MasahiroAsaka/chat-space/issues/comments{/number}","contents_url":"https://api.github.com/repos/MasahiroAsaka/chat-space/contents/{+path}","compare_url":"https://api.github.com/repos/MasahiroAsaka/chat-space/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MasahiroAsaka/chat-space/merges","archive_url":"https://api.github.com/repos/MasahiroAsaka/chat-space/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MasahiroAsaka/chat-space/downloads","issues_url":"https://api.github.com/repos/MasahiroAsaka/chat-space/issues{/number}","pulls_url":"https://api.github.com/repos/MasahiroAsaka/chat-space/pulls{/number}","milestones_url":"https://api.github.com/repos/MasahiroAsaka/chat-space/milestones{/number}","notifications_url":"https://api.github.com/repos/MasahiroAsaka/chat-space/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MasahiroAsaka/chat-space/labels{/name}","releases_url":"https://api.github.com/repos/MasahiroAsaka/chat-space/releases{/id}","deployments_url":"https://api.github.com/repos/MasahiroAsaka/chat-space/deployments","created_at":"2018-05-01T09:03:08Z","updated_at":"2018-05-01T09:03:20Z","pushed_at":"2018-05-03T04:05:20Z","git_url":"git://github.com/MasahiroAsaka/chat-space.git","ssh_url":"git@github.com:MasahiroAsaka/chat-space.git","clone_url":"https://github.com/MasahiroAsaka/chat-space.git","svn_url":"https://github.com/MasahiroAsaka/chat-space","homepage":null,"size":22,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"MasahiroAsaka:master","ref":"master","sha":"c0718882be7de51750d0c7d424d434f28f144de2","user":{"login":"MasahiroAsaka","id":38854499,"avatar_url":"https://avatars2.githubusercontent.com/u/38854499?v=4","gravatar_id":"","url":"https://api.github.com/users/MasahiroAsaka","html_url":"https://github.com/MasahiroAsaka","followers_url":"https://api.github.com/users/MasahiroAsaka/followers","following_url":"https://api.github.com/users/MasahiroAsaka/following{/other_user}","gists_url":"https://api.github.com/users/MasahiroAsaka/gists{/gist_id}","starred_url":"https://api.github.com/users/MasahiroAsaka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MasahiroAsaka/subscriptions","organizations_url":"https://api.github.com/users/MasahiroAsaka/orgs","repos_url":"https://api.github.com/users/MasahiroAsaka/repos","events_url":"https://api.github.com/users/MasahiroAsaka/events{/privacy}","received_events_url":"https://api.github.com/users/MasahiroAsaka/received_events","type":"User","site_admin":false},"repo":{"id":131694179,"name":"chat-space","full_name":"MasahiroAsaka/chat-space","owner":{"login":"MasahiroAsaka","id":38854499,"avatar_url":"https://avatars2.githubusercontent.com/u/38854499?v=4","gravatar_id":"","url":"https://api.github.com/users/MasahiroAsaka","html_url":"https://github.com/MasahiroAsaka","followers_url":"https://api.github.com/users/MasahiroAsaka/followers","following_url":"https://api.github.com/users/MasahiroAsaka/following{/other_user}","gists_url":"https://api.github.com/users/MasahiroAsaka/gists{/gist_id}","starred_url":"https://api.github.com/users/MasahiroAsaka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MasahiroAsaka/subscriptions","organizations_url":"https://api.github.com/users/MasahiroAsaka/orgs","repos_url":"https://api.github.com/users/MasahiroAsaka/repos","events_url":"https://api.github.com/users/MasahiroAsaka/events{/privacy}","received_events_url":"https://api.github.com/users/MasahiroAsaka/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/MasahiroAsaka/chat-space","description":null,"fork":false,"url":"https://api.github.com/repos/MasahiroAsaka/chat-space","forks_url":"https://api.github.com/repos/MasahiroAsaka/chat-space/forks","keys_url":"https://api.github.com/repos/MasahiroAsaka/chat-space/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MasahiroAsaka/chat-space/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MasahiroAsaka/chat-space/teams","hooks_url":"https://api.github.com/repos/MasahiroAsaka/chat-space/hooks","issue_events_url":"https://api.github.com/repos/MasahiroAsaka/chat-space/issues/events{/number}","events_url":"https://api.github.com/repos/MasahiroAsaka/chat-space/events","assignees_url":"https://api.github.com/repos/MasahiroAsaka/chat-space/assignees{/user}","branches_url":"https://api.github.com/repos/MasahiroAsaka/chat-space/branches{/branch}","tags_url":"https://api.github.com/repos/MasahiroAsaka/chat-space/tags","blobs_url":"https://api.github.com/repos/MasahiroAsaka/chat-space/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MasahiroAsaka/chat-space/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MasahiroAsaka/chat-space/git/refs{/sha}","trees_url":"https://api.github.com/repos/MasahiroAsaka/chat-space/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MasahiroAsaka/chat-space/statuses/{sha}","languages_url":"https://api.github.com/repos/MasahiroAsaka/chat-space/languages","stargazers_url":"https://api.github.com/repos/MasahiroAsaka/chat-space/stargazers","contributors_url":"https://api.github.com/repos/MasahiroAsaka/chat-space/contributors","subscribers_url":"https://api.github.com/repos/MasahiroAsaka/chat-space/subscribers","subscription_url":"https://api.github.com/repos/MasahiroAsaka/chat-space/subscription","commits_url":"https://api.github.com/repos/MasahiroAsaka/chat-space/commits{/sha}","git_commits_url":"https://api.github.com/repos/MasahiroAsaka/chat-space/git/commits{/sha}","comments_url":"https://api.github.com/repos/MasahiroAsaka/chat-space/comments{/number}","issue_comment_url":"https://api.github.com/repos/MasahiroAsaka/chat-space/issues/comments{/number}","contents_url":"https://api.github.com/repos/MasahiroAsaka/chat-space/contents/{+path}","compare_url":"https://api.github.com/repos/MasahiroAsaka/chat-space/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MasahiroAsaka/chat-space/merges","archive_url":"https://api.github.com/repos/MasahiroAsaka/chat-space/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MasahiroAsaka/chat-space/downloads","issues_url":"https://api.github.com/repos/MasahiroAsaka/chat-space/issues{/number}","pulls_url":"https://api.github.com/repos/MasahiroAsaka/chat-space/pulls{/number}","milestones_url":"https://api.github.com/repos/MasahiroAsaka/chat-space/milestones{/number}","notifications_url":"https://api.github.com/repos/MasahiroAsaka/chat-space/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MasahiroAsaka/chat-space/labels{/name}","releases_url":"https://api.github.com/repos/MasahiroAsaka/chat-space/releases{/id}","deployments_url":"https://api.github.com/repos/MasahiroAsaka/chat-space/deployments","created_at":"2018-05-01T09:03:08Z","updated_at":"2018-05-01T09:03:20Z","pushed_at":"2018-05-03T04:05:20Z","git_url":"git://github.com/MasahiroAsaka/chat-space.git","ssh_url":"git@github.com:MasahiroAsaka/chat-space.git","clone_url":"https://github.com/MasahiroAsaka/chat-space.git","svn_url":"https://github.com/MasahiroAsaka/chat-space","homepage":null,"size":22,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/MasahiroAsaka/chat-space/pulls/2"},"html":{"href":"https://github.com/MasahiroAsaka/chat-space/pull/2"},"issue":{"href":"https://api.github.com/repos/MasahiroAsaka/chat-space/issues/2"},"comments":{"href":"https://api.github.com/repos/MasahiroAsaka/chat-space/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/MasahiroAsaka/chat-space/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/MasahiroAsaka/chat-space/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/MasahiroAsaka/chat-space/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/MasahiroAsaka/chat-space/statuses/e80c803031ab2ff3fb230d711c141878389f37d1"}},"author_association":"OWNER"}}
{"actor":{"display_login":"ta910"}}