{"action":"created","comment":{"url":"https://api.github.com/repos/kasuga11/chat-space/pulls/comments/153397197","pull_request_review_id":79393659,"id":153397197,"diff_hunk":"@@ -1,24 +1,52 @@\n # README\n \n-This README would normally document whatever steps are necessary to get the\n-application up and running.\n+##  データベース設計\n \n-Things you may want to cover:\n+### usersテーブル\n+※deviseを使用\n \n-* Ruby version\n+|Column|Type|Options|\n+|------|----|-------|\n+|name|string|null: false|\n+|email|text|null: false, unique: true|\n \n-* System dependencies\n \n-* Configuration\n+### Association\n+- has_many chats\n+- has_many :groups, through :group_users\n+- has_many :group_users\n \n-* Database creation\n \n-* Database initialization\n+### chatsテーブル\n+|Column|Type|Options|\n+|------|----|-------|\n+|body|text||\n+|image|text||","path":"README.md","position":32,"original_position":32,"commit_id":"9181e53952eab589ab065c231a9e73afeac2296b","original_commit_id":"9181e53952eab589ab065c231a9e73afeac2296b","user":{"login":"TOMARUMARU","id":27071603,"avatar_url":"https://avatars1.githubusercontent.com/u/27071603?v=4","gravatar_id":"","url":"https://api.github.com/users/TOMARUMARU","html_url":"https://github.com/TOMARUMARU","followers_url":"https://api.github.com/users/TOMARUMARU/followers","following_url":"https://api.github.com/users/TOMARUMARU/following{/other_user}","gists_url":"https://api.github.com/users/TOMARUMARU/gists{/gist_id}","starred_url":"https://api.github.com/users/TOMARUMARU/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TOMARUMARU/subscriptions","organizations_url":"https://api.github.com/users/TOMARUMARU/orgs","repos_url":"https://api.github.com/users/TOMARUMARU/repos","events_url":"https://api.github.com/users/TOMARUMARU/events{/privacy}","received_events_url":"https://api.github.com/users/TOMARUMARU/received_events","type":"User","site_admin":false},"body":"stringで大丈夫です！","created_at":"2017-11-28T05:14:27Z","updated_at":"2017-11-28T05:16:17Z","html_url":"https://github.com/kasuga11/chat-space/pull/1#discussion_r153397197","pull_request_url":"https://api.github.com/repos/kasuga11/chat-space/pulls/1","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/kasuga11/chat-space/pulls/comments/153397197"},"html":{"href":"https://github.com/kasuga11/chat-space/pull/1#discussion_r153397197"},"pull_request":{"href":"https://api.github.com/repos/kasuga11/chat-space/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/kasuga11/chat-space/pulls/1","id":154976759,"html_url":"https://github.com/kasuga11/chat-space/pull/1","diff_url":"https://github.com/kasuga11/chat-space/pull/1.diff","patch_url":"https://github.com/kasuga11/chat-space/pull/1.patch","issue_url":"https://api.github.com/repos/kasuga11/chat-space/issues/1","number":1,"state":"open","locked":false,"title":"DB設計","user":{"login":"kasuga11","id":33624231,"avatar_url":"https://avatars1.githubusercontent.com/u/33624231?v=4","gravatar_id":"","url":"https://api.github.com/users/kasuga11","html_url":"https://github.com/kasuga11","followers_url":"https://api.github.com/users/kasuga11/followers","following_url":"https://api.github.com/users/kasuga11/following{/other_user}","gists_url":"https://api.github.com/users/kasuga11/gists{/gist_id}","starred_url":"https://api.github.com/users/kasuga11/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kasuga11/subscriptions","organizations_url":"https://api.github.com/users/kasuga11/orgs","repos_url":"https://api.github.com/users/kasuga11/repos","events_url":"https://api.github.com/users/kasuga11/events{/privacy}","received_events_url":"https://api.github.com/users/kasuga11/received_events","type":"User","site_admin":false},"body":"# WHAT\n　ReadmeへのDB設計の記述\n# WHY\n　実装に必要なデータを明示するため","created_at":"2017-11-28T04:22:26Z","updated_at":"2017-11-28T05:16:17Z","closed_at":null,"merged_at":null,"merge_commit_sha":"aa9a004ce6728cd7b6a4ecff8dc42a9e68e650df","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/kasuga11/chat-space/pulls/1/commits","review_comments_url":"https://api.github.com/repos/kasuga11/chat-space/pulls/1/comments","review_comment_url":"https://api.github.com/repos/kasuga11/chat-space/pulls/comments{/number}","comments_url":"https://api.github.com/repos/kasuga11/chat-space/issues/1/comments","statuses_url":"https://api.github.com/repos/kasuga11/chat-space/statuses/9181e53952eab589ab065c231a9e73afeac2296b","head":{"label":"kasuga11:db_design","ref":"db_design","sha":"9181e53952eab589ab065c231a9e73afeac2296b","user":{"login":"kasuga11","id":33624231,"avatar_url":"https://avatars1.githubusercontent.com/u/33624231?v=4","gravatar_id":"","url":"https://api.github.com/users/kasuga11","html_url":"https://github.com/kasuga11","followers_url":"https://api.github.com/users/kasuga11/followers","following_url":"https://api.github.com/users/kasuga11/following{/other_user}","gists_url":"https://api.github.com/users/kasuga11/gists{/gist_id}","starred_url":"https://api.github.com/users/kasuga11/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kasuga11/subscriptions","organizations_url":"https://api.github.com/users/kasuga11/orgs","repos_url":"https://api.github.com/users/kasuga11/repos","events_url":"https://api.github.com/users/kasuga11/events{/privacy}","received_events_url":"https://api.github.com/users/kasuga11/received_events","type":"User","site_admin":false},"repo":{"id":112149788,"name":"chat-space","full_name":"kasuga11/chat-space","owner":{"login":"kasuga11","id":33624231,"avatar_url":"https://avatars1.githubusercontent.com/u/33624231?v=4","gravatar_id":"","url":"https://api.github.com/users/kasuga11","html_url":"https://github.com/kasuga11","followers_url":"https://api.github.com/users/kasuga11/followers","following_url":"https://api.github.com/users/kasuga11/following{/other_user}","gists_url":"https://api.github.com/users/kasuga11/gists{/gist_id}","starred_url":"https://api.github.com/users/kasuga11/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kasuga11/subscriptions","organizations_url":"https://api.github.com/users/kasuga11/orgs","repos_url":"https://api.github.com/users/kasuga11/repos","events_url":"https://api.github.com/users/kasuga11/events{/privacy}","received_events_url":"https://api.github.com/users/kasuga11/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kasuga11/chat-space","description":null,"fork":false,"url":"https://api.github.com/repos/kasuga11/chat-space","forks_url":"https://api.github.com/repos/kasuga11/chat-space/forks","keys_url":"https://api.github.com/repos/kasuga11/chat-space/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kasuga11/chat-space/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kasuga11/chat-space/teams","hooks_url":"https://api.github.com/repos/kasuga11/chat-space/hooks","issue_events_url":"https://api.github.com/repos/kasuga11/chat-space/issues/events{/number}","events_url":"https://api.github.com/repos/kasuga11/chat-space/events","assignees_url":"https://api.github.com/repos/kasuga11/chat-space/assignees{/user}","branches_url":"https://api.github.com/repos/kasuga11/chat-space/branches{/branch}","tags_url":"https://api.github.com/repos/kasuga11/chat-space/tags","blobs_url":"https://api.github.com/repos/kasuga11/chat-space/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kasuga11/chat-space/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kasuga11/chat-space/git/refs{/sha}","trees_url":"https://api.github.com/repos/kasuga11/chat-space/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kasuga11/chat-space/statuses/{sha}","languages_url":"https://api.github.com/repos/kasuga11/chat-space/languages","stargazers_url":"https://api.github.com/repos/kasuga11/chat-space/stargazers","contributors_url":"https://api.github.com/repos/kasuga11/chat-space/contributors","subscribers_url":"https://api.github.com/repos/kasuga11/chat-space/subscribers","subscription_url":"https://api.github.com/repos/kasuga11/chat-space/subscription","commits_url":"https://api.github.com/repos/kasuga11/chat-space/commits{/sha}","git_commits_url":"https://api.github.com/repos/kasuga11/chat-space/git/commits{/sha}","comments_url":"https://api.github.com/repos/kasuga11/chat-space/comments{/number}","issue_comment_url":"https://api.github.com/repos/kasuga11/chat-space/issues/comments{/number}","contents_url":"https://api.github.com/repos/kasuga11/chat-space/contents/{+path}","compare_url":"https://api.github.com/repos/kasuga11/chat-space/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kasuga11/chat-space/merges","archive_url":"https://api.github.com/repos/kasuga11/chat-space/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kasuga11/chat-space/downloads","issues_url":"https://api.github.com/repos/kasuga11/chat-space/issues{/number}","pulls_url":"https://api.github.com/repos/kasuga11/chat-space/pulls{/number}","milestones_url":"https://api.github.com/repos/kasuga11/chat-space/milestones{/number}","notifications_url":"https://api.github.com/repos/kasuga11/chat-space/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kasuga11/chat-space/labels{/name}","releases_url":"https://api.github.com/repos/kasuga11/chat-space/releases{/id}","deployments_url":"https://api.github.com/repos/kasuga11/chat-space/deployments","created_at":"2017-11-27T05:05:06Z","updated_at":"2017-11-27T05:38:47Z","pushed_at":"2017-11-28T04:22:27Z","git_url":"git://github.com/kasuga11/chat-space.git","ssh_url":"git@github.com:kasuga11/chat-space.git","clone_url":"https://github.com/kasuga11/chat-space.git","svn_url":"https://github.com/kasuga11/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,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"kasuga11:master","ref":"master","sha":"ff7c5da19db4265c6bf272f164a7a7d2b32148d7","user":{"login":"kasuga11","id":33624231,"avatar_url":"https://avatars1.githubusercontent.com/u/33624231?v=4","gravatar_id":"","url":"https://api.github.com/users/kasuga11","html_url":"https://github.com/kasuga11","followers_url":"https://api.github.com/users/kasuga11/followers","following_url":"https://api.github.com/users/kasuga11/following{/other_user}","gists_url":"https://api.github.com/users/kasuga11/gists{/gist_id}","starred_url":"https://api.github.com/users/kasuga11/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kasuga11/subscriptions","organizations_url":"https://api.github.com/users/kasuga11/orgs","repos_url":"https://api.github.com/users/kasuga11/repos","events_url":"https://api.github.com/users/kasuga11/events{/privacy}","received_events_url":"https://api.github.com/users/kasuga11/received_events","type":"User","site_admin":false},"repo":{"id":112149788,"name":"chat-space","full_name":"kasuga11/chat-space","owner":{"login":"kasuga11","id":33624231,"avatar_url":"https://avatars1.githubusercontent.com/u/33624231?v=4","gravatar_id":"","url":"https://api.github.com/users/kasuga11","html_url":"https://github.com/kasuga11","followers_url":"https://api.github.com/users/kasuga11/followers","following_url":"https://api.github.com/users/kasuga11/following{/other_user}","gists_url":"https://api.github.com/users/kasuga11/gists{/gist_id}","starred_url":"https://api.github.com/users/kasuga11/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kasuga11/subscriptions","organizations_url":"https://api.github.com/users/kasuga11/orgs","repos_url":"https://api.github.com/users/kasuga11/repos","events_url":"https://api.github.com/users/kasuga11/events{/privacy}","received_events_url":"https://api.github.com/users/kasuga11/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kasuga11/chat-space","description":null,"fork":false,"url":"https://api.github.com/repos/kasuga11/chat-space","forks_url":"https://api.github.com/repos/kasuga11/chat-space/forks","keys_url":"https://api.github.com/repos/kasuga11/chat-space/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kasuga11/chat-space/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kasuga11/chat-space/teams","hooks_url":"https://api.github.com/repos/kasuga11/chat-space/hooks","issue_events_url":"https://api.github.com/repos/kasuga11/chat-space/issues/events{/number}","events_url":"https://api.github.com/repos/kasuga11/chat-space/events","assignees_url":"https://api.github.com/repos/kasuga11/chat-space/assignees{/user}","branches_url":"https://api.github.com/repos/kasuga11/chat-space/branches{/branch}","tags_url":"https://api.github.com/repos/kasuga11/chat-space/tags","blobs_url":"https://api.github.com/repos/kasuga11/chat-space/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kasuga11/chat-space/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kasuga11/chat-space/git/refs{/sha}","trees_url":"https://api.github.com/repos/kasuga11/chat-space/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kasuga11/chat-space/statuses/{sha}","languages_url":"https://api.github.com/repos/kasuga11/chat-space/languages","stargazers_url":"https://api.github.com/repos/kasuga11/chat-space/stargazers","contributors_url":"https://api.github.com/repos/kasuga11/chat-space/contributors","subscribers_url":"https://api.github.com/repos/kasuga11/chat-space/subscribers","subscription_url":"https://api.github.com/repos/kasuga11/chat-space/subscription","commits_url":"https://api.github.com/repos/kasuga11/chat-space/commits{/sha}","git_commits_url":"https://api.github.com/repos/kasuga11/chat-space/git/commits{/sha}","comments_url":"https://api.github.com/repos/kasuga11/chat-space/comments{/number}","issue_comment_url":"https://api.github.com/repos/kasuga11/chat-space/issues/comments{/number}","contents_url":"https://api.github.com/repos/kasuga11/chat-space/contents/{+path}","compare_url":"https://api.github.com/repos/kasuga11/chat-space/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kasuga11/chat-space/merges","archive_url":"https://api.github.com/repos/kasuga11/chat-space/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kasuga11/chat-space/downloads","issues_url":"https://api.github.com/repos/kasuga11/chat-space/issues{/number}","pulls_url":"https://api.github.com/repos/kasuga11/chat-space/pulls{/number}","milestones_url":"https://api.github.com/repos/kasuga11/chat-space/milestones{/number}","notifications_url":"https://api.github.com/repos/kasuga11/chat-space/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kasuga11/chat-space/labels{/name}","releases_url":"https://api.github.com/repos/kasuga11/chat-space/releases{/id}","deployments_url":"https://api.github.com/repos/kasuga11/chat-space/deployments","created_at":"2017-11-27T05:05:06Z","updated_at":"2017-11-27T05:38:47Z","pushed_at":"2017-11-28T04:22:27Z","git_url":"git://github.com/kasuga11/chat-space.git","ssh_url":"git@github.com:kasuga11/chat-space.git","clone_url":"https://github.com/kasuga11/chat-space.git","svn_url":"https://github.com/kasuga11/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,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/kasuga11/chat-space/pulls/1"},"html":{"href":"https://github.com/kasuga11/chat-space/pull/1"},"issue":{"href":"https://api.github.com/repos/kasuga11/chat-space/issues/1"},"comments":{"href":"https://api.github.com/repos/kasuga11/chat-space/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/kasuga11/chat-space/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/kasuga11/chat-space/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/kasuga11/chat-space/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/kasuga11/chat-space/statuses/9181e53952eab589ab065c231a9e73afeac2296b"}},"author_association":"OWNER"}}
{"actor":{"display_login":"TOMARUMARU"}}