{"action":"created","comment":{"url":"https://api.github.com/repos/emi-yamamoto/protospace/pulls/comments/63288307","id":63288307,"diff_hunk":"@@ -0,0 +1,10 @@\n+class CreateImages < ActiveRecord::Migration\n+  def change\n+    create_table :images do |t|\n+        t.integer     :status\n+        t.integer     :prototype_id","path":"db/migrate/20160511090718_create_images.rb","position":5,"original_position":5,"commit_id":"bfddfa902a5ac01c268ae35a098125c5ff2d4bed","original_commit_id":"a3f493ada4ce4faee5cdf131f523e97b4d80448c","user":{"login":"tatsuki-m","id":11342275,"avatar_url":"https://avatars.githubusercontent.com/u/11342275?v=3","gravatar_id":"","url":"https://api.github.com/users/tatsuki-m","html_url":"https://github.com/tatsuki-m","followers_url":"https://api.github.com/users/tatsuki-m/followers","following_url":"https://api.github.com/users/tatsuki-m/following{/other_user}","gists_url":"https://api.github.com/users/tatsuki-m/gists{/gist_id}","starred_url":"https://api.github.com/users/tatsuki-m/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tatsuki-m/subscriptions","organizations_url":"https://api.github.com/users/tatsuki-m/orgs","repos_url":"https://api.github.com/users/tatsuki-m/repos","events_url":"https://api.github.com/users/tatsuki-m/events{/privacy}","received_events_url":"https://api.github.com/users/tatsuki-m/received_events","type":"User","site_admin":false},"body":"あ、なるほど。\r\nこのあとにコミットされていたというとこですね？\r\n今はローカルで動かしているので、カラムの削除用のマイグレーションファイルを作るのではなく、\r\nもとのマイグレーションファイルを編集する形で変更していいですよ！\r\n\r\n削除用、追加用のマイグレーションファイルは、デプロイしてしまったあとでデータの削除ができないときとかに使用するので🙆","created_at":"2016-05-15T08:39:55Z","updated_at":"2016-05-15T08:39:55Z","html_url":"https://github.com/emi-yamamoto/protospace/pull/8#discussion_r63288307","pull_request_url":"https://api.github.com/repos/emi-yamamoto/protospace/pulls/8","_links":{"self":{"href":"https://api.github.com/repos/emi-yamamoto/protospace/pulls/comments/63288307"},"html":{"href":"https://github.com/emi-yamamoto/protospace/pull/8#discussion_r63288307"},"pull_request":{"href":"https://api.github.com/repos/emi-yamamoto/protospace/pulls/8"}}},"pull_request":{"url":"https://api.github.com/repos/emi-yamamoto/protospace/pulls/8","id":69628616,"html_url":"https://github.com/emi-yamamoto/protospace/pull/8","diff_url":"https://github.com/emi-yamamoto/protospace/pull/8.diff","patch_url":"https://github.com/emi-yamamoto/protospace/pull/8.patch","issue_url":"https://api.github.com/repos/emi-yamamoto/protospace/issues/8","number":8,"state":"open","locked":false,"title":"[WIP]Create prototype model","user":{"login":"emi-yamamoto","id":18456696,"avatar_url":"https://avatars.githubusercontent.com/u/18456696?v=3","gravatar_id":"","url":"https://api.github.com/users/emi-yamamoto","html_url":"https://github.com/emi-yamamoto","followers_url":"https://api.github.com/users/emi-yamamoto/followers","following_url":"https://api.github.com/users/emi-yamamoto/following{/other_user}","gists_url":"https://api.github.com/users/emi-yamamoto/gists{/gist_id}","starred_url":"https://api.github.com/users/emi-yamamoto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emi-yamamoto/subscriptions","organizations_url":"https://api.github.com/users/emi-yamamoto/orgs","repos_url":"https://api.github.com/users/emi-yamamoto/repos","events_url":"https://api.github.com/users/emi-yamamoto/events{/privacy}","received_events_url":"https://api.github.com/users/emi-yamamoto/received_events","type":"User","site_admin":false},"body":"# WHAT\r\n・carrierwaveの導入\r\n・Prototypeモデル、テーブルの作成\r\n\r\n# WHY\r\n・画像アップロード機能を実装するため\r\n・プロトタイプ投稿機能を実装するため","created_at":"2016-05-11T07:51:09Z","updated_at":"2016-05-15T08:39:55Z","closed_at":null,"merged_at":null,"merge_commit_sha":"367c6ff0fb8eda54c5c0261d07806df0f00e9082","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/emi-yamamoto/protospace/pulls/8/commits","review_comments_url":"https://api.github.com/repos/emi-yamamoto/protospace/pulls/8/comments","review_comment_url":"https://api.github.com/repos/emi-yamamoto/protospace/pulls/comments{/number}","comments_url":"https://api.github.com/repos/emi-yamamoto/protospace/issues/8/comments","statuses_url":"https://api.github.com/repos/emi-yamamoto/protospace/statuses/bfddfa902a5ac01c268ae35a098125c5ff2d4bed","head":{"label":"emi-yamamoto:create_prototype_model","ref":"create_prototype_model","sha":"bfddfa902a5ac01c268ae35a098125c5ff2d4bed","user":{"login":"emi-yamamoto","id":18456696,"avatar_url":"https://avatars.githubusercontent.com/u/18456696?v=3","gravatar_id":"","url":"https://api.github.com/users/emi-yamamoto","html_url":"https://github.com/emi-yamamoto","followers_url":"https://api.github.com/users/emi-yamamoto/followers","following_url":"https://api.github.com/users/emi-yamamoto/following{/other_user}","gists_url":"https://api.github.com/users/emi-yamamoto/gists{/gist_id}","starred_url":"https://api.github.com/users/emi-yamamoto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emi-yamamoto/subscriptions","organizations_url":"https://api.github.com/users/emi-yamamoto/orgs","repos_url":"https://api.github.com/users/emi-yamamoto/repos","events_url":"https://api.github.com/users/emi-yamamoto/events{/privacy}","received_events_url":"https://api.github.com/users/emi-yamamoto/received_events","type":"User","site_admin":false},"repo":{"id":56917505,"name":"protospace","full_name":"emi-yamamoto/protospace","owner":{"login":"emi-yamamoto","id":18456696,"avatar_url":"https://avatars.githubusercontent.com/u/18456696?v=3","gravatar_id":"","url":"https://api.github.com/users/emi-yamamoto","html_url":"https://github.com/emi-yamamoto","followers_url":"https://api.github.com/users/emi-yamamoto/followers","following_url":"https://api.github.com/users/emi-yamamoto/following{/other_user}","gists_url":"https://api.github.com/users/emi-yamamoto/gists{/gist_id}","starred_url":"https://api.github.com/users/emi-yamamoto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emi-yamamoto/subscriptions","organizations_url":"https://api.github.com/users/emi-yamamoto/orgs","repos_url":"https://api.github.com/users/emi-yamamoto/repos","events_url":"https://api.github.com/users/emi-yamamoto/events{/privacy}","received_events_url":"https://api.github.com/users/emi-yamamoto/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/emi-yamamoto/protospace","description":"","fork":false,"url":"https://api.github.com/repos/emi-yamamoto/protospace","forks_url":"https://api.github.com/repos/emi-yamamoto/protospace/forks","keys_url":"https://api.github.com/repos/emi-yamamoto/protospace/keys{/key_id}","collaborators_url":"https://api.github.com/repos/emi-yamamoto/protospace/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/emi-yamamoto/protospace/teams","hooks_url":"https://api.github.com/repos/emi-yamamoto/protospace/hooks","issue_events_url":"https://api.github.com/repos/emi-yamamoto/protospace/issues/events{/number}","events_url":"https://api.github.com/repos/emi-yamamoto/protospace/events","assignees_url":"https://api.github.com/repos/emi-yamamoto/protospace/assignees{/user}","branches_url":"https://api.github.com/repos/emi-yamamoto/protospace/branches{/branch}","tags_url":"https://api.github.com/repos/emi-yamamoto/protospace/tags","blobs_url":"https://api.github.com/repos/emi-yamamoto/protospace/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/emi-yamamoto/protospace/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/emi-yamamoto/protospace/git/refs{/sha}","trees_url":"https://api.github.com/repos/emi-yamamoto/protospace/git/trees{/sha}","statuses_url":"https://api.github.com/repos/emi-yamamoto/protospace/statuses/{sha}","languages_url":"https://api.github.com/repos/emi-yamamoto/protospace/languages","stargazers_url":"https://api.github.com/repos/emi-yamamoto/protospace/stargazers","contributors_url":"https://api.github.com/repos/emi-yamamoto/protospace/contributors","subscribers_url":"https://api.github.com/repos/emi-yamamoto/protospace/subscribers","subscription_url":"https://api.github.com/repos/emi-yamamoto/protospace/subscription","commits_url":"https://api.github.com/repos/emi-yamamoto/protospace/commits{/sha}","git_commits_url":"https://api.github.com/repos/emi-yamamoto/protospace/git/commits{/sha}","comments_url":"https://api.github.com/repos/emi-yamamoto/protospace/comments{/number}","issue_comment_url":"https://api.github.com/repos/emi-yamamoto/protospace/issues/comments{/number}","contents_url":"https://api.github.com/repos/emi-yamamoto/protospace/contents/{+path}","compare_url":"https://api.github.com/repos/emi-yamamoto/protospace/compare/{base}...{head}","merges_url":"https://api.github.com/repos/emi-yamamoto/protospace/merges","archive_url":"https://api.github.com/repos/emi-yamamoto/protospace/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/emi-yamamoto/protospace/downloads","issues_url":"https://api.github.com/repos/emi-yamamoto/protospace/issues{/number}","pulls_url":"https://api.github.com/repos/emi-yamamoto/protospace/pulls{/number}","milestones_url":"https://api.github.com/repos/emi-yamamoto/protospace/milestones{/number}","notifications_url":"https://api.github.com/repos/emi-yamamoto/protospace/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/emi-yamamoto/protospace/labels{/name}","releases_url":"https://api.github.com/repos/emi-yamamoto/protospace/releases{/id}","deployments_url":"https://api.github.com/repos/emi-yamamoto/protospace/deployments","created_at":"2016-04-23T12:12:38Z","updated_at":"2016-05-05T07:53:21Z","pushed_at":"2016-05-15T08:23:56Z","git_url":"git://github.com/emi-yamamoto/protospace.git","ssh_url":"git@github.com:emi-yamamoto/protospace.git","clone_url":"https://github.com/emi-yamamoto/protospace.git","svn_url":"https://github.com/emi-yamamoto/protospace","homepage":"","size":2915,"stargazers_count":0,"watchers_count":0,"language":"HTML","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":"emi-yamamoto:master","ref":"master","sha":"8e5b9d3058e8ab223ab3eb74583d5c6a8e8e23f3","user":{"login":"emi-yamamoto","id":18456696,"avatar_url":"https://avatars.githubusercontent.com/u/18456696?v=3","gravatar_id":"","url":"https://api.github.com/users/emi-yamamoto","html_url":"https://github.com/emi-yamamoto","followers_url":"https://api.github.com/users/emi-yamamoto/followers","following_url":"https://api.github.com/users/emi-yamamoto/following{/other_user}","gists_url":"https://api.github.com/users/emi-yamamoto/gists{/gist_id}","starred_url":"https://api.github.com/users/emi-yamamoto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emi-yamamoto/subscriptions","organizations_url":"https://api.github.com/users/emi-yamamoto/orgs","repos_url":"https://api.github.com/users/emi-yamamoto/repos","events_url":"https://api.github.com/users/emi-yamamoto/events{/privacy}","received_events_url":"https://api.github.com/users/emi-yamamoto/received_events","type":"User","site_admin":false},"repo":{"id":56917505,"name":"protospace","full_name":"emi-yamamoto/protospace","owner":{"login":"emi-yamamoto","id":18456696,"avatar_url":"https://avatars.githubusercontent.com/u/18456696?v=3","gravatar_id":"","url":"https://api.github.com/users/emi-yamamoto","html_url":"https://github.com/emi-yamamoto","followers_url":"https://api.github.com/users/emi-yamamoto/followers","following_url":"https://api.github.com/users/emi-yamamoto/following{/other_user}","gists_url":"https://api.github.com/users/emi-yamamoto/gists{/gist_id}","starred_url":"https://api.github.com/users/emi-yamamoto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emi-yamamoto/subscriptions","organizations_url":"https://api.github.com/users/emi-yamamoto/orgs","repos_url":"https://api.github.com/users/emi-yamamoto/repos","events_url":"https://api.github.com/users/emi-yamamoto/events{/privacy}","received_events_url":"https://api.github.com/users/emi-yamamoto/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/emi-yamamoto/protospace","description":"","fork":false,"url":"https://api.github.com/repos/emi-yamamoto/protospace","forks_url":"https://api.github.com/repos/emi-yamamoto/protospace/forks","keys_url":"https://api.github.com/repos/emi-yamamoto/protospace/keys{/key_id}","collaborators_url":"https://api.github.com/repos/emi-yamamoto/protospace/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/emi-yamamoto/protospace/teams","hooks_url":"https://api.github.com/repos/emi-yamamoto/protospace/hooks","issue_events_url":"https://api.github.com/repos/emi-yamamoto/protospace/issues/events{/number}","events_url":"https://api.github.com/repos/emi-yamamoto/protospace/events","assignees_url":"https://api.github.com/repos/emi-yamamoto/protospace/assignees{/user}","branches_url":"https://api.github.com/repos/emi-yamamoto/protospace/branches{/branch}","tags_url":"https://api.github.com/repos/emi-yamamoto/protospace/tags","blobs_url":"https://api.github.com/repos/emi-yamamoto/protospace/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/emi-yamamoto/protospace/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/emi-yamamoto/protospace/git/refs{/sha}","trees_url":"https://api.github.com/repos/emi-yamamoto/protospace/git/trees{/sha}","statuses_url":"https://api.github.com/repos/emi-yamamoto/protospace/statuses/{sha}","languages_url":"https://api.github.com/repos/emi-yamamoto/protospace/languages","stargazers_url":"https://api.github.com/repos/emi-yamamoto/protospace/stargazers","contributors_url":"https://api.github.com/repos/emi-yamamoto/protospace/contributors","subscribers_url":"https://api.github.com/repos/emi-yamamoto/protospace/subscribers","subscription_url":"https://api.github.com/repos/emi-yamamoto/protospace/subscription","commits_url":"https://api.github.com/repos/emi-yamamoto/protospace/commits{/sha}","git_commits_url":"https://api.github.com/repos/emi-yamamoto/protospace/git/commits{/sha}","comments_url":"https://api.github.com/repos/emi-yamamoto/protospace/comments{/number}","issue_comment_url":"https://api.github.com/repos/emi-yamamoto/protospace/issues/comments{/number}","contents_url":"https://api.github.com/repos/emi-yamamoto/protospace/contents/{+path}","compare_url":"https://api.github.com/repos/emi-yamamoto/protospace/compare/{base}...{head}","merges_url":"https://api.github.com/repos/emi-yamamoto/protospace/merges","archive_url":"https://api.github.com/repos/emi-yamamoto/protospace/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/emi-yamamoto/protospace/downloads","issues_url":"https://api.github.com/repos/emi-yamamoto/protospace/issues{/number}","pulls_url":"https://api.github.com/repos/emi-yamamoto/protospace/pulls{/number}","milestones_url":"https://api.github.com/repos/emi-yamamoto/protospace/milestones{/number}","notifications_url":"https://api.github.com/repos/emi-yamamoto/protospace/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/emi-yamamoto/protospace/labels{/name}","releases_url":"https://api.github.com/repos/emi-yamamoto/protospace/releases{/id}","deployments_url":"https://api.github.com/repos/emi-yamamoto/protospace/deployments","created_at":"2016-04-23T12:12:38Z","updated_at":"2016-05-05T07:53:21Z","pushed_at":"2016-05-15T08:23:56Z","git_url":"git://github.com/emi-yamamoto/protospace.git","ssh_url":"git@github.com:emi-yamamoto/protospace.git","clone_url":"https://github.com/emi-yamamoto/protospace.git","svn_url":"https://github.com/emi-yamamoto/protospace","homepage":"","size":2915,"stargazers_count":0,"watchers_count":0,"language":"HTML","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/emi-yamamoto/protospace/pulls/8"},"html":{"href":"https://github.com/emi-yamamoto/protospace/pull/8"},"issue":{"href":"https://api.github.com/repos/emi-yamamoto/protospace/issues/8"},"comments":{"href":"https://api.github.com/repos/emi-yamamoto/protospace/issues/8/comments"},"review_comments":{"href":"https://api.github.com/repos/emi-yamamoto/protospace/pulls/8/comments"},"review_comment":{"href":"https://api.github.com/repos/emi-yamamoto/protospace/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/emi-yamamoto/protospace/pulls/8/commits"},"statuses":{"href":"https://api.github.com/repos/emi-yamamoto/protospace/statuses/bfddfa902a5ac01c268ae35a098125c5ff2d4bed"}}}}