{"action":"created","comment":{"url":"https://api.github.com/repos/kogezakanag/chat-space/pulls/comments/109394488","pull_request_review_id":30491961,"id":109394488,"diff_hunk":"@@ -0,0 +1,10 @@\n+class CreateGroups < ActiveRecord::Migration[5.0]\n+  def change\n+    create_table :groups do |t|\n+      t.text :name, null: :false\n+      t.reference :member_id, foreign_key: true\n+      t.timestamps null: :false\n+      t.index :member_id","path":"db/migrate/20170403105146_create_groups.rb","position":7,"original_position":7,"commit_id":"3281c575f750705b7acf344bc9974707748d8c0d","original_commit_id":"3281c575f750705b7acf344bc9974707748d8c0d","user":{"login":"kenchan0503","id":15911121,"avatar_url":"https://avatars2.githubusercontent.com/u/15911121?v=3","gravatar_id":"","url":"https://api.github.com/users/kenchan0503","html_url":"https://github.com/kenchan0503","followers_url":"https://api.github.com/users/kenchan0503/followers","following_url":"https://api.github.com/users/kenchan0503/following{/other_user}","gists_url":"https://api.github.com/users/kenchan0503/gists{/gist_id}","starred_url":"https://api.github.com/users/kenchan0503/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kenchan0503/subscriptions","organizations_url":"https://api.github.com/users/kenchan0503/orgs","repos_url":"https://api.github.com/users/kenchan0503/repos","events_url":"https://api.github.com/users/kenchan0503/events{/privacy}","received_events_url":"https://api.github.com/users/kenchan0503/received_events","type":"User","site_admin":false},"body":"また、indexもこの１行で書くことが可能なのでそちらもお願いいたします","created_at":"2017-04-03T11:30:01Z","updated_at":"2017-04-03T11:30:03Z","html_url":"https://github.com/kogezakanag/chat-space/pull/15#discussion_r109394488","pull_request_url":"https://api.github.com/repos/kogezakanag/chat-space/pulls/15","_links":{"self":{"href":"https://api.github.com/repos/kogezakanag/chat-space/pulls/comments/109394488"},"html":{"href":"https://github.com/kogezakanag/chat-space/pull/15#discussion_r109394488"},"pull_request":{"href":"https://api.github.com/repos/kogezakanag/chat-space/pulls/15"}}},"pull_request":{"url":"https://api.github.com/repos/kogezakanag/chat-space/pulls/15","id":113904748,"html_url":"https://github.com/kogezakanag/chat-space/pull/15","diff_url":"https://github.com/kogezakanag/chat-space/pull/15.diff","patch_url":"https://github.com/kogezakanag/chat-space/pull/15.patch","issue_url":"https://api.github.com/repos/kogezakanag/chat-space/issues/15","number":15,"state":"open","locked":false,"title":"グループのモデル、コントローラの作成","user":{"login":"kogezakanag","id":26671533,"avatar_url":"https://avatars2.githubusercontent.com/u/26671533?v=3","gravatar_id":"","url":"https://api.github.com/users/kogezakanag","html_url":"https://github.com/kogezakanag","followers_url":"https://api.github.com/users/kogezakanag/followers","following_url":"https://api.github.com/users/kogezakanag/following{/other_user}","gists_url":"https://api.github.com/users/kogezakanag/gists{/gist_id}","starred_url":"https://api.github.com/users/kogezakanag/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kogezakanag/subscriptions","organizations_url":"https://api.github.com/users/kogezakanag/orgs","repos_url":"https://api.github.com/users/kogezakanag/repos","events_url":"https://api.github.com/users/kogezakanag/events{/privacy}","received_events_url":"https://api.github.com/users/kogezakanag/received_events","type":"User","site_admin":false},"body":"# WHAT\nグループのモデル、コントローラの作成 \n# WHY\nこれから機能を追加していく際、土台となるグループのモデルとコントローラは必ず必要になるため","created_at":"2017-04-03T10:59:33Z","updated_at":"2017-04-03T11:30:03Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f867377134c42aa045341db4ac81e795688e355c","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/kogezakanag/chat-space/pulls/15/commits","review_comments_url":"https://api.github.com/repos/kogezakanag/chat-space/pulls/15/comments","review_comment_url":"https://api.github.com/repos/kogezakanag/chat-space/pulls/comments{/number}","comments_url":"https://api.github.com/repos/kogezakanag/chat-space/issues/15/comments","statuses_url":"https://api.github.com/repos/kogezakanag/chat-space/statuses/3281c575f750705b7acf344bc9974707748d8c0d","head":{"label":"kogezakanag:create-group's-model-and-controller","ref":"create-group's-model-and-controller","sha":"3281c575f750705b7acf344bc9974707748d8c0d","user":{"login":"kogezakanag","id":26671533,"avatar_url":"https://avatars2.githubusercontent.com/u/26671533?v=3","gravatar_id":"","url":"https://api.github.com/users/kogezakanag","html_url":"https://github.com/kogezakanag","followers_url":"https://api.github.com/users/kogezakanag/followers","following_url":"https://api.github.com/users/kogezakanag/following{/other_user}","gists_url":"https://api.github.com/users/kogezakanag/gists{/gist_id}","starred_url":"https://api.github.com/users/kogezakanag/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kogezakanag/subscriptions","organizations_url":"https://api.github.com/users/kogezakanag/orgs","repos_url":"https://api.github.com/users/kogezakanag/repos","events_url":"https://api.github.com/users/kogezakanag/events{/privacy}","received_events_url":"https://api.github.com/users/kogezakanag/received_events","type":"User","site_admin":false},"repo":{"id":86417081,"name":"chat-space","full_name":"kogezakanag/chat-space","owner":{"login":"kogezakanag","id":26671533,"avatar_url":"https://avatars2.githubusercontent.com/u/26671533?v=3","gravatar_id":"","url":"https://api.github.com/users/kogezakanag","html_url":"https://github.com/kogezakanag","followers_url":"https://api.github.com/users/kogezakanag/followers","following_url":"https://api.github.com/users/kogezakanag/following{/other_user}","gists_url":"https://api.github.com/users/kogezakanag/gists{/gist_id}","starred_url":"https://api.github.com/users/kogezakanag/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kogezakanag/subscriptions","organizations_url":"https://api.github.com/users/kogezakanag/orgs","repos_url":"https://api.github.com/users/kogezakanag/repos","events_url":"https://api.github.com/users/kogezakanag/events{/privacy}","received_events_url":"https://api.github.com/users/kogezakanag/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kogezakanag/chat-space","description":null,"fork":false,"url":"https://api.github.com/repos/kogezakanag/chat-space","forks_url":"https://api.github.com/repos/kogezakanag/chat-space/forks","keys_url":"https://api.github.com/repos/kogezakanag/chat-space/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kogezakanag/chat-space/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kogezakanag/chat-space/teams","hooks_url":"https://api.github.com/repos/kogezakanag/chat-space/hooks","issue_events_url":"https://api.github.com/repos/kogezakanag/chat-space/issues/events{/number}","events_url":"https://api.github.com/repos/kogezakanag/chat-space/events","assignees_url":"https://api.github.com/repos/kogezakanag/chat-space/assignees{/user}","branches_url":"https://api.github.com/repos/kogezakanag/chat-space/branches{/branch}","tags_url":"https://api.github.com/repos/kogezakanag/chat-space/tags","blobs_url":"https://api.github.com/repos/kogezakanag/chat-space/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kogezakanag/chat-space/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kogezakanag/chat-space/git/refs{/sha}","trees_url":"https://api.github.com/repos/kogezakanag/chat-space/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kogezakanag/chat-space/statuses/{sha}","languages_url":"https://api.github.com/repos/kogezakanag/chat-space/languages","stargazers_url":"https://api.github.com/repos/kogezakanag/chat-space/stargazers","contributors_url":"https://api.github.com/repos/kogezakanag/chat-space/contributors","subscribers_url":"https://api.github.com/repos/kogezakanag/chat-space/subscribers","subscription_url":"https://api.github.com/repos/kogezakanag/chat-space/subscription","commits_url":"https://api.github.com/repos/kogezakanag/chat-space/commits{/sha}","git_commits_url":"https://api.github.com/repos/kogezakanag/chat-space/git/commits{/sha}","comments_url":"https://api.github.com/repos/kogezakanag/chat-space/comments{/number}","issue_comment_url":"https://api.github.com/repos/kogezakanag/chat-space/issues/comments{/number}","contents_url":"https://api.github.com/repos/kogezakanag/chat-space/contents/{+path}","compare_url":"https://api.github.com/repos/kogezakanag/chat-space/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kogezakanag/chat-space/merges","archive_url":"https://api.github.com/repos/kogezakanag/chat-space/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kogezakanag/chat-space/downloads","issues_url":"https://api.github.com/repos/kogezakanag/chat-space/issues{/number}","pulls_url":"https://api.github.com/repos/kogezakanag/chat-space/pulls{/number}","milestones_url":"https://api.github.com/repos/kogezakanag/chat-space/milestones{/number}","notifications_url":"https://api.github.com/repos/kogezakanag/chat-space/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kogezakanag/chat-space/labels{/name}","releases_url":"https://api.github.com/repos/kogezakanag/chat-space/releases{/id}","deployments_url":"https://api.github.com/repos/kogezakanag/chat-space/deployments","created_at":"2017-03-28T05:05:39Z","updated_at":"2017-03-28T05:05:47Z","pushed_at":"2017-04-03T11:27:55Z","git_url":"git://github.com/kogezakanag/chat-space.git","ssh_url":"git@github.com:kogezakanag/chat-space.git","clone_url":"https://github.com/kogezakanag/chat-space.git","svn_url":"https://github.com/kogezakanag/chat-space","homepage":null,"size":94,"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":"kogezakanag:master","ref":"master","sha":"184aff6fe240df70bc2bbba81f9e3cce887bf892","user":{"login":"kogezakanag","id":26671533,"avatar_url":"https://avatars2.githubusercontent.com/u/26671533?v=3","gravatar_id":"","url":"https://api.github.com/users/kogezakanag","html_url":"https://github.com/kogezakanag","followers_url":"https://api.github.com/users/kogezakanag/followers","following_url":"https://api.github.com/users/kogezakanag/following{/other_user}","gists_url":"https://api.github.com/users/kogezakanag/gists{/gist_id}","starred_url":"https://api.github.com/users/kogezakanag/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kogezakanag/subscriptions","organizations_url":"https://api.github.com/users/kogezakanag/orgs","repos_url":"https://api.github.com/users/kogezakanag/repos","events_url":"https://api.github.com/users/kogezakanag/events{/privacy}","received_events_url":"https://api.github.com/users/kogezakanag/received_events","type":"User","site_admin":false},"repo":{"id":86417081,"name":"chat-space","full_name":"kogezakanag/chat-space","owner":{"login":"kogezakanag","id":26671533,"avatar_url":"https://avatars2.githubusercontent.com/u/26671533?v=3","gravatar_id":"","url":"https://api.github.com/users/kogezakanag","html_url":"https://github.com/kogezakanag","followers_url":"https://api.github.com/users/kogezakanag/followers","following_url":"https://api.github.com/users/kogezakanag/following{/other_user}","gists_url":"https://api.github.com/users/kogezakanag/gists{/gist_id}","starred_url":"https://api.github.com/users/kogezakanag/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kogezakanag/subscriptions","organizations_url":"https://api.github.com/users/kogezakanag/orgs","repos_url":"https://api.github.com/users/kogezakanag/repos","events_url":"https://api.github.com/users/kogezakanag/events{/privacy}","received_events_url":"https://api.github.com/users/kogezakanag/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kogezakanag/chat-space","description":null,"fork":false,"url":"https://api.github.com/repos/kogezakanag/chat-space","forks_url":"https://api.github.com/repos/kogezakanag/chat-space/forks","keys_url":"https://api.github.com/repos/kogezakanag/chat-space/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kogezakanag/chat-space/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kogezakanag/chat-space/teams","hooks_url":"https://api.github.com/repos/kogezakanag/chat-space/hooks","issue_events_url":"https://api.github.com/repos/kogezakanag/chat-space/issues/events{/number}","events_url":"https://api.github.com/repos/kogezakanag/chat-space/events","assignees_url":"https://api.github.com/repos/kogezakanag/chat-space/assignees{/user}","branches_url":"https://api.github.com/repos/kogezakanag/chat-space/branches{/branch}","tags_url":"https://api.github.com/repos/kogezakanag/chat-space/tags","blobs_url":"https://api.github.com/repos/kogezakanag/chat-space/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kogezakanag/chat-space/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kogezakanag/chat-space/git/refs{/sha}","trees_url":"https://api.github.com/repos/kogezakanag/chat-space/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kogezakanag/chat-space/statuses/{sha}","languages_url":"https://api.github.com/repos/kogezakanag/chat-space/languages","stargazers_url":"https://api.github.com/repos/kogezakanag/chat-space/stargazers","contributors_url":"https://api.github.com/repos/kogezakanag/chat-space/contributors","subscribers_url":"https://api.github.com/repos/kogezakanag/chat-space/subscribers","subscription_url":"https://api.github.com/repos/kogezakanag/chat-space/subscription","commits_url":"https://api.github.com/repos/kogezakanag/chat-space/commits{/sha}","git_commits_url":"https://api.github.com/repos/kogezakanag/chat-space/git/commits{/sha}","comments_url":"https://api.github.com/repos/kogezakanag/chat-space/comments{/number}","issue_comment_url":"https://api.github.com/repos/kogezakanag/chat-space/issues/comments{/number}","contents_url":"https://api.github.com/repos/kogezakanag/chat-space/contents/{+path}","compare_url":"https://api.github.com/repos/kogezakanag/chat-space/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kogezakanag/chat-space/merges","archive_url":"https://api.github.com/repos/kogezakanag/chat-space/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kogezakanag/chat-space/downloads","issues_url":"https://api.github.com/repos/kogezakanag/chat-space/issues{/number}","pulls_url":"https://api.github.com/repos/kogezakanag/chat-space/pulls{/number}","milestones_url":"https://api.github.com/repos/kogezakanag/chat-space/milestones{/number}","notifications_url":"https://api.github.com/repos/kogezakanag/chat-space/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kogezakanag/chat-space/labels{/name}","releases_url":"https://api.github.com/repos/kogezakanag/chat-space/releases{/id}","deployments_url":"https://api.github.com/repos/kogezakanag/chat-space/deployments","created_at":"2017-03-28T05:05:39Z","updated_at":"2017-03-28T05:05:47Z","pushed_at":"2017-04-03T11:27:55Z","git_url":"git://github.com/kogezakanag/chat-space.git","ssh_url":"git@github.com:kogezakanag/chat-space.git","clone_url":"https://github.com/kogezakanag/chat-space.git","svn_url":"https://github.com/kogezakanag/chat-space","homepage":null,"size":94,"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/kogezakanag/chat-space/pulls/15"},"html":{"href":"https://github.com/kogezakanag/chat-space/pull/15"},"issue":{"href":"https://api.github.com/repos/kogezakanag/chat-space/issues/15"},"comments":{"href":"https://api.github.com/repos/kogezakanag/chat-space/issues/15/comments"},"review_comments":{"href":"https://api.github.com/repos/kogezakanag/chat-space/pulls/15/comments"},"review_comment":{"href":"https://api.github.com/repos/kogezakanag/chat-space/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/kogezakanag/chat-space/pulls/15/commits"},"statuses":{"href":"https://api.github.com/repos/kogezakanag/chat-space/statuses/3281c575f750705b7acf344bc9974707748d8c0d"}}}}
{"actor":{"display_login":"kenchan0503"}}