{"action":"created","comment":{"url":"https://api.github.com/repos/Atsuyoshi-N/ChatSpace/pulls/comments/115394804","pull_request_review_id":36926586,"id":115394804,"diff_hunk":"@@ -1,28 +1,58 @@\n-== README\n+# DB設計\n \n-This README would normally document whatever steps are necessary to get the\n-application up and running.\n+## users table\n \n-Things you may want to cover:\n+|column | Type | Options|\n+|:-:|:-:|:-:|\n+|nickname |string |index を貼る, null: false|\n+|e-mail | string | null: false|\n+|group_id | integer| |\n \n-* Ruby version\n \n-* System dependencies\n+### Association\n \n-* Configuration\n+* has_many :groups, through: members\n \n-* Database creation\n+* has_many :messages\n \n-* Database initialization\n+* has_many :members","path":"README.md","position":27,"original_position":27,"commit_id":"e063a49f892751c8b5ce2b9325e972aee0fe4e1f","original_commit_id":"e063a49f892751c8b5ce2b9325e972aee0fe4e1f","user":{"login":"kenzotakagi","id":23149091,"avatar_url":"https://avatars0.githubusercontent.com/u/23149091?v=3","gravatar_id":"","url":"https://api.github.com/users/kenzotakagi","html_url":"https://github.com/kenzotakagi","followers_url":"https://api.github.com/users/kenzotakagi/followers","following_url":"https://api.github.com/users/kenzotakagi/following{/other_user}","gists_url":"https://api.github.com/users/kenzotakagi/gists{/gist_id}","starred_url":"https://api.github.com/users/kenzotakagi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kenzotakagi/subscriptions","organizations_url":"https://api.github.com/users/kenzotakagi/orgs","repos_url":"https://api.github.com/users/kenzotakagi/repos","events_url":"https://api.github.com/users/kenzotakagi/events{/privacy}","received_events_url":"https://api.github.com/users/kenzotakagi/received_events","type":"User","site_admin":false},"body":"むむ","created_at":"2017-05-09T02:09:44Z","updated_at":"2017-05-09T02:14:26Z","html_url":"https://github.com/Atsuyoshi-N/ChatSpace/pull/2#discussion_r115394804","pull_request_url":"https://api.github.com/repos/Atsuyoshi-N/ChatSpace/pulls/2","_links":{"self":{"href":"https://api.github.com/repos/Atsuyoshi-N/ChatSpace/pulls/comments/115394804"},"html":{"href":"https://github.com/Atsuyoshi-N/ChatSpace/pull/2#discussion_r115394804"},"pull_request":{"href":"https://api.github.com/repos/Atsuyoshi-N/ChatSpace/pulls/2"}}},"pull_request":{"url":"https://api.github.com/repos/Atsuyoshi-N/ChatSpace/pulls/2","id":119417921,"html_url":"https://github.com/Atsuyoshi-N/ChatSpace/pull/2","diff_url":"https://github.com/Atsuyoshi-N/ChatSpace/pull/2.diff","patch_url":"https://github.com/Atsuyoshi-N/ChatSpace/pull/2.patch","issue_url":"https://api.github.com/repos/Atsuyoshi-N/ChatSpace/issues/2","number":2,"state":"open","locked":false,"title":"[What]Data base design   [Why] It's necessary for application","user":{"login":"Atsuyoshi-N","id":26040501,"avatar_url":"https://avatars0.githubusercontent.com/u/26040501?v=3","gravatar_id":"","url":"https://api.github.com/users/Atsuyoshi-N","html_url":"https://github.com/Atsuyoshi-N","followers_url":"https://api.github.com/users/Atsuyoshi-N/followers","following_url":"https://api.github.com/users/Atsuyoshi-N/following{/other_user}","gists_url":"https://api.github.com/users/Atsuyoshi-N/gists{/gist_id}","starred_url":"https://api.github.com/users/Atsuyoshi-N/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Atsuyoshi-N/subscriptions","organizations_url":"https://api.github.com/users/Atsuyoshi-N/orgs","repos_url":"https://api.github.com/users/Atsuyoshi-N/repos","events_url":"https://api.github.com/users/Atsuyoshi-N/events{/privacy}","received_events_url":"https://api.github.com/users/Atsuyoshi-N/received_events","type":"User","site_admin":false},"body":"","created_at":"2017-05-08T10:21:43Z","updated_at":"2017-05-09T02:14:26Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6b1fea1452bbb20da002298fff7308664e1f019a","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/Atsuyoshi-N/ChatSpace/pulls/2/commits","review_comments_url":"https://api.github.com/repos/Atsuyoshi-N/ChatSpace/pulls/2/comments","review_comment_url":"https://api.github.com/repos/Atsuyoshi-N/ChatSpace/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Atsuyoshi-N/ChatSpace/issues/2/comments","statuses_url":"https://api.github.com/repos/Atsuyoshi-N/ChatSpace/statuses/e063a49f892751c8b5ce2b9325e972aee0fe4e1f","head":{"label":"Atsuyoshi-N:DataBaseDesign","ref":"DataBaseDesign","sha":"e063a49f892751c8b5ce2b9325e972aee0fe4e1f","user":{"login":"Atsuyoshi-N","id":26040501,"avatar_url":"https://avatars0.githubusercontent.com/u/26040501?v=3","gravatar_id":"","url":"https://api.github.com/users/Atsuyoshi-N","html_url":"https://github.com/Atsuyoshi-N","followers_url":"https://api.github.com/users/Atsuyoshi-N/followers","following_url":"https://api.github.com/users/Atsuyoshi-N/following{/other_user}","gists_url":"https://api.github.com/users/Atsuyoshi-N/gists{/gist_id}","starred_url":"https://api.github.com/users/Atsuyoshi-N/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Atsuyoshi-N/subscriptions","organizations_url":"https://api.github.com/users/Atsuyoshi-N/orgs","repos_url":"https://api.github.com/users/Atsuyoshi-N/repos","events_url":"https://api.github.com/users/Atsuyoshi-N/events{/privacy}","received_events_url":"https://api.github.com/users/Atsuyoshi-N/received_events","type":"User","site_admin":false},"repo":{"id":87017624,"name":"ChatSpace","full_name":"Atsuyoshi-N/ChatSpace","owner":{"login":"Atsuyoshi-N","id":26040501,"avatar_url":"https://avatars0.githubusercontent.com/u/26040501?v=3","gravatar_id":"","url":"https://api.github.com/users/Atsuyoshi-N","html_url":"https://github.com/Atsuyoshi-N","followers_url":"https://api.github.com/users/Atsuyoshi-N/followers","following_url":"https://api.github.com/users/Atsuyoshi-N/following{/other_user}","gists_url":"https://api.github.com/users/Atsuyoshi-N/gists{/gist_id}","starred_url":"https://api.github.com/users/Atsuyoshi-N/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Atsuyoshi-N/subscriptions","organizations_url":"https://api.github.com/users/Atsuyoshi-N/orgs","repos_url":"https://api.github.com/users/Atsuyoshi-N/repos","events_url":"https://api.github.com/users/Atsuyoshi-N/events{/privacy}","received_events_url":"https://api.github.com/users/Atsuyoshi-N/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Atsuyoshi-N/ChatSpace","description":null,"fork":false,"url":"https://api.github.com/repos/Atsuyoshi-N/ChatSpace","forks_url":"https://api.github.com/repos/Atsuyoshi-N/ChatSpace/forks","keys_url":"https://api.github.com/repos/Atsuyoshi-N/ChatSpace/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Atsuyoshi-N/ChatSpace/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Atsuyoshi-N/ChatSpace/teams","hooks_url":"https://api.github.com/repos/Atsuyoshi-N/ChatSpace/hooks","issue_events_url":"https://api.github.com/repos/Atsuyoshi-N/ChatSpace/issues/events{/number}","events_url":"https://api.github.com/repos/Atsuyoshi-N/ChatSpace/events","assignees_url":"https://api.github.com/repos/Atsuyoshi-N/ChatSpace/assignees{/user}","branches_url":"https://api.github.com/repos/Atsuyoshi-N/ChatSpace/branches{/branch}","tags_url":"https://api.github.com/repos/Atsuyoshi-N/ChatSpace/tags","blobs_url":"https://api.github.com/repos/Atsuyoshi-N/ChatSpace/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Atsuyoshi-N/ChatSpace/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Atsuyoshi-N/ChatSpace/git/refs{/sha}","trees_url":"https://api.github.com/repos/Atsuyoshi-N/ChatSpace/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Atsuyoshi-N/ChatSpace/statuses/{sha}","languages_url":"https://api.github.com/repos/Atsuyoshi-N/ChatSpace/languages","stargazers_url":"https://api.github.com/repos/Atsuyoshi-N/ChatSpace/stargazers","contributors_url":"https://api.github.com/repos/Atsuyoshi-N/ChatSpace/contributors","subscribers_url":"https://api.github.com/repos/Atsuyoshi-N/ChatSpace/subscribers","subscription_url":"https://api.github.com/repos/Atsuyoshi-N/ChatSpace/subscription","commits_url":"https://api.github.com/repos/Atsuyoshi-N/ChatSpace/commits{/sha}","git_commits_url":"https://api.github.com/repos/Atsuyoshi-N/ChatSpace/git/commits{/sha}","comments_url":"https://api.github.com/repos/Atsuyoshi-N/ChatSpace/comments{/number}","issue_comment_url":"https://api.github.com/repos/Atsuyoshi-N/ChatSpace/issues/comments{/number}","contents_url":"https://api.github.com/repos/Atsuyoshi-N/ChatSpace/contents/{+path}","compare_url":"https://api.github.com/repos/Atsuyoshi-N/ChatSpace/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Atsuyoshi-N/ChatSpace/merges","archive_url":"https://api.github.com/repos/Atsuyoshi-N/ChatSpace/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Atsuyoshi-N/ChatSpace/downloads","issues_url":"https://api.github.com/repos/Atsuyoshi-N/ChatSpace/issues{/number}","pulls_url":"https://api.github.com/repos/Atsuyoshi-N/ChatSpace/pulls{/number}","milestones_url":"https://api.github.com/repos/Atsuyoshi-N/ChatSpace/milestones{/number}","notifications_url":"https://api.github.com/repos/Atsuyoshi-N/ChatSpace/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Atsuyoshi-N/ChatSpace/labels{/name}","releases_url":"https://api.github.com/repos/Atsuyoshi-N/ChatSpace/releases{/id}","deployments_url":"https://api.github.com/repos/Atsuyoshi-N/ChatSpace/deployments","created_at":"2017-04-02T21:33:27Z","updated_at":"2017-04-02T22:21:40Z","pushed_at":"2017-05-08T10:21:43Z","git_url":"git://github.com/Atsuyoshi-N/ChatSpace.git","ssh_url":"git@github.com:Atsuyoshi-N/ChatSpace.git","clone_url":"https://github.com/Atsuyoshi-N/ChatSpace.git","svn_url":"https://github.com/Atsuyoshi-N/ChatSpace","homepage":null,"size":29,"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,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"Atsuyoshi-N:master","ref":"master","sha":"ad9335e9409edee82e656b30027f6d581328bf68","user":{"login":"Atsuyoshi-N","id":26040501,"avatar_url":"https://avatars0.githubusercontent.com/u/26040501?v=3","gravatar_id":"","url":"https://api.github.com/users/Atsuyoshi-N","html_url":"https://github.com/Atsuyoshi-N","followers_url":"https://api.github.com/users/Atsuyoshi-N/followers","following_url":"https://api.github.com/users/Atsuyoshi-N/following{/other_user}","gists_url":"https://api.github.com/users/Atsuyoshi-N/gists{/gist_id}","starred_url":"https://api.github.com/users/Atsuyoshi-N/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Atsuyoshi-N/subscriptions","organizations_url":"https://api.github.com/users/Atsuyoshi-N/orgs","repos_url":"https://api.github.com/users/Atsuyoshi-N/repos","events_url":"https://api.github.com/users/Atsuyoshi-N/events{/privacy}","received_events_url":"https://api.github.com/users/Atsuyoshi-N/received_events","type":"User","site_admin":false},"repo":{"id":87017624,"name":"ChatSpace","full_name":"Atsuyoshi-N/ChatSpace","owner":{"login":"Atsuyoshi-N","id":26040501,"avatar_url":"https://avatars0.githubusercontent.com/u/26040501?v=3","gravatar_id":"","url":"https://api.github.com/users/Atsuyoshi-N","html_url":"https://github.com/Atsuyoshi-N","followers_url":"https://api.github.com/users/Atsuyoshi-N/followers","following_url":"https://api.github.com/users/Atsuyoshi-N/following{/other_user}","gists_url":"https://api.github.com/users/Atsuyoshi-N/gists{/gist_id}","starred_url":"https://api.github.com/users/Atsuyoshi-N/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Atsuyoshi-N/subscriptions","organizations_url":"https://api.github.com/users/Atsuyoshi-N/orgs","repos_url":"https://api.github.com/users/Atsuyoshi-N/repos","events_url":"https://api.github.com/users/Atsuyoshi-N/events{/privacy}","received_events_url":"https://api.github.com/users/Atsuyoshi-N/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Atsuyoshi-N/ChatSpace","description":null,"fork":false,"url":"https://api.github.com/repos/Atsuyoshi-N/ChatSpace","forks_url":"https://api.github.com/repos/Atsuyoshi-N/ChatSpace/forks","keys_url":"https://api.github.com/repos/Atsuyoshi-N/ChatSpace/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Atsuyoshi-N/ChatSpace/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Atsuyoshi-N/ChatSpace/teams","hooks_url":"https://api.github.com/repos/Atsuyoshi-N/ChatSpace/hooks","issue_events_url":"https://api.github.com/repos/Atsuyoshi-N/ChatSpace/issues/events{/number}","events_url":"https://api.github.com/repos/Atsuyoshi-N/ChatSpace/events","assignees_url":"https://api.github.com/repos/Atsuyoshi-N/ChatSpace/assignees{/user}","branches_url":"https://api.github.com/repos/Atsuyoshi-N/ChatSpace/branches{/branch}","tags_url":"https://api.github.com/repos/Atsuyoshi-N/ChatSpace/tags","blobs_url":"https://api.github.com/repos/Atsuyoshi-N/ChatSpace/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Atsuyoshi-N/ChatSpace/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Atsuyoshi-N/ChatSpace/git/refs{/sha}","trees_url":"https://api.github.com/repos/Atsuyoshi-N/ChatSpace/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Atsuyoshi-N/ChatSpace/statuses/{sha}","languages_url":"https://api.github.com/repos/Atsuyoshi-N/ChatSpace/languages","stargazers_url":"https://api.github.com/repos/Atsuyoshi-N/ChatSpace/stargazers","contributors_url":"https://api.github.com/repos/Atsuyoshi-N/ChatSpace/contributors","subscribers_url":"https://api.github.com/repos/Atsuyoshi-N/ChatSpace/subscribers","subscription_url":"https://api.github.com/repos/Atsuyoshi-N/ChatSpace/subscription","commits_url":"https://api.github.com/repos/Atsuyoshi-N/ChatSpace/commits{/sha}","git_commits_url":"https://api.github.com/repos/Atsuyoshi-N/ChatSpace/git/commits{/sha}","comments_url":"https://api.github.com/repos/Atsuyoshi-N/ChatSpace/comments{/number}","issue_comment_url":"https://api.github.com/repos/Atsuyoshi-N/ChatSpace/issues/comments{/number}","contents_url":"https://api.github.com/repos/Atsuyoshi-N/ChatSpace/contents/{+path}","compare_url":"https://api.github.com/repos/Atsuyoshi-N/ChatSpace/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Atsuyoshi-N/ChatSpace/merges","archive_url":"https://api.github.com/repos/Atsuyoshi-N/ChatSpace/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Atsuyoshi-N/ChatSpace/downloads","issues_url":"https://api.github.com/repos/Atsuyoshi-N/ChatSpace/issues{/number}","pulls_url":"https://api.github.com/repos/Atsuyoshi-N/ChatSpace/pulls{/number}","milestones_url":"https://api.github.com/repos/Atsuyoshi-N/ChatSpace/milestones{/number}","notifications_url":"https://api.github.com/repos/Atsuyoshi-N/ChatSpace/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Atsuyoshi-N/ChatSpace/labels{/name}","releases_url":"https://api.github.com/repos/Atsuyoshi-N/ChatSpace/releases{/id}","deployments_url":"https://api.github.com/repos/Atsuyoshi-N/ChatSpace/deployments","created_at":"2017-04-02T21:33:27Z","updated_at":"2017-04-02T22:21:40Z","pushed_at":"2017-05-08T10:21:43Z","git_url":"git://github.com/Atsuyoshi-N/ChatSpace.git","ssh_url":"git@github.com:Atsuyoshi-N/ChatSpace.git","clone_url":"https://github.com/Atsuyoshi-N/ChatSpace.git","svn_url":"https://github.com/Atsuyoshi-N/ChatSpace","homepage":null,"size":29,"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,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Atsuyoshi-N/ChatSpace/pulls/2"},"html":{"href":"https://github.com/Atsuyoshi-N/ChatSpace/pull/2"},"issue":{"href":"https://api.github.com/repos/Atsuyoshi-N/ChatSpace/issues/2"},"comments":{"href":"https://api.github.com/repos/Atsuyoshi-N/ChatSpace/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/Atsuyoshi-N/ChatSpace/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/Atsuyoshi-N/ChatSpace/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Atsuyoshi-N/ChatSpace/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/Atsuyoshi-N/ChatSpace/statuses/e063a49f892751c8b5ce2b9325e972aee0fe4e1f"}}}}
{"actor":{"display_login":"kenzotakagi"}}