{"action":"created","comment":{"url":"https://api.github.com/repos/Tacotechp/chat-space/pulls/comments/208462723","pull_request_review_id":144274402,"id":208462723,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwODQ2MjcyMw==","diff_hunk":"@@ -1,24 +1,57 @@\n-# README\n+# DB設計\n \n-This README would normally document whatever steps are necessary to get the\n-application up and running.\n+## membersテーブル\n \n-Things you may want to cover:\n+|Column|Type|Options|\n+|------|----|-------|\n+|user_id |integer|null: false, foreign_key: true|\n+|group_id|integer|null: false, foreign_key: true|\n \n-* Ruby version\n+### Association\n+- belongs_to :group\n+- belongs_to :user\n \n-* System dependencies\n \n-* Configuration\n \n-* Database creation\n \n-* Database initialization\n+## groupsテーブル\n \n-* How to run the test suite\n+|Column|Type|Options|\n+|------|----|-------|\n+|name      |text   |null: false|\n+|user_id   |integer|null: false, foreign_key: true|\n+|message|text      |null: false|","path":"README.md","position":33,"original_position":33,"commit_id":"bb76e1b19f217e35a9711fcb15053a064c26dd44","original_commit_id":"bb76e1b19f217e35a9711fcb15053a064c26dd44","user":{"login":"jonah18909","id":32353359,"node_id":"MDQ6VXNlcjMyMzUzMzU5","avatar_url":"https://avatars1.githubusercontent.com/u/32353359?v=4","gravatar_id":"","url":"https://api.github.com/users/jonah18909","html_url":"https://github.com/jonah18909","followers_url":"https://api.github.com/users/jonah18909/followers","following_url":"https://api.github.com/users/jonah18909/following{/other_user}","gists_url":"https://api.github.com/users/jonah18909/gists{/gist_id}","starred_url":"https://api.github.com/users/jonah18909/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonah18909/subscriptions","organizations_url":"https://api.github.com/users/jonah18909/orgs","repos_url":"https://api.github.com/users/jonah18909/repos","events_url":"https://api.github.com/users/jonah18909/events{/privacy}","received_events_url":"https://api.github.com/users/jonah18909/received_events","type":"User","site_admin":false},"body":"アソシエーションを組んでいるので、messageは不要かと思います！","created_at":"2018-08-08T05:52:16Z","updated_at":"2018-08-08T05:52:35Z","html_url":"https://github.com/Tacotechp/chat-space/pull/1#discussion_r208462723","pull_request_url":"https://api.github.com/repos/Tacotechp/chat-space/pulls/1","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/Tacotechp/chat-space/pulls/comments/208462723"},"html":{"href":"https://github.com/Tacotechp/chat-space/pull/1#discussion_r208462723"},"pull_request":{"href":"https://api.github.com/repos/Tacotechp/chat-space/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/Tacotechp/chat-space/pulls/1","id":206685803,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA2Njg1ODAz","html_url":"https://github.com/Tacotechp/chat-space/pull/1","diff_url":"https://github.com/Tacotechp/chat-space/pull/1.diff","patch_url":"https://github.com/Tacotechp/chat-space/pull/1.patch","issue_url":"https://api.github.com/repos/Tacotechp/chat-space/issues/1","number":1,"state":"open","locked":false,"title":"ChatSpaceのDB設計","user":{"login":"Tacotechp","id":40135490,"node_id":"MDQ6VXNlcjQwMTM1NDkw","avatar_url":"https://avatars3.githubusercontent.com/u/40135490?v=4","gravatar_id":"","url":"https://api.github.com/users/Tacotechp","html_url":"https://github.com/Tacotechp","followers_url":"https://api.github.com/users/Tacotechp/followers","following_url":"https://api.github.com/users/Tacotechp/following{/other_user}","gists_url":"https://api.github.com/users/Tacotechp/gists{/gist_id}","starred_url":"https://api.github.com/users/Tacotechp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tacotechp/subscriptions","organizations_url":"https://api.github.com/users/Tacotechp/orgs","repos_url":"https://api.github.com/users/Tacotechp/repos","events_url":"https://api.github.com/users/Tacotechp/events{/privacy}","received_events_url":"https://api.github.com/users/Tacotechp/received_events","type":"User","site_admin":false},"body":"# WAHT\nChatSpaceのデータベースを設計する。\n\n# WHY\nChatSpaceで使用するデータベースの実装に必要なため。","created_at":"2018-08-07T12:46:34Z","updated_at":"2018-08-08T05:52:35Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d2acb42b92401fa4f349735d7e61289cacb69a63","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/Tacotechp/chat-space/pulls/1/commits","review_comments_url":"https://api.github.com/repos/Tacotechp/chat-space/pulls/1/comments","review_comment_url":"https://api.github.com/repos/Tacotechp/chat-space/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Tacotechp/chat-space/issues/1/comments","statuses_url":"https://api.github.com/repos/Tacotechp/chat-space/statuses/bb76e1b19f217e35a9711fcb15053a064c26dd44","head":{"label":"Tacotechp:edit-readme-for-DB-setting","ref":"edit-readme-for-DB-setting","sha":"bb76e1b19f217e35a9711fcb15053a064c26dd44","user":{"login":"Tacotechp","id":40135490,"node_id":"MDQ6VXNlcjQwMTM1NDkw","avatar_url":"https://avatars3.githubusercontent.com/u/40135490?v=4","gravatar_id":"","url":"https://api.github.com/users/Tacotechp","html_url":"https://github.com/Tacotechp","followers_url":"https://api.github.com/users/Tacotechp/followers","following_url":"https://api.github.com/users/Tacotechp/following{/other_user}","gists_url":"https://api.github.com/users/Tacotechp/gists{/gist_id}","starred_url":"https://api.github.com/users/Tacotechp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tacotechp/subscriptions","organizations_url":"https://api.github.com/users/Tacotechp/orgs","repos_url":"https://api.github.com/users/Tacotechp/repos","events_url":"https://api.github.com/users/Tacotechp/events{/privacy}","received_events_url":"https://api.github.com/users/Tacotechp/received_events","type":"User","site_admin":false},"repo":{"id":142742425,"node_id":"MDEwOlJlcG9zaXRvcnkxNDI3NDI0MjU=","name":"chat-space","full_name":"Tacotechp/chat-space","owner":{"login":"Tacotechp","id":40135490,"node_id":"MDQ6VXNlcjQwMTM1NDkw","avatar_url":"https://avatars3.githubusercontent.com/u/40135490?v=4","gravatar_id":"","url":"https://api.github.com/users/Tacotechp","html_url":"https://github.com/Tacotechp","followers_url":"https://api.github.com/users/Tacotechp/followers","following_url":"https://api.github.com/users/Tacotechp/following{/other_user}","gists_url":"https://api.github.com/users/Tacotechp/gists{/gist_id}","starred_url":"https://api.github.com/users/Tacotechp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tacotechp/subscriptions","organizations_url":"https://api.github.com/users/Tacotechp/orgs","repos_url":"https://api.github.com/users/Tacotechp/repos","events_url":"https://api.github.com/users/Tacotechp/events{/privacy}","received_events_url":"https://api.github.com/users/Tacotechp/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Tacotechp/chat-space","description":null,"fork":false,"url":"https://api.github.com/repos/Tacotechp/chat-space","forks_url":"https://api.github.com/repos/Tacotechp/chat-space/forks","keys_url":"https://api.github.com/repos/Tacotechp/chat-space/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Tacotechp/chat-space/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Tacotechp/chat-space/teams","hooks_url":"https://api.github.com/repos/Tacotechp/chat-space/hooks","issue_events_url":"https://api.github.com/repos/Tacotechp/chat-space/issues/events{/number}","events_url":"https://api.github.com/repos/Tacotechp/chat-space/events","assignees_url":"https://api.github.com/repos/Tacotechp/chat-space/assignees{/user}","branches_url":"https://api.github.com/repos/Tacotechp/chat-space/branches{/branch}","tags_url":"https://api.github.com/repos/Tacotechp/chat-space/tags","blobs_url":"https://api.github.com/repos/Tacotechp/chat-space/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Tacotechp/chat-space/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Tacotechp/chat-space/git/refs{/sha}","trees_url":"https://api.github.com/repos/Tacotechp/chat-space/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Tacotechp/chat-space/statuses/{sha}","languages_url":"https://api.github.com/repos/Tacotechp/chat-space/languages","stargazers_url":"https://api.github.com/repos/Tacotechp/chat-space/stargazers","contributors_url":"https://api.github.com/repos/Tacotechp/chat-space/contributors","subscribers_url":"https://api.github.com/repos/Tacotechp/chat-space/subscribers","subscription_url":"https://api.github.com/repos/Tacotechp/chat-space/subscription","commits_url":"https://api.github.com/repos/Tacotechp/chat-space/commits{/sha}","git_commits_url":"https://api.github.com/repos/Tacotechp/chat-space/git/commits{/sha}","comments_url":"https://api.github.com/repos/Tacotechp/chat-space/comments{/number}","issue_comment_url":"https://api.github.com/repos/Tacotechp/chat-space/issues/comments{/number}","contents_url":"https://api.github.com/repos/Tacotechp/chat-space/contents/{+path}","compare_url":"https://api.github.com/repos/Tacotechp/chat-space/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Tacotechp/chat-space/merges","archive_url":"https://api.github.com/repos/Tacotechp/chat-space/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Tacotechp/chat-space/downloads","issues_url":"https://api.github.com/repos/Tacotechp/chat-space/issues{/number}","pulls_url":"https://api.github.com/repos/Tacotechp/chat-space/pulls{/number}","milestones_url":"https://api.github.com/repos/Tacotechp/chat-space/milestones{/number}","notifications_url":"https://api.github.com/repos/Tacotechp/chat-space/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Tacotechp/chat-space/labels{/name}","releases_url":"https://api.github.com/repos/Tacotechp/chat-space/releases{/id}","deployments_url":"https://api.github.com/repos/Tacotechp/chat-space/deployments","created_at":"2018-07-29T08:07:32Z","updated_at":"2018-08-01T06:20:40Z","pushed_at":"2018-08-08T05:37:18Z","git_url":"git://github.com/Tacotechp/chat-space.git","ssh_url":"git@github.com:Tacotechp/chat-space.git","clone_url":"https://github.com/Tacotechp/chat-space.git","svn_url":"https://github.com/Tacotechp/chat-space","homepage":null,"size":23,"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":"Tacotechp:master","ref":"master","sha":"652f9b7fac9471b2348a35d175eb6d578a243bbf","user":{"login":"Tacotechp","id":40135490,"node_id":"MDQ6VXNlcjQwMTM1NDkw","avatar_url":"https://avatars3.githubusercontent.com/u/40135490?v=4","gravatar_id":"","url":"https://api.github.com/users/Tacotechp","html_url":"https://github.com/Tacotechp","followers_url":"https://api.github.com/users/Tacotechp/followers","following_url":"https://api.github.com/users/Tacotechp/following{/other_user}","gists_url":"https://api.github.com/users/Tacotechp/gists{/gist_id}","starred_url":"https://api.github.com/users/Tacotechp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tacotechp/subscriptions","organizations_url":"https://api.github.com/users/Tacotechp/orgs","repos_url":"https://api.github.com/users/Tacotechp/repos","events_url":"https://api.github.com/users/Tacotechp/events{/privacy}","received_events_url":"https://api.github.com/users/Tacotechp/received_events","type":"User","site_admin":false},"repo":{"id":142742425,"node_id":"MDEwOlJlcG9zaXRvcnkxNDI3NDI0MjU=","name":"chat-space","full_name":"Tacotechp/chat-space","owner":{"login":"Tacotechp","id":40135490,"node_id":"MDQ6VXNlcjQwMTM1NDkw","avatar_url":"https://avatars3.githubusercontent.com/u/40135490?v=4","gravatar_id":"","url":"https://api.github.com/users/Tacotechp","html_url":"https://github.com/Tacotechp","followers_url":"https://api.github.com/users/Tacotechp/followers","following_url":"https://api.github.com/users/Tacotechp/following{/other_user}","gists_url":"https://api.github.com/users/Tacotechp/gists{/gist_id}","starred_url":"https://api.github.com/users/Tacotechp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tacotechp/subscriptions","organizations_url":"https://api.github.com/users/Tacotechp/orgs","repos_url":"https://api.github.com/users/Tacotechp/repos","events_url":"https://api.github.com/users/Tacotechp/events{/privacy}","received_events_url":"https://api.github.com/users/Tacotechp/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Tacotechp/chat-space","description":null,"fork":false,"url":"https://api.github.com/repos/Tacotechp/chat-space","forks_url":"https://api.github.com/repos/Tacotechp/chat-space/forks","keys_url":"https://api.github.com/repos/Tacotechp/chat-space/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Tacotechp/chat-space/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Tacotechp/chat-space/teams","hooks_url":"https://api.github.com/repos/Tacotechp/chat-space/hooks","issue_events_url":"https://api.github.com/repos/Tacotechp/chat-space/issues/events{/number}","events_url":"https://api.github.com/repos/Tacotechp/chat-space/events","assignees_url":"https://api.github.com/repos/Tacotechp/chat-space/assignees{/user}","branches_url":"https://api.github.com/repos/Tacotechp/chat-space/branches{/branch}","tags_url":"https://api.github.com/repos/Tacotechp/chat-space/tags","blobs_url":"https://api.github.com/repos/Tacotechp/chat-space/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Tacotechp/chat-space/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Tacotechp/chat-space/git/refs{/sha}","trees_url":"https://api.github.com/repos/Tacotechp/chat-space/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Tacotechp/chat-space/statuses/{sha}","languages_url":"https://api.github.com/repos/Tacotechp/chat-space/languages","stargazers_url":"https://api.github.com/repos/Tacotechp/chat-space/stargazers","contributors_url":"https://api.github.com/repos/Tacotechp/chat-space/contributors","subscribers_url":"https://api.github.com/repos/Tacotechp/chat-space/subscribers","subscription_url":"https://api.github.com/repos/Tacotechp/chat-space/subscription","commits_url":"https://api.github.com/repos/Tacotechp/chat-space/commits{/sha}","git_commits_url":"https://api.github.com/repos/Tacotechp/chat-space/git/commits{/sha}","comments_url":"https://api.github.com/repos/Tacotechp/chat-space/comments{/number}","issue_comment_url":"https://api.github.com/repos/Tacotechp/chat-space/issues/comments{/number}","contents_url":"https://api.github.com/repos/Tacotechp/chat-space/contents/{+path}","compare_url":"https://api.github.com/repos/Tacotechp/chat-space/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Tacotechp/chat-space/merges","archive_url":"https://api.github.com/repos/Tacotechp/chat-space/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Tacotechp/chat-space/downloads","issues_url":"https://api.github.com/repos/Tacotechp/chat-space/issues{/number}","pulls_url":"https://api.github.com/repos/Tacotechp/chat-space/pulls{/number}","milestones_url":"https://api.github.com/repos/Tacotechp/chat-space/milestones{/number}","notifications_url":"https://api.github.com/repos/Tacotechp/chat-space/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Tacotechp/chat-space/labels{/name}","releases_url":"https://api.github.com/repos/Tacotechp/chat-space/releases{/id}","deployments_url":"https://api.github.com/repos/Tacotechp/chat-space/deployments","created_at":"2018-07-29T08:07:32Z","updated_at":"2018-08-01T06:20:40Z","pushed_at":"2018-08-08T05:37:18Z","git_url":"git://github.com/Tacotechp/chat-space.git","ssh_url":"git@github.com:Tacotechp/chat-space.git","clone_url":"https://github.com/Tacotechp/chat-space.git","svn_url":"https://github.com/Tacotechp/chat-space","homepage":null,"size":23,"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/Tacotechp/chat-space/pulls/1"},"html":{"href":"https://github.com/Tacotechp/chat-space/pull/1"},"issue":{"href":"https://api.github.com/repos/Tacotechp/chat-space/issues/1"},"comments":{"href":"https://api.github.com/repos/Tacotechp/chat-space/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/Tacotechp/chat-space/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/Tacotechp/chat-space/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Tacotechp/chat-space/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/Tacotechp/chat-space/statuses/bb76e1b19f217e35a9711fcb15053a064c26dd44"}},"author_association":"OWNER"}}
{"actor":{"display_login":"jonah18909"}}