{"action":"created","comment":{"url":"https://api.github.com/repos/ryo-skw/protospace/pulls/comments/83974769","pull_request_review_id":4782598,"id":83974769,"diff_hunk":"@@ -0,0 +1,10 @@\n+class CreateImages < ActiveRecord::Migration\n+  def change\n+    create_table :images do |t|\n+      t.text :url\n+      t.references :role, index: true","path":"db/migrate/20161018062459_create_images.rb","position":5,"original_position":5,"commit_id":"b8416bf62223171d9871ac6f6961af874f830aad","original_commit_id":"b8416bf62223171d9871ac6f6961af874f830aad","user":{"login":"nekoze1210","id":14988862,"avatar_url":"https://avatars.githubusercontent.com/u/14988862?v=3","gravatar_id":"","url":"https://api.github.com/users/nekoze1210","html_url":"https://github.com/nekoze1210","followers_url":"https://api.github.com/users/nekoze1210/followers","following_url":"https://api.github.com/users/nekoze1210/following{/other_user}","gists_url":"https://api.github.com/users/nekoze1210/gists{/gist_id}","starred_url":"https://api.github.com/users/nekoze1210/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nekoze1210/subscriptions","organizations_url":"https://api.github.com/users/nekoze1210/orgs","repos_url":"https://api.github.com/users/nekoze1210/repos","events_url":"https://api.github.com/users/nekoze1210/events{/privacy}","received_events_url":"https://api.github.com/users/nekoze1210/received_events","type":"User","site_admin":false},"body":"roleはreference型じゃないよ！\r\n単純に画像の種類を表示するためのカラムだから、integer型でいいよね？","created_at":"2016-10-18T23:50:04Z","updated_at":"2016-10-18T23:50:41Z","html_url":"https://github.com/ryo-skw/protospace/pull/9#discussion_r83974769","pull_request_url":"https://api.github.com/repos/ryo-skw/protospace/pulls/9","_links":{"self":{"href":"https://api.github.com/repos/ryo-skw/protospace/pulls/comments/83974769"},"html":{"href":"https://github.com/ryo-skw/protospace/pull/9#discussion_r83974769"},"pull_request":{"href":"https://api.github.com/repos/ryo-skw/protospace/pulls/9"}}},"pull_request":{"url":"https://api.github.com/repos/ryo-skw/protospace/pulls/9","id":89521181,"html_url":"https://github.com/ryo-skw/protospace/pull/9","diff_url":"https://github.com/ryo-skw/protospace/pull/9.diff","patch_url":"https://github.com/ryo-skw/protospace/pull/9.patch","issue_url":"https://api.github.com/repos/ryo-skw/protospace/issues/9","number":9,"state":"open","locked":false,"title":"【WIP】Prototype post function","user":{"login":"ryo-skw","id":20150132,"avatar_url":"https://avatars.githubusercontent.com/u/20150132?v=3","gravatar_id":"","url":"https://api.github.com/users/ryo-skw","html_url":"https://github.com/ryo-skw","followers_url":"https://api.github.com/users/ryo-skw/followers","following_url":"https://api.github.com/users/ryo-skw/following{/other_user}","gists_url":"https://api.github.com/users/ryo-skw/gists{/gist_id}","starred_url":"https://api.github.com/users/ryo-skw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryo-skw/subscriptions","organizations_url":"https://api.github.com/users/ryo-skw/orgs","repos_url":"https://api.github.com/users/ryo-skw/repos","events_url":"https://api.github.com/users/ryo-skw/events{/privacy}","received_events_url":"https://api.github.com/users/ryo-skw/received_events","type":"User","site_admin":false},"body":"# WHAT\r\nPrototype post function\r\n# WHY\r\nIn order to put a posting function to protospace","created_at":"2016-10-16T09:45:04Z","updated_at":"2016-10-18T23:50:41Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5ba9bed2d43b3c13db422b5133b447b844fea53e","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/ryo-skw/protospace/pulls/9/commits","review_comments_url":"https://api.github.com/repos/ryo-skw/protospace/pulls/9/comments","review_comment_url":"https://api.github.com/repos/ryo-skw/protospace/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ryo-skw/protospace/issues/9/comments","statuses_url":"https://api.github.com/repos/ryo-skw/protospace/statuses/b8416bf62223171d9871ac6f6961af874f830aad","head":{"label":"ryo-skw:Prototype_post_function","ref":"Prototype_post_function","sha":"b8416bf62223171d9871ac6f6961af874f830aad","user":{"login":"ryo-skw","id":20150132,"avatar_url":"https://avatars.githubusercontent.com/u/20150132?v=3","gravatar_id":"","url":"https://api.github.com/users/ryo-skw","html_url":"https://github.com/ryo-skw","followers_url":"https://api.github.com/users/ryo-skw/followers","following_url":"https://api.github.com/users/ryo-skw/following{/other_user}","gists_url":"https://api.github.com/users/ryo-skw/gists{/gist_id}","starred_url":"https://api.github.com/users/ryo-skw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryo-skw/subscriptions","organizations_url":"https://api.github.com/users/ryo-skw/orgs","repos_url":"https://api.github.com/users/ryo-skw/repos","events_url":"https://api.github.com/users/ryo-skw/events{/privacy}","received_events_url":"https://api.github.com/users/ryo-skw/received_events","type":"User","site_admin":false},"repo":{"id":70336015,"name":"protospace","full_name":"ryo-skw/protospace","owner":{"login":"ryo-skw","id":20150132,"avatar_url":"https://avatars.githubusercontent.com/u/20150132?v=3","gravatar_id":"","url":"https://api.github.com/users/ryo-skw","html_url":"https://github.com/ryo-skw","followers_url":"https://api.github.com/users/ryo-skw/followers","following_url":"https://api.github.com/users/ryo-skw/following{/other_user}","gists_url":"https://api.github.com/users/ryo-skw/gists{/gist_id}","starred_url":"https://api.github.com/users/ryo-skw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryo-skw/subscriptions","organizations_url":"https://api.github.com/users/ryo-skw/orgs","repos_url":"https://api.github.com/users/ryo-skw/repos","events_url":"https://api.github.com/users/ryo-skw/events{/privacy}","received_events_url":"https://api.github.com/users/ryo-skw/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ryo-skw/protospace","description":null,"fork":false,"url":"https://api.github.com/repos/ryo-skw/protospace","forks_url":"https://api.github.com/repos/ryo-skw/protospace/forks","keys_url":"https://api.github.com/repos/ryo-skw/protospace/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ryo-skw/protospace/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ryo-skw/protospace/teams","hooks_url":"https://api.github.com/repos/ryo-skw/protospace/hooks","issue_events_url":"https://api.github.com/repos/ryo-skw/protospace/issues/events{/number}","events_url":"https://api.github.com/repos/ryo-skw/protospace/events","assignees_url":"https://api.github.com/repos/ryo-skw/protospace/assignees{/user}","branches_url":"https://api.github.com/repos/ryo-skw/protospace/branches{/branch}","tags_url":"https://api.github.com/repos/ryo-skw/protospace/tags","blobs_url":"https://api.github.com/repos/ryo-skw/protospace/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ryo-skw/protospace/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ryo-skw/protospace/git/refs{/sha}","trees_url":"https://api.github.com/repos/ryo-skw/protospace/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ryo-skw/protospace/statuses/{sha}","languages_url":"https://api.github.com/repos/ryo-skw/protospace/languages","stargazers_url":"https://api.github.com/repos/ryo-skw/protospace/stargazers","contributors_url":"https://api.github.com/repos/ryo-skw/protospace/contributors","subscribers_url":"https://api.github.com/repos/ryo-skw/protospace/subscribers","subscription_url":"https://api.github.com/repos/ryo-skw/protospace/subscription","commits_url":"https://api.github.com/repos/ryo-skw/protospace/commits{/sha}","git_commits_url":"https://api.github.com/repos/ryo-skw/protospace/git/commits{/sha}","comments_url":"https://api.github.com/repos/ryo-skw/protospace/comments{/number}","issue_comment_url":"https://api.github.com/repos/ryo-skw/protospace/issues/comments{/number}","contents_url":"https://api.github.com/repos/ryo-skw/protospace/contents/{+path}","compare_url":"https://api.github.com/repos/ryo-skw/protospace/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ryo-skw/protospace/merges","archive_url":"https://api.github.com/repos/ryo-skw/protospace/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ryo-skw/protospace/downloads","issues_url":"https://api.github.com/repos/ryo-skw/protospace/issues{/number}","pulls_url":"https://api.github.com/repos/ryo-skw/protospace/pulls{/number}","milestones_url":"https://api.github.com/repos/ryo-skw/protospace/milestones{/number}","notifications_url":"https://api.github.com/repos/ryo-skw/protospace/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ryo-skw/protospace/labels{/name}","releases_url":"https://api.github.com/repos/ryo-skw/protospace/releases{/id}","deployments_url":"https://api.github.com/repos/ryo-skw/protospace/deployments","created_at":"2016-10-08T14:19:56Z","updated_at":"2016-10-08T14:20:28Z","pushed_at":"2016-10-18T16:33:53Z","git_url":"git://github.com/ryo-skw/protospace.git","ssh_url":"git@github.com:ryo-skw/protospace.git","clone_url":"https://github.com/ryo-skw/protospace.git","svn_url":"https://github.com/ryo-skw/protospace","homepage":"","size":574,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":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":"ryo-skw:master","ref":"master","sha":"13d8aabbe9d3b5394293c178e17d61cc5109a3a5","user":{"login":"ryo-skw","id":20150132,"avatar_url":"https://avatars.githubusercontent.com/u/20150132?v=3","gravatar_id":"","url":"https://api.github.com/users/ryo-skw","html_url":"https://github.com/ryo-skw","followers_url":"https://api.github.com/users/ryo-skw/followers","following_url":"https://api.github.com/users/ryo-skw/following{/other_user}","gists_url":"https://api.github.com/users/ryo-skw/gists{/gist_id}","starred_url":"https://api.github.com/users/ryo-skw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryo-skw/subscriptions","organizations_url":"https://api.github.com/users/ryo-skw/orgs","repos_url":"https://api.github.com/users/ryo-skw/repos","events_url":"https://api.github.com/users/ryo-skw/events{/privacy}","received_events_url":"https://api.github.com/users/ryo-skw/received_events","type":"User","site_admin":false},"repo":{"id":70336015,"name":"protospace","full_name":"ryo-skw/protospace","owner":{"login":"ryo-skw","id":20150132,"avatar_url":"https://avatars.githubusercontent.com/u/20150132?v=3","gravatar_id":"","url":"https://api.github.com/users/ryo-skw","html_url":"https://github.com/ryo-skw","followers_url":"https://api.github.com/users/ryo-skw/followers","following_url":"https://api.github.com/users/ryo-skw/following{/other_user}","gists_url":"https://api.github.com/users/ryo-skw/gists{/gist_id}","starred_url":"https://api.github.com/users/ryo-skw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryo-skw/subscriptions","organizations_url":"https://api.github.com/users/ryo-skw/orgs","repos_url":"https://api.github.com/users/ryo-skw/repos","events_url":"https://api.github.com/users/ryo-skw/events{/privacy}","received_events_url":"https://api.github.com/users/ryo-skw/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ryo-skw/protospace","description":null,"fork":false,"url":"https://api.github.com/repos/ryo-skw/protospace","forks_url":"https://api.github.com/repos/ryo-skw/protospace/forks","keys_url":"https://api.github.com/repos/ryo-skw/protospace/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ryo-skw/protospace/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ryo-skw/protospace/teams","hooks_url":"https://api.github.com/repos/ryo-skw/protospace/hooks","issue_events_url":"https://api.github.com/repos/ryo-skw/protospace/issues/events{/number}","events_url":"https://api.github.com/repos/ryo-skw/protospace/events","assignees_url":"https://api.github.com/repos/ryo-skw/protospace/assignees{/user}","branches_url":"https://api.github.com/repos/ryo-skw/protospace/branches{/branch}","tags_url":"https://api.github.com/repos/ryo-skw/protospace/tags","blobs_url":"https://api.github.com/repos/ryo-skw/protospace/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ryo-skw/protospace/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ryo-skw/protospace/git/refs{/sha}","trees_url":"https://api.github.com/repos/ryo-skw/protospace/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ryo-skw/protospace/statuses/{sha}","languages_url":"https://api.github.com/repos/ryo-skw/protospace/languages","stargazers_url":"https://api.github.com/repos/ryo-skw/protospace/stargazers","contributors_url":"https://api.github.com/repos/ryo-skw/protospace/contributors","subscribers_url":"https://api.github.com/repos/ryo-skw/protospace/subscribers","subscription_url":"https://api.github.com/repos/ryo-skw/protospace/subscription","commits_url":"https://api.github.com/repos/ryo-skw/protospace/commits{/sha}","git_commits_url":"https://api.github.com/repos/ryo-skw/protospace/git/commits{/sha}","comments_url":"https://api.github.com/repos/ryo-skw/protospace/comments{/number}","issue_comment_url":"https://api.github.com/repos/ryo-skw/protospace/issues/comments{/number}","contents_url":"https://api.github.com/repos/ryo-skw/protospace/contents/{+path}","compare_url":"https://api.github.com/repos/ryo-skw/protospace/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ryo-skw/protospace/merges","archive_url":"https://api.github.com/repos/ryo-skw/protospace/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ryo-skw/protospace/downloads","issues_url":"https://api.github.com/repos/ryo-skw/protospace/issues{/number}","pulls_url":"https://api.github.com/repos/ryo-skw/protospace/pulls{/number}","milestones_url":"https://api.github.com/repos/ryo-skw/protospace/milestones{/number}","notifications_url":"https://api.github.com/repos/ryo-skw/protospace/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ryo-skw/protospace/labels{/name}","releases_url":"https://api.github.com/repos/ryo-skw/protospace/releases{/id}","deployments_url":"https://api.github.com/repos/ryo-skw/protospace/deployments","created_at":"2016-10-08T14:19:56Z","updated_at":"2016-10-08T14:20:28Z","pushed_at":"2016-10-18T16:33:53Z","git_url":"git://github.com/ryo-skw/protospace.git","ssh_url":"git@github.com:ryo-skw/protospace.git","clone_url":"https://github.com/ryo-skw/protospace.git","svn_url":"https://github.com/ryo-skw/protospace","homepage":"","size":574,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":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/ryo-skw/protospace/pulls/9"},"html":{"href":"https://github.com/ryo-skw/protospace/pull/9"},"issue":{"href":"https://api.github.com/repos/ryo-skw/protospace/issues/9"},"comments":{"href":"https://api.github.com/repos/ryo-skw/protospace/issues/9/comments"},"review_comments":{"href":"https://api.github.com/repos/ryo-skw/protospace/pulls/9/comments"},"review_comment":{"href":"https://api.github.com/repos/ryo-skw/protospace/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ryo-skw/protospace/pulls/9/commits"},"statuses":{"href":"https://api.github.com/repos/ryo-skw/protospace/statuses/b8416bf62223171d9871ac6f6961af874f830aad"}}}}
{"actor":{"display_login":"nekoze1210"}}