{"action":"created","comment":{"url":"https://api.github.com/repos/doliveirakn/james_todo/pulls/comments/106532217","pull_request_review_id":27448340,"id":106532217,"diff_hunk":"@@ -0,0 +1,10 @@\n+class AddAuthColumnsToUser < ActiveRecord::Migration[5.0]\n+  def change\n+    add_column :users, :provider, :string, default: \"0\", null: false\n+    add_column :users, :uid, :string, default: \"0\", null: false\n+    add_column :users, :image_url, :string\n+    add_index :users, :provider\n+    add_index :users, :uid\n+    add_index :users, [:provider, :uid], unique: true","path":"db/migrate/20170305202732_add_auth_columns_to_user.rb","position":8,"original_position":8,"commit_id":"ab061bcf3b8919adc9649505125aeac783dbb7ad","original_commit_id":"ab061bcf3b8919adc9649505125aeac783dbb7ad","user":{"login":"doliveirakn","id":1671796,"avatar_url":"https://avatars2.githubusercontent.com/u/1671796?v=3","gravatar_id":"","url":"https://api.github.com/users/doliveirakn","html_url":"https://github.com/doliveirakn","followers_url":"https://api.github.com/users/doliveirakn/followers","following_url":"https://api.github.com/users/doliveirakn/following{/other_user}","gists_url":"https://api.github.com/users/doliveirakn/gists{/gist_id}","starred_url":"https://api.github.com/users/doliveirakn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/doliveirakn/subscriptions","organizations_url":"https://api.github.com/users/doliveirakn/orgs","repos_url":"https://api.github.com/users/doliveirakn/repos","events_url":"https://api.github.com/users/doliveirakn/events{/privacy}","received_events_url":"https://api.github.com/users/doliveirakn/received_events","type":"User","site_admin":false},"body":"Do you need all three indexes? Are you missing any indexes on this table or on the todos table?\r\n\r\nWhy / Why not?\r\n\r\n","created_at":"2017-03-16T21:09:55Z","updated_at":"2017-03-16T21:27:06Z","html_url":"https://github.com/doliveirakn/james_todo/pull/1#discussion_r106532217","pull_request_url":"https://api.github.com/repos/doliveirakn/james_todo/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/doliveirakn/james_todo/pulls/comments/106532217"},"html":{"href":"https://github.com/doliveirakn/james_todo/pull/1#discussion_r106532217"},"pull_request":{"href":"https://api.github.com/repos/doliveirakn/james_todo/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/doliveirakn/james_todo/pulls/1","id":111156147,"html_url":"https://github.com/doliveirakn/james_todo/pull/1","diff_url":"https://github.com/doliveirakn/james_todo/pull/1.diff","patch_url":"https://github.com/doliveirakn/james_todo/pull/1.patch","issue_url":"https://api.github.com/repos/doliveirakn/james_todo/issues/1","number":1,"state":"open","locked":false,"title":"Diff of Jame's work. ","user":{"login":"doliveirakn","id":1671796,"avatar_url":"https://avatars2.githubusercontent.com/u/1671796?v=3","gravatar_id":"","url":"https://api.github.com/users/doliveirakn","html_url":"https://github.com/doliveirakn","followers_url":"https://api.github.com/users/doliveirakn/followers","following_url":"https://api.github.com/users/doliveirakn/following{/other_user}","gists_url":"https://api.github.com/users/doliveirakn/gists{/gist_id}","starred_url":"https://api.github.com/users/doliveirakn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/doliveirakn/subscriptions","organizations_url":"https://api.github.com/users/doliveirakn/orgs","repos_url":"https://api.github.com/users/doliveirakn/repos","events_url":"https://api.github.com/users/doliveirakn/events{/privacy}","received_events_url":"https://api.github.com/users/doliveirakn/received_events","type":"User","site_admin":false},"body":"","created_at":"2017-03-16T20:17:12Z","updated_at":"2017-03-16T21:27:06Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8edb438f8b34225caef73447576fc2db4ffa6ab7","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/doliveirakn/james_todo/pulls/1/commits","review_comments_url":"https://api.github.com/repos/doliveirakn/james_todo/pulls/1/comments","review_comment_url":"https://api.github.com/repos/doliveirakn/james_todo/pulls/comments{/number}","comments_url":"https://api.github.com/repos/doliveirakn/james_todo/issues/1/comments","statuses_url":"https://api.github.com/repos/doliveirakn/james_todo/statuses/ab061bcf3b8919adc9649505125aeac783dbb7ad","head":{"label":"jamescgoertzen:master","ref":"master","sha":"ab061bcf3b8919adc9649505125aeac783dbb7ad","user":{"login":"jamescgoertzen","id":20374124,"avatar_url":"https://avatars3.githubusercontent.com/u/20374124?v=3","gravatar_id":"","url":"https://api.github.com/users/jamescgoertzen","html_url":"https://github.com/jamescgoertzen","followers_url":"https://api.github.com/users/jamescgoertzen/followers","following_url":"https://api.github.com/users/jamescgoertzen/following{/other_user}","gists_url":"https://api.github.com/users/jamescgoertzen/gists{/gist_id}","starred_url":"https://api.github.com/users/jamescgoertzen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamescgoertzen/subscriptions","organizations_url":"https://api.github.com/users/jamescgoertzen/orgs","repos_url":"https://api.github.com/users/jamescgoertzen/repos","events_url":"https://api.github.com/users/jamescgoertzen/events{/privacy}","received_events_url":"https://api.github.com/users/jamescgoertzen/received_events","type":"User","site_admin":false},"repo":{"id":84762987,"name":"james_todo","full_name":"jamescgoertzen/james_todo","owner":{"login":"jamescgoertzen","id":20374124,"avatar_url":"https://avatars3.githubusercontent.com/u/20374124?v=3","gravatar_id":"","url":"https://api.github.com/users/jamescgoertzen","html_url":"https://github.com/jamescgoertzen","followers_url":"https://api.github.com/users/jamescgoertzen/followers","following_url":"https://api.github.com/users/jamescgoertzen/following{/other_user}","gists_url":"https://api.github.com/users/jamescgoertzen/gists{/gist_id}","starred_url":"https://api.github.com/users/jamescgoertzen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamescgoertzen/subscriptions","organizations_url":"https://api.github.com/users/jamescgoertzen/orgs","repos_url":"https://api.github.com/users/jamescgoertzen/repos","events_url":"https://api.github.com/users/jamescgoertzen/events{/privacy}","received_events_url":"https://api.github.com/users/jamescgoertzen/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jamescgoertzen/james_todo","description":"A simple TODO app","fork":false,"url":"https://api.github.com/repos/jamescgoertzen/james_todo","forks_url":"https://api.github.com/repos/jamescgoertzen/james_todo/forks","keys_url":"https://api.github.com/repos/jamescgoertzen/james_todo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jamescgoertzen/james_todo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jamescgoertzen/james_todo/teams","hooks_url":"https://api.github.com/repos/jamescgoertzen/james_todo/hooks","issue_events_url":"https://api.github.com/repos/jamescgoertzen/james_todo/issues/events{/number}","events_url":"https://api.github.com/repos/jamescgoertzen/james_todo/events","assignees_url":"https://api.github.com/repos/jamescgoertzen/james_todo/assignees{/user}","branches_url":"https://api.github.com/repos/jamescgoertzen/james_todo/branches{/branch}","tags_url":"https://api.github.com/repos/jamescgoertzen/james_todo/tags","blobs_url":"https://api.github.com/repos/jamescgoertzen/james_todo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jamescgoertzen/james_todo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jamescgoertzen/james_todo/git/refs{/sha}","trees_url":"https://api.github.com/repos/jamescgoertzen/james_todo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jamescgoertzen/james_todo/statuses/{sha}","languages_url":"https://api.github.com/repos/jamescgoertzen/james_todo/languages","stargazers_url":"https://api.github.com/repos/jamescgoertzen/james_todo/stargazers","contributors_url":"https://api.github.com/repos/jamescgoertzen/james_todo/contributors","subscribers_url":"https://api.github.com/repos/jamescgoertzen/james_todo/subscribers","subscription_url":"https://api.github.com/repos/jamescgoertzen/james_todo/subscription","commits_url":"https://api.github.com/repos/jamescgoertzen/james_todo/commits{/sha}","git_commits_url":"https://api.github.com/repos/jamescgoertzen/james_todo/git/commits{/sha}","comments_url":"https://api.github.com/repos/jamescgoertzen/james_todo/comments{/number}","issue_comment_url":"https://api.github.com/repos/jamescgoertzen/james_todo/issues/comments{/number}","contents_url":"https://api.github.com/repos/jamescgoertzen/james_todo/contents/{+path}","compare_url":"https://api.github.com/repos/jamescgoertzen/james_todo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jamescgoertzen/james_todo/merges","archive_url":"https://api.github.com/repos/jamescgoertzen/james_todo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jamescgoertzen/james_todo/downloads","issues_url":"https://api.github.com/repos/jamescgoertzen/james_todo/issues{/number}","pulls_url":"https://api.github.com/repos/jamescgoertzen/james_todo/pulls{/number}","milestones_url":"https://api.github.com/repos/jamescgoertzen/james_todo/milestones{/number}","notifications_url":"https://api.github.com/repos/jamescgoertzen/james_todo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jamescgoertzen/james_todo/labels{/name}","releases_url":"https://api.github.com/repos/jamescgoertzen/james_todo/releases{/id}","deployments_url":"https://api.github.com/repos/jamescgoertzen/james_todo/deployments","created_at":"2017-03-12T22:44:47Z","updated_at":"2017-03-12T22:47:48Z","pushed_at":"2017-03-12T22:45:48Z","git_url":"git://github.com/jamescgoertzen/james_todo.git","ssh_url":"git@github.com:jamescgoertzen/james_todo.git","clone_url":"https://github.com/jamescgoertzen/james_todo.git","svn_url":"https://github.com/jamescgoertzen/james_todo","homepage":"https://safe-crag-78023.herokuapp.com","size":48,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"doliveirakn:master","ref":"master","sha":"57249096c787175e36fa5c3582f27d9c82ff9f67","user":{"login":"doliveirakn","id":1671796,"avatar_url":"https://avatars2.githubusercontent.com/u/1671796?v=3","gravatar_id":"","url":"https://api.github.com/users/doliveirakn","html_url":"https://github.com/doliveirakn","followers_url":"https://api.github.com/users/doliveirakn/followers","following_url":"https://api.github.com/users/doliveirakn/following{/other_user}","gists_url":"https://api.github.com/users/doliveirakn/gists{/gist_id}","starred_url":"https://api.github.com/users/doliveirakn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/doliveirakn/subscriptions","organizations_url":"https://api.github.com/users/doliveirakn/orgs","repos_url":"https://api.github.com/users/doliveirakn/repos","events_url":"https://api.github.com/users/doliveirakn/events{/privacy}","received_events_url":"https://api.github.com/users/doliveirakn/received_events","type":"User","site_admin":false},"repo":{"id":85237632,"name":"james_todo","full_name":"doliveirakn/james_todo","owner":{"login":"doliveirakn","id":1671796,"avatar_url":"https://avatars2.githubusercontent.com/u/1671796?v=3","gravatar_id":"","url":"https://api.github.com/users/doliveirakn","html_url":"https://github.com/doliveirakn","followers_url":"https://api.github.com/users/doliveirakn/followers","following_url":"https://api.github.com/users/doliveirakn/following{/other_user}","gists_url":"https://api.github.com/users/doliveirakn/gists{/gist_id}","starred_url":"https://api.github.com/users/doliveirakn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/doliveirakn/subscriptions","organizations_url":"https://api.github.com/users/doliveirakn/orgs","repos_url":"https://api.github.com/users/doliveirakn/repos","events_url":"https://api.github.com/users/doliveirakn/events{/privacy}","received_events_url":"https://api.github.com/users/doliveirakn/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/doliveirakn/james_todo","description":"A simple TODO app","fork":true,"url":"https://api.github.com/repos/doliveirakn/james_todo","forks_url":"https://api.github.com/repos/doliveirakn/james_todo/forks","keys_url":"https://api.github.com/repos/doliveirakn/james_todo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/doliveirakn/james_todo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/doliveirakn/james_todo/teams","hooks_url":"https://api.github.com/repos/doliveirakn/james_todo/hooks","issue_events_url":"https://api.github.com/repos/doliveirakn/james_todo/issues/events{/number}","events_url":"https://api.github.com/repos/doliveirakn/james_todo/events","assignees_url":"https://api.github.com/repos/doliveirakn/james_todo/assignees{/user}","branches_url":"https://api.github.com/repos/doliveirakn/james_todo/branches{/branch}","tags_url":"https://api.github.com/repos/doliveirakn/james_todo/tags","blobs_url":"https://api.github.com/repos/doliveirakn/james_todo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/doliveirakn/james_todo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/doliveirakn/james_todo/git/refs{/sha}","trees_url":"https://api.github.com/repos/doliveirakn/james_todo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/doliveirakn/james_todo/statuses/{sha}","languages_url":"https://api.github.com/repos/doliveirakn/james_todo/languages","stargazers_url":"https://api.github.com/repos/doliveirakn/james_todo/stargazers","contributors_url":"https://api.github.com/repos/doliveirakn/james_todo/contributors","subscribers_url":"https://api.github.com/repos/doliveirakn/james_todo/subscribers","subscription_url":"https://api.github.com/repos/doliveirakn/james_todo/subscription","commits_url":"https://api.github.com/repos/doliveirakn/james_todo/commits{/sha}","git_commits_url":"https://api.github.com/repos/doliveirakn/james_todo/git/commits{/sha}","comments_url":"https://api.github.com/repos/doliveirakn/james_todo/comments{/number}","issue_comment_url":"https://api.github.com/repos/doliveirakn/james_todo/issues/comments{/number}","contents_url":"https://api.github.com/repos/doliveirakn/james_todo/contents/{+path}","compare_url":"https://api.github.com/repos/doliveirakn/james_todo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/doliveirakn/james_todo/merges","archive_url":"https://api.github.com/repos/doliveirakn/james_todo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/doliveirakn/james_todo/downloads","issues_url":"https://api.github.com/repos/doliveirakn/james_todo/issues{/number}","pulls_url":"https://api.github.com/repos/doliveirakn/james_todo/pulls{/number}","milestones_url":"https://api.github.com/repos/doliveirakn/james_todo/milestones{/number}","notifications_url":"https://api.github.com/repos/doliveirakn/james_todo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/doliveirakn/james_todo/labels{/name}","releases_url":"https://api.github.com/repos/doliveirakn/james_todo/releases{/id}","deployments_url":"https://api.github.com/repos/doliveirakn/james_todo/deployments","created_at":"2017-03-16T20:14:50Z","updated_at":"2017-03-16T20:14:52Z","pushed_at":"2017-03-16T20:17:12Z","git_url":"git://github.com/doliveirakn/james_todo.git","ssh_url":"git@github.com:doliveirakn/james_todo.git","clone_url":"https://github.com/doliveirakn/james_todo.git","svn_url":"https://github.com/doliveirakn/james_todo","homepage":"https://safe-crag-78023.herokuapp.com","size":18,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"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/doliveirakn/james_todo/pulls/1"},"html":{"href":"https://github.com/doliveirakn/james_todo/pull/1"},"issue":{"href":"https://api.github.com/repos/doliveirakn/james_todo/issues/1"},"comments":{"href":"https://api.github.com/repos/doliveirakn/james_todo/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/doliveirakn/james_todo/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/doliveirakn/james_todo/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/doliveirakn/james_todo/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/doliveirakn/james_todo/statuses/ab061bcf3b8919adc9649505125aeac783dbb7ad"}}}}
{"actor":{"display_login":"doliveirakn"}}