{"action":"created","comment":{"url":"https://api.github.com/repos/ryota-tsuno/chat-space/pulls/comments/217298995","pull_request_review_id":154975302,"id":217298995,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxNzI5ODk5NQ==","diff_hunk":"@@ -1,24 +1,39 @@\n # README\n \n-This README would normally document whatever steps are necessary to get the\n-application up and running.\n+## Name\n+- Chatspace\n \n-Things you may want to cover:\n+## membersテーブル\n \n-* Ruby version\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-* System dependencies\n+### Association\n+- belongs_to :group\n+- belongs_to :user\n \n-* Configuration\n+## usersテーブル\n \n-* Database creation\n+|Column|Type|options|\n+|------|----|-------|\n+|user_id|integer|null: false, foreign_key: true|","path":"README.md","position":28,"original_position":28,"commit_id":"974fa21cb255888bf17f8f3bf5d4d84d6670ffb7","original_commit_id":"974fa21cb255888bf17f8f3bf5d4d84d6670ffb7","user":{"login":"kazuwsx","id":34445124,"node_id":"MDQ6VXNlcjM0NDQ1MTI0","avatar_url":"https://avatars3.githubusercontent.com/u/34445124?v=4","gravatar_id":"","url":"https://api.github.com/users/kazuwsx","html_url":"https://github.com/kazuwsx","followers_url":"https://api.github.com/users/kazuwsx/followers","following_url":"https://api.github.com/users/kazuwsx/following{/other_user}","gists_url":"https://api.github.com/users/kazuwsx/gists{/gist_id}","starred_url":"https://api.github.com/users/kazuwsx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kazuwsx/subscriptions","organizations_url":"https://api.github.com/users/kazuwsx/orgs","repos_url":"https://api.github.com/users/kazuwsx/repos","events_url":"https://api.github.com/users/kazuwsx/events{/privacy}","received_events_url":"https://api.github.com/users/kazuwsx/received_events","type":"User","site_admin":false},"body":"これ自分のidを外部キーとして持っているみたいになってるので要らないです。idだとしても要らないので消しましょう！","created_at":"2018-09-13T08:23:40Z","updated_at":"2018-09-13T08:29:31Z","html_url":"https://github.com/ryota-tsuno/chat-space/pull/1#discussion_r217298995","pull_request_url":"https://api.github.com/repos/ryota-tsuno/chat-space/pulls/1","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/ryota-tsuno/chat-space/pulls/comments/217298995"},"html":{"href":"https://github.com/ryota-tsuno/chat-space/pull/1#discussion_r217298995"},"pull_request":{"href":"https://api.github.com/repos/ryota-tsuno/chat-space/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/ryota-tsuno/chat-space/pulls/1","id":215200111,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE1MjAwMTEx","html_url":"https://github.com/ryota-tsuno/chat-space/pull/1","diff_url":"https://github.com/ryota-tsuno/chat-space/pull/1.diff","patch_url":"https://github.com/ryota-tsuno/chat-space/pull/1.patch","issue_url":"https://api.github.com/repos/ryota-tsuno/chat-space/issues/1","number":1,"state":"open","locked":false,"title":"Add_README","user":{"login":"ryota-tsuno","id":42861992,"node_id":"MDQ6VXNlcjQyODYxOTky","avatar_url":"https://avatars1.githubusercontent.com/u/42861992?v=4","gravatar_id":"","url":"https://api.github.com/users/ryota-tsuno","html_url":"https://github.com/ryota-tsuno","followers_url":"https://api.github.com/users/ryota-tsuno/followers","following_url":"https://api.github.com/users/ryota-tsuno/following{/other_user}","gists_url":"https://api.github.com/users/ryota-tsuno/gists{/gist_id}","starred_url":"https://api.github.com/users/ryota-tsuno/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryota-tsuno/subscriptions","organizations_url":"https://api.github.com/users/ryota-tsuno/orgs","repos_url":"https://api.github.com/users/ryota-tsuno/repos","events_url":"https://api.github.com/users/ryota-tsuno/events{/privacy}","received_events_url":"https://api.github.com/users/ryota-tsuno/received_events","type":"User","site_admin":false},"body":"＃WHAT\r\n　READMEにdb設計を記述した\r\n\r\n＃WHY\r\n　アプリケーションの説明に必要だから","created_at":"2018-09-13T08:18:33Z","updated_at":"2018-09-13T08:29:31Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4ecf51775bdf9e0cda9620c0ec86980a79e59de1","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/ryota-tsuno/chat-space/pulls/1/commits","review_comments_url":"https://api.github.com/repos/ryota-tsuno/chat-space/pulls/1/comments","review_comment_url":"https://api.github.com/repos/ryota-tsuno/chat-space/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ryota-tsuno/chat-space/issues/1/comments","statuses_url":"https://api.github.com/repos/ryota-tsuno/chat-space/statuses/974fa21cb255888bf17f8f3bf5d4d84d6670ffb7","head":{"label":"ryota-tsuno:db設計","ref":"db設計","sha":"974fa21cb255888bf17f8f3bf5d4d84d6670ffb7","user":{"login":"ryota-tsuno","id":42861992,"node_id":"MDQ6VXNlcjQyODYxOTky","avatar_url":"https://avatars1.githubusercontent.com/u/42861992?v=4","gravatar_id":"","url":"https://api.github.com/users/ryota-tsuno","html_url":"https://github.com/ryota-tsuno","followers_url":"https://api.github.com/users/ryota-tsuno/followers","following_url":"https://api.github.com/users/ryota-tsuno/following{/other_user}","gists_url":"https://api.github.com/users/ryota-tsuno/gists{/gist_id}","starred_url":"https://api.github.com/users/ryota-tsuno/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryota-tsuno/subscriptions","organizations_url":"https://api.github.com/users/ryota-tsuno/orgs","repos_url":"https://api.github.com/users/ryota-tsuno/repos","events_url":"https://api.github.com/users/ryota-tsuno/events{/privacy}","received_events_url":"https://api.github.com/users/ryota-tsuno/received_events","type":"User","site_admin":false},"repo":{"id":148603083,"node_id":"MDEwOlJlcG9zaXRvcnkxNDg2MDMwODM=","name":"chat-space","full_name":"ryota-tsuno/chat-space","owner":{"login":"ryota-tsuno","id":42861992,"node_id":"MDQ6VXNlcjQyODYxOTky","avatar_url":"https://avatars1.githubusercontent.com/u/42861992?v=4","gravatar_id":"","url":"https://api.github.com/users/ryota-tsuno","html_url":"https://github.com/ryota-tsuno","followers_url":"https://api.github.com/users/ryota-tsuno/followers","following_url":"https://api.github.com/users/ryota-tsuno/following{/other_user}","gists_url":"https://api.github.com/users/ryota-tsuno/gists{/gist_id}","starred_url":"https://api.github.com/users/ryota-tsuno/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryota-tsuno/subscriptions","organizations_url":"https://api.github.com/users/ryota-tsuno/orgs","repos_url":"https://api.github.com/users/ryota-tsuno/repos","events_url":"https://api.github.com/users/ryota-tsuno/events{/privacy}","received_events_url":"https://api.github.com/users/ryota-tsuno/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ryota-tsuno/chat-space","description":null,"fork":false,"url":"https://api.github.com/repos/ryota-tsuno/chat-space","forks_url":"https://api.github.com/repos/ryota-tsuno/chat-space/forks","keys_url":"https://api.github.com/repos/ryota-tsuno/chat-space/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ryota-tsuno/chat-space/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ryota-tsuno/chat-space/teams","hooks_url":"https://api.github.com/repos/ryota-tsuno/chat-space/hooks","issue_events_url":"https://api.github.com/repos/ryota-tsuno/chat-space/issues/events{/number}","events_url":"https://api.github.com/repos/ryota-tsuno/chat-space/events","assignees_url":"https://api.github.com/repos/ryota-tsuno/chat-space/assignees{/user}","branches_url":"https://api.github.com/repos/ryota-tsuno/chat-space/branches{/branch}","tags_url":"https://api.github.com/repos/ryota-tsuno/chat-space/tags","blobs_url":"https://api.github.com/repos/ryota-tsuno/chat-space/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ryota-tsuno/chat-space/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ryota-tsuno/chat-space/git/refs{/sha}","trees_url":"https://api.github.com/repos/ryota-tsuno/chat-space/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ryota-tsuno/chat-space/statuses/{sha}","languages_url":"https://api.github.com/repos/ryota-tsuno/chat-space/languages","stargazers_url":"https://api.github.com/repos/ryota-tsuno/chat-space/stargazers","contributors_url":"https://api.github.com/repos/ryota-tsuno/chat-space/contributors","subscribers_url":"https://api.github.com/repos/ryota-tsuno/chat-space/subscribers","subscription_url":"https://api.github.com/repos/ryota-tsuno/chat-space/subscription","commits_url":"https://api.github.com/repos/ryota-tsuno/chat-space/commits{/sha}","git_commits_url":"https://api.github.com/repos/ryota-tsuno/chat-space/git/commits{/sha}","comments_url":"https://api.github.com/repos/ryota-tsuno/chat-space/comments{/number}","issue_comment_url":"https://api.github.com/repos/ryota-tsuno/chat-space/issues/comments{/number}","contents_url":"https://api.github.com/repos/ryota-tsuno/chat-space/contents/{+path}","compare_url":"https://api.github.com/repos/ryota-tsuno/chat-space/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ryota-tsuno/chat-space/merges","archive_url":"https://api.github.com/repos/ryota-tsuno/chat-space/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ryota-tsuno/chat-space/downloads","issues_url":"https://api.github.com/repos/ryota-tsuno/chat-space/issues{/number}","pulls_url":"https://api.github.com/repos/ryota-tsuno/chat-space/pulls{/number}","milestones_url":"https://api.github.com/repos/ryota-tsuno/chat-space/milestones{/number}","notifications_url":"https://api.github.com/repos/ryota-tsuno/chat-space/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ryota-tsuno/chat-space/labels{/name}","releases_url":"https://api.github.com/repos/ryota-tsuno/chat-space/releases{/id}","deployments_url":"https://api.github.com/repos/ryota-tsuno/chat-space/deployments","created_at":"2018-09-13T07:58:43Z","updated_at":"2018-09-13T08:00:11Z","pushed_at":"2018-09-13T08:18:34Z","git_url":"git://github.com/ryota-tsuno/chat-space.git","ssh_url":"git@github.com:ryota-tsuno/chat-space.git","clone_url":"https://github.com/ryota-tsuno/chat-space.git","svn_url":"https://github.com/ryota-tsuno/chat-space","homepage":null,"size":0,"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":"ryota-tsuno:master","ref":"master","sha":"4941ec463747cec0a84cf828f42abd8cbb456704","user":{"login":"ryota-tsuno","id":42861992,"node_id":"MDQ6VXNlcjQyODYxOTky","avatar_url":"https://avatars1.githubusercontent.com/u/42861992?v=4","gravatar_id":"","url":"https://api.github.com/users/ryota-tsuno","html_url":"https://github.com/ryota-tsuno","followers_url":"https://api.github.com/users/ryota-tsuno/followers","following_url":"https://api.github.com/users/ryota-tsuno/following{/other_user}","gists_url":"https://api.github.com/users/ryota-tsuno/gists{/gist_id}","starred_url":"https://api.github.com/users/ryota-tsuno/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryota-tsuno/subscriptions","organizations_url":"https://api.github.com/users/ryota-tsuno/orgs","repos_url":"https://api.github.com/users/ryota-tsuno/repos","events_url":"https://api.github.com/users/ryota-tsuno/events{/privacy}","received_events_url":"https://api.github.com/users/ryota-tsuno/received_events","type":"User","site_admin":false},"repo":{"id":148603083,"node_id":"MDEwOlJlcG9zaXRvcnkxNDg2MDMwODM=","name":"chat-space","full_name":"ryota-tsuno/chat-space","owner":{"login":"ryota-tsuno","id":42861992,"node_id":"MDQ6VXNlcjQyODYxOTky","avatar_url":"https://avatars1.githubusercontent.com/u/42861992?v=4","gravatar_id":"","url":"https://api.github.com/users/ryota-tsuno","html_url":"https://github.com/ryota-tsuno","followers_url":"https://api.github.com/users/ryota-tsuno/followers","following_url":"https://api.github.com/users/ryota-tsuno/following{/other_user}","gists_url":"https://api.github.com/users/ryota-tsuno/gists{/gist_id}","starred_url":"https://api.github.com/users/ryota-tsuno/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryota-tsuno/subscriptions","organizations_url":"https://api.github.com/users/ryota-tsuno/orgs","repos_url":"https://api.github.com/users/ryota-tsuno/repos","events_url":"https://api.github.com/users/ryota-tsuno/events{/privacy}","received_events_url":"https://api.github.com/users/ryota-tsuno/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ryota-tsuno/chat-space","description":null,"fork":false,"url":"https://api.github.com/repos/ryota-tsuno/chat-space","forks_url":"https://api.github.com/repos/ryota-tsuno/chat-space/forks","keys_url":"https://api.github.com/repos/ryota-tsuno/chat-space/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ryota-tsuno/chat-space/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ryota-tsuno/chat-space/teams","hooks_url":"https://api.github.com/repos/ryota-tsuno/chat-space/hooks","issue_events_url":"https://api.github.com/repos/ryota-tsuno/chat-space/issues/events{/number}","events_url":"https://api.github.com/repos/ryota-tsuno/chat-space/events","assignees_url":"https://api.github.com/repos/ryota-tsuno/chat-space/assignees{/user}","branches_url":"https://api.github.com/repos/ryota-tsuno/chat-space/branches{/branch}","tags_url":"https://api.github.com/repos/ryota-tsuno/chat-space/tags","blobs_url":"https://api.github.com/repos/ryota-tsuno/chat-space/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ryota-tsuno/chat-space/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ryota-tsuno/chat-space/git/refs{/sha}","trees_url":"https://api.github.com/repos/ryota-tsuno/chat-space/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ryota-tsuno/chat-space/statuses/{sha}","languages_url":"https://api.github.com/repos/ryota-tsuno/chat-space/languages","stargazers_url":"https://api.github.com/repos/ryota-tsuno/chat-space/stargazers","contributors_url":"https://api.github.com/repos/ryota-tsuno/chat-space/contributors","subscribers_url":"https://api.github.com/repos/ryota-tsuno/chat-space/subscribers","subscription_url":"https://api.github.com/repos/ryota-tsuno/chat-space/subscription","commits_url":"https://api.github.com/repos/ryota-tsuno/chat-space/commits{/sha}","git_commits_url":"https://api.github.com/repos/ryota-tsuno/chat-space/git/commits{/sha}","comments_url":"https://api.github.com/repos/ryota-tsuno/chat-space/comments{/number}","issue_comment_url":"https://api.github.com/repos/ryota-tsuno/chat-space/issues/comments{/number}","contents_url":"https://api.github.com/repos/ryota-tsuno/chat-space/contents/{+path}","compare_url":"https://api.github.com/repos/ryota-tsuno/chat-space/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ryota-tsuno/chat-space/merges","archive_url":"https://api.github.com/repos/ryota-tsuno/chat-space/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ryota-tsuno/chat-space/downloads","issues_url":"https://api.github.com/repos/ryota-tsuno/chat-space/issues{/number}","pulls_url":"https://api.github.com/repos/ryota-tsuno/chat-space/pulls{/number}","milestones_url":"https://api.github.com/repos/ryota-tsuno/chat-space/milestones{/number}","notifications_url":"https://api.github.com/repos/ryota-tsuno/chat-space/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ryota-tsuno/chat-space/labels{/name}","releases_url":"https://api.github.com/repos/ryota-tsuno/chat-space/releases{/id}","deployments_url":"https://api.github.com/repos/ryota-tsuno/chat-space/deployments","created_at":"2018-09-13T07:58:43Z","updated_at":"2018-09-13T08:00:11Z","pushed_at":"2018-09-13T08:18:34Z","git_url":"git://github.com/ryota-tsuno/chat-space.git","ssh_url":"git@github.com:ryota-tsuno/chat-space.git","clone_url":"https://github.com/ryota-tsuno/chat-space.git","svn_url":"https://github.com/ryota-tsuno/chat-space","homepage":null,"size":0,"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/ryota-tsuno/chat-space/pulls/1"},"html":{"href":"https://github.com/ryota-tsuno/chat-space/pull/1"},"issue":{"href":"https://api.github.com/repos/ryota-tsuno/chat-space/issues/1"},"comments":{"href":"https://api.github.com/repos/ryota-tsuno/chat-space/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/ryota-tsuno/chat-space/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/ryota-tsuno/chat-space/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ryota-tsuno/chat-space/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/ryota-tsuno/chat-space/statuses/974fa21cb255888bf17f8f3bf5d4d84d6670ffb7"}},"author_association":"OWNER"}}
{"actor":{"display_login":"kazuwsx"}}