{"action":"created","comment":{"url":"https://api.github.com/repos/annict/annict/pulls/comments/41879025","id":41879025,"diff_hunk":"@@ -0,0 +1,50 @@\n+class CreateDoorkeeperTables < ActiveRecord::Migration\n+  def change\n+    create_table :oauth_applications do |t|\n+      t.string  :name,         null: false\n+      t.string  :uid,          null: false\n+      t.string  :secret,       null: false\n+      t.text    :redirect_uri, null: false\n+      t.string  :scopes,       null: false, default: ''\n+      t.timestamps\n+    end\n+\n+    add_index :oauth_applications, :uid, unique: true\n+\n+    create_table :oauth_access_grants do |t|\n+      t.integer  :resource_owner_id, null: false\n+      t.integer  :application_id,    null: false\n+      t.string   :token,             null: false\n+      t.integer  :expires_in,        null: false","path":"db/migrate/20151013145503_create_doorkeeper_tables.rb","position":18,"original_position":18,"commit_id":"e775dcda8fa72dd5ca19cd46e952b5d0f97fd15d","original_commit_id":"e775dcda8fa72dd5ca19cd46e952b5d0f97fd15d","user":{"login":"houndci","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci","html_url":"https://github.com/houndci","followers_url":"https://api.github.com/users/houndci/followers","following_url":"https://api.github.com/users/houndci/following{/other_user}","gists_url":"https://api.github.com/users/houndci/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci/subscriptions","organizations_url":"https://api.github.com/users/houndci/orgs","repos_url":"https://api.github.com/users/houndci/repos","events_url":"https://api.github.com/users/houndci/events{/privacy}","received_events_url":"https://api.github.com/users/houndci/received_events","type":"User","site_admin":false},"body":"Put one space between the method name and the first argument.","created_at":"2015-10-13T15:11:00Z","updated_at":"2015-10-13T15:11:00Z","html_url":"https://github.com/annict/annict/pull/258#discussion_r41879025","pull_request_url":"https://api.github.com/repos/annict/annict/pulls/258","_links":{"self":{"href":"https://api.github.com/repos/annict/annict/pulls/comments/41879025"},"html":{"href":"https://github.com/annict/annict/pull/258#discussion_r41879025"},"pull_request":{"href":"https://api.github.com/repos/annict/annict/pulls/258"}}},"pull_request":{"url":"https://api.github.com/repos/annict/annict/pulls/258","id":47546250,"html_url":"https://github.com/annict/annict/pull/258","diff_url":"https://github.com/annict/annict/pull/258.diff","patch_url":"https://github.com/annict/annict/pull/258.patch","issue_url":"https://api.github.com/repos/annict/annict/issues/258","number":258,"state":"open","locked":false,"title":"[WIP] Annict API","user":{"login":"shimbaco","id":56767,"avatar_url":"https://avatars.githubusercontent.com/u/56767?v=3","gravatar_id":"","url":"https://api.github.com/users/shimbaco","html_url":"https://github.com/shimbaco","followers_url":"https://api.github.com/users/shimbaco/followers","following_url":"https://api.github.com/users/shimbaco/following{/other_user}","gists_url":"https://api.github.com/users/shimbaco/gists{/gist_id}","starred_url":"https://api.github.com/users/shimbaco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shimbaco/subscriptions","organizations_url":"https://api.github.com/users/shimbaco/orgs","repos_url":"https://api.github.com/users/shimbaco/repos","events_url":"https://api.github.com/users/shimbaco/events{/privacy}","received_events_url":"https://api.github.com/users/shimbaco/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-10-13T15:10:55Z","updated_at":"2015-10-13T15:11:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b01159420cf07fe5a8e8a5d164d59d3433ddf134","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/annict/annict/pulls/258/commits","review_comments_url":"https://api.github.com/repos/annict/annict/pulls/258/comments","review_comment_url":"https://api.github.com/repos/annict/annict/pulls/comments{/number}","comments_url":"https://api.github.com/repos/annict/annict/issues/258/comments","statuses_url":"https://api.github.com/repos/annict/annict/statuses/e775dcda8fa72dd5ca19cd46e952b5d0f97fd15d","head":{"label":"annict:api","ref":"api","sha":"e775dcda8fa72dd5ca19cd46e952b5d0f97fd15d","user":{"login":"annict","id":7150984,"avatar_url":"https://avatars.githubusercontent.com/u/7150984?v=3","gravatar_id":"","url":"https://api.github.com/users/annict","html_url":"https://github.com/annict","followers_url":"https://api.github.com/users/annict/followers","following_url":"https://api.github.com/users/annict/following{/other_user}","gists_url":"https://api.github.com/users/annict/gists{/gist_id}","starred_url":"https://api.github.com/users/annict/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/annict/subscriptions","organizations_url":"https://api.github.com/users/annict/orgs","repos_url":"https://api.github.com/users/annict/repos","events_url":"https://api.github.com/users/annict/events{/privacy}","received_events_url":"https://api.github.com/users/annict/received_events","type":"Organization","site_admin":false},"repo":{"id":21744872,"name":"annict","full_name":"annict/annict","owner":{"login":"annict","id":7150984,"avatar_url":"https://avatars.githubusercontent.com/u/7150984?v=3","gravatar_id":"","url":"https://api.github.com/users/annict","html_url":"https://github.com/annict","followers_url":"https://api.github.com/users/annict/followers","following_url":"https://api.github.com/users/annict/following{/other_user}","gists_url":"https://api.github.com/users/annict/gists{/gist_id}","starred_url":"https://api.github.com/users/annict/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/annict/subscriptions","organizations_url":"https://api.github.com/users/annict/orgs","repos_url":"https://api.github.com/users/annict/repos","events_url":"https://api.github.com/users/annict/events{/privacy}","received_events_url":"https://api.github.com/users/annict/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/annict/annict","description":"Rails 4.2とAngular.js 1.3で開発中のアニメ視聴記録サービス「Annict」です。","fork":false,"url":"https://api.github.com/repos/annict/annict","forks_url":"https://api.github.com/repos/annict/annict/forks","keys_url":"https://api.github.com/repos/annict/annict/keys{/key_id}","collaborators_url":"https://api.github.com/repos/annict/annict/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/annict/annict/teams","hooks_url":"https://api.github.com/repos/annict/annict/hooks","issue_events_url":"https://api.github.com/repos/annict/annict/issues/events{/number}","events_url":"https://api.github.com/repos/annict/annict/events","assignees_url":"https://api.github.com/repos/annict/annict/assignees{/user}","branches_url":"https://api.github.com/repos/annict/annict/branches{/branch}","tags_url":"https://api.github.com/repos/annict/annict/tags","blobs_url":"https://api.github.com/repos/annict/annict/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/annict/annict/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/annict/annict/git/refs{/sha}","trees_url":"https://api.github.com/repos/annict/annict/git/trees{/sha}","statuses_url":"https://api.github.com/repos/annict/annict/statuses/{sha}","languages_url":"https://api.github.com/repos/annict/annict/languages","stargazers_url":"https://api.github.com/repos/annict/annict/stargazers","contributors_url":"https://api.github.com/repos/annict/annict/contributors","subscribers_url":"https://api.github.com/repos/annict/annict/subscribers","subscription_url":"https://api.github.com/repos/annict/annict/subscription","commits_url":"https://api.github.com/repos/annict/annict/commits{/sha}","git_commits_url":"https://api.github.com/repos/annict/annict/git/commits{/sha}","comments_url":"https://api.github.com/repos/annict/annict/comments{/number}","issue_comment_url":"https://api.github.com/repos/annict/annict/issues/comments{/number}","contents_url":"https://api.github.com/repos/annict/annict/contents/{+path}","compare_url":"https://api.github.com/repos/annict/annict/compare/{base}...{head}","merges_url":"https://api.github.com/repos/annict/annict/merges","archive_url":"https://api.github.com/repos/annict/annict/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/annict/annict/downloads","issues_url":"https://api.github.com/repos/annict/annict/issues{/number}","pulls_url":"https://api.github.com/repos/annict/annict/pulls{/number}","milestones_url":"https://api.github.com/repos/annict/annict/milestones{/number}","notifications_url":"https://api.github.com/repos/annict/annict/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/annict/annict/labels{/name}","releases_url":"https://api.github.com/repos/annict/annict/releases{/id}","created_at":"2014-07-11T17:18:18Z","updated_at":"2015-10-06T06:57:40Z","pushed_at":"2015-10-13T15:10:55Z","git_url":"git://github.com/annict/annict.git","ssh_url":"git@github.com:annict/annict.git","clone_url":"https://github.com/annict/annict.git","svn_url":"https://github.com/annict/annict","homepage":"https://annict.com","size":37938,"stargazers_count":53,"watchers_count":53,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":9,"mirror_url":null,"open_issues_count":48,"forks":9,"open_issues":48,"watchers":53,"default_branch":"master"}},"base":{"label":"annict:master","ref":"master","sha":"adfa7ddb44ae6859788d9a8377cc49bedd6cdb30","user":{"login":"annict","id":7150984,"avatar_url":"https://avatars.githubusercontent.com/u/7150984?v=3","gravatar_id":"","url":"https://api.github.com/users/annict","html_url":"https://github.com/annict","followers_url":"https://api.github.com/users/annict/followers","following_url":"https://api.github.com/users/annict/following{/other_user}","gists_url":"https://api.github.com/users/annict/gists{/gist_id}","starred_url":"https://api.github.com/users/annict/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/annict/subscriptions","organizations_url":"https://api.github.com/users/annict/orgs","repos_url":"https://api.github.com/users/annict/repos","events_url":"https://api.github.com/users/annict/events{/privacy}","received_events_url":"https://api.github.com/users/annict/received_events","type":"Organization","site_admin":false},"repo":{"id":21744872,"name":"annict","full_name":"annict/annict","owner":{"login":"annict","id":7150984,"avatar_url":"https://avatars.githubusercontent.com/u/7150984?v=3","gravatar_id":"","url":"https://api.github.com/users/annict","html_url":"https://github.com/annict","followers_url":"https://api.github.com/users/annict/followers","following_url":"https://api.github.com/users/annict/following{/other_user}","gists_url":"https://api.github.com/users/annict/gists{/gist_id}","starred_url":"https://api.github.com/users/annict/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/annict/subscriptions","organizations_url":"https://api.github.com/users/annict/orgs","repos_url":"https://api.github.com/users/annict/repos","events_url":"https://api.github.com/users/annict/events{/privacy}","received_events_url":"https://api.github.com/users/annict/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/annict/annict","description":"Rails 4.2とAngular.js 1.3で開発中のアニメ視聴記録サービス「Annict」です。","fork":false,"url":"https://api.github.com/repos/annict/annict","forks_url":"https://api.github.com/repos/annict/annict/forks","keys_url":"https://api.github.com/repos/annict/annict/keys{/key_id}","collaborators_url":"https://api.github.com/repos/annict/annict/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/annict/annict/teams","hooks_url":"https://api.github.com/repos/annict/annict/hooks","issue_events_url":"https://api.github.com/repos/annict/annict/issues/events{/number}","events_url":"https://api.github.com/repos/annict/annict/events","assignees_url":"https://api.github.com/repos/annict/annict/assignees{/user}","branches_url":"https://api.github.com/repos/annict/annict/branches{/branch}","tags_url":"https://api.github.com/repos/annict/annict/tags","blobs_url":"https://api.github.com/repos/annict/annict/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/annict/annict/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/annict/annict/git/refs{/sha}","trees_url":"https://api.github.com/repos/annict/annict/git/trees{/sha}","statuses_url":"https://api.github.com/repos/annict/annict/statuses/{sha}","languages_url":"https://api.github.com/repos/annict/annict/languages","stargazers_url":"https://api.github.com/repos/annict/annict/stargazers","contributors_url":"https://api.github.com/repos/annict/annict/contributors","subscribers_url":"https://api.github.com/repos/annict/annict/subscribers","subscription_url":"https://api.github.com/repos/annict/annict/subscription","commits_url":"https://api.github.com/repos/annict/annict/commits{/sha}","git_commits_url":"https://api.github.com/repos/annict/annict/git/commits{/sha}","comments_url":"https://api.github.com/repos/annict/annict/comments{/number}","issue_comment_url":"https://api.github.com/repos/annict/annict/issues/comments{/number}","contents_url":"https://api.github.com/repos/annict/annict/contents/{+path}","compare_url":"https://api.github.com/repos/annict/annict/compare/{base}...{head}","merges_url":"https://api.github.com/repos/annict/annict/merges","archive_url":"https://api.github.com/repos/annict/annict/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/annict/annict/downloads","issues_url":"https://api.github.com/repos/annict/annict/issues{/number}","pulls_url":"https://api.github.com/repos/annict/annict/pulls{/number}","milestones_url":"https://api.github.com/repos/annict/annict/milestones{/number}","notifications_url":"https://api.github.com/repos/annict/annict/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/annict/annict/labels{/name}","releases_url":"https://api.github.com/repos/annict/annict/releases{/id}","created_at":"2014-07-11T17:18:18Z","updated_at":"2015-10-06T06:57:40Z","pushed_at":"2015-10-13T15:10:55Z","git_url":"git://github.com/annict/annict.git","ssh_url":"git@github.com:annict/annict.git","clone_url":"https://github.com/annict/annict.git","svn_url":"https://github.com/annict/annict","homepage":"https://annict.com","size":37938,"stargazers_count":53,"watchers_count":53,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":9,"mirror_url":null,"open_issues_count":48,"forks":9,"open_issues":48,"watchers":53,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/annict/annict/pulls/258"},"html":{"href":"https://github.com/annict/annict/pull/258"},"issue":{"href":"https://api.github.com/repos/annict/annict/issues/258"},"comments":{"href":"https://api.github.com/repos/annict/annict/issues/258/comments"},"review_comments":{"href":"https://api.github.com/repos/annict/annict/pulls/258/comments"},"review_comment":{"href":"https://api.github.com/repos/annict/annict/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/annict/annict/pulls/258/commits"},"statuses":{"href":"https://api.github.com/repos/annict/annict/statuses/e775dcda8fa72dd5ca19cd46e952b5d0f97fd15d"}}}}