{"action":"created","comment":{"url":"https://api.github.com/repos/rorysaur/quack/pulls/comments/35488570","id":35488570,"diff_hunk":"@@ -0,0 +1,10 @@\n+defmodule Quack.Repo.Migrations.AddFieldsToUser do\n+  use Ecto.Migration\n+\n+  def change do\n+    alter table(:users) do\n+      add :email, :string\n+      add :password_encrypted, :string\n+    end","path":"priv/repo/migrations/20150721043946_AddFieldsToUser.exs","position":8,"original_position":8,"commit_id":"e0e17425c071f3d816d2bce5581dc8edcd31dbd8","original_commit_id":"e0e17425c071f3d816d2bce5581dc8edcd31dbd8","user":{"login":"jacknoble","id":1051472,"avatar_url":"https://avatars.githubusercontent.com/u/1051472?v=3","gravatar_id":"","url":"https://api.github.com/users/jacknoble","html_url":"https://github.com/jacknoble","followers_url":"https://api.github.com/users/jacknoble/followers","following_url":"https://api.github.com/users/jacknoble/following{/other_user}","gists_url":"https://api.github.com/users/jacknoble/gists{/gist_id}","starred_url":"https://api.github.com/users/jacknoble/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jacknoble/subscriptions","organizations_url":"https://api.github.com/users/jacknoble/orgs","repos_url":"https://api.github.com/users/jacknoble/repos","events_url":"https://api.github.com/users/jacknoble/events{/privacy}","received_events_url":"https://api.github.com/users/jacknoble/received_events","type":"User","site_admin":false},"body":"Both columns need indexes. Probably should be null: false also. ","created_at":"2015-07-26T02:07:43Z","updated_at":"2015-07-26T02:07:43Z","html_url":"https://github.com/rorysaur/quack/pull/73#discussion_r35488570","pull_request_url":"https://api.github.com/repos/rorysaur/quack/pulls/73","_links":{"self":{"href":"https://api.github.com/repos/rorysaur/quack/pulls/comments/35488570"},"html":{"href":"https://github.com/rorysaur/quack/pull/73#discussion_r35488570"},"pull_request":{"href":"https://api.github.com/repos/rorysaur/quack/pulls/73"}}},"pull_request":{"url":"https://api.github.com/repos/rorysaur/quack/pulls/73","id":40846473,"html_url":"https://github.com/rorysaur/quack/pull/73","diff_url":"https://github.com/rorysaur/quack/pull/73.diff","patch_url":"https://github.com/rorysaur/quack/pull/73.patch","issue_url":"https://api.github.com/repos/rorysaur/quack/issues/73","number":73,"state":"open","locked":false,"title":"Ro auth wip","user":{"login":"jacknoble","id":1051472,"avatar_url":"https://avatars.githubusercontent.com/u/1051472?v=3","gravatar_id":"","url":"https://api.github.com/users/jacknoble","html_url":"https://github.com/jacknoble","followers_url":"https://api.github.com/users/jacknoble/followers","following_url":"https://api.github.com/users/jacknoble/following{/other_user}","gists_url":"https://api.github.com/users/jacknoble/gists{/gist_id}","starred_url":"https://api.github.com/users/jacknoble/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jacknoble/subscriptions","organizations_url":"https://api.github.com/users/jacknoble/orgs","repos_url":"https://api.github.com/users/jacknoble/repos","events_url":"https://api.github.com/users/jacknoble/events{/privacy}","received_events_url":"https://api.github.com/users/jacknoble/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-07-26T01:54:52Z","updated_at":"2015-07-26T02:07:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f42c8fa90c531cd8a3d73b22f7c042caf61aa5a3","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/rorysaur/quack/pulls/73/commits","review_comments_url":"https://api.github.com/repos/rorysaur/quack/pulls/73/comments","review_comment_url":"https://api.github.com/repos/rorysaur/quack/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rorysaur/quack/issues/73/comments","statuses_url":"https://api.github.com/repos/rorysaur/quack/statuses/e0e17425c071f3d816d2bce5581dc8edcd31dbd8","head":{"label":"rorysaur:ro-auth","ref":"ro-auth","sha":"e0e17425c071f3d816d2bce5581dc8edcd31dbd8","user":{"login":"rorysaur","id":4686089,"avatar_url":"https://avatars.githubusercontent.com/u/4686089?v=3","gravatar_id":"","url":"https://api.github.com/users/rorysaur","html_url":"https://github.com/rorysaur","followers_url":"https://api.github.com/users/rorysaur/followers","following_url":"https://api.github.com/users/rorysaur/following{/other_user}","gists_url":"https://api.github.com/users/rorysaur/gists{/gist_id}","starred_url":"https://api.github.com/users/rorysaur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rorysaur/subscriptions","organizations_url":"https://api.github.com/users/rorysaur/orgs","repos_url":"https://api.github.com/users/rorysaur/repos","events_url":"https://api.github.com/users/rorysaur/events{/privacy}","received_events_url":"https://api.github.com/users/rorysaur/received_events","type":"User","site_admin":false},"repo":{"id":31999879,"name":"quack","full_name":"rorysaur/quack","owner":{"login":"rorysaur","id":4686089,"avatar_url":"https://avatars.githubusercontent.com/u/4686089?v=3","gravatar_id":"","url":"https://api.github.com/users/rorysaur","html_url":"https://github.com/rorysaur","followers_url":"https://api.github.com/users/rorysaur/followers","following_url":"https://api.github.com/users/rorysaur/following{/other_user}","gists_url":"https://api.github.com/users/rorysaur/gists{/gist_id}","starred_url":"https://api.github.com/users/rorysaur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rorysaur/subscriptions","organizations_url":"https://api.github.com/users/rorysaur/orgs","repos_url":"https://api.github.com/users/rorysaur/repos","events_url":"https://api.github.com/users/rorysaur/events{/privacy}","received_events_url":"https://api.github.com/users/rorysaur/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rorysaur/quack","description":"lil bro of Slack, using React and Flux","fork":false,"url":"https://api.github.com/repos/rorysaur/quack","forks_url":"https://api.github.com/repos/rorysaur/quack/forks","keys_url":"https://api.github.com/repos/rorysaur/quack/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rorysaur/quack/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rorysaur/quack/teams","hooks_url":"https://api.github.com/repos/rorysaur/quack/hooks","issue_events_url":"https://api.github.com/repos/rorysaur/quack/issues/events{/number}","events_url":"https://api.github.com/repos/rorysaur/quack/events","assignees_url":"https://api.github.com/repos/rorysaur/quack/assignees{/user}","branches_url":"https://api.github.com/repos/rorysaur/quack/branches{/branch}","tags_url":"https://api.github.com/repos/rorysaur/quack/tags","blobs_url":"https://api.github.com/repos/rorysaur/quack/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rorysaur/quack/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rorysaur/quack/git/refs{/sha}","trees_url":"https://api.github.com/repos/rorysaur/quack/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rorysaur/quack/statuses/{sha}","languages_url":"https://api.github.com/repos/rorysaur/quack/languages","stargazers_url":"https://api.github.com/repos/rorysaur/quack/stargazers","contributors_url":"https://api.github.com/repos/rorysaur/quack/contributors","subscribers_url":"https://api.github.com/repos/rorysaur/quack/subscribers","subscription_url":"https://api.github.com/repos/rorysaur/quack/subscription","commits_url":"https://api.github.com/repos/rorysaur/quack/commits{/sha}","git_commits_url":"https://api.github.com/repos/rorysaur/quack/git/commits{/sha}","comments_url":"https://api.github.com/repos/rorysaur/quack/comments{/number}","issue_comment_url":"https://api.github.com/repos/rorysaur/quack/issues/comments{/number}","contents_url":"https://api.github.com/repos/rorysaur/quack/contents/{+path}","compare_url":"https://api.github.com/repos/rorysaur/quack/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rorysaur/quack/merges","archive_url":"https://api.github.com/repos/rorysaur/quack/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rorysaur/quack/downloads","issues_url":"https://api.github.com/repos/rorysaur/quack/issues{/number}","pulls_url":"https://api.github.com/repos/rorysaur/quack/pulls{/number}","milestones_url":"https://api.github.com/repos/rorysaur/quack/milestones{/number}","notifications_url":"https://api.github.com/repos/rorysaur/quack/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rorysaur/quack/labels{/name}","releases_url":"https://api.github.com/repos/rorysaur/quack/releases{/id}","created_at":"2015-03-11T05:22:59Z","updated_at":"2015-04-07T03:27:17Z","pushed_at":"2015-07-26T01:54:52Z","git_url":"git://github.com/rorysaur/quack.git","ssh_url":"git@github.com:rorysaur/quack.git","clone_url":"https://github.com/rorysaur/quack.git","svn_url":"https://github.com/rorysaur/quack","homepage":null,"size":3969,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":15,"forks":1,"open_issues":15,"watchers":0,"default_branch":"master"}},"base":{"label":"rorysaur:master","ref":"master","sha":"cf3ecaef12c9fbd5a695e548f66db4d874dbe1f7","user":{"login":"rorysaur","id":4686089,"avatar_url":"https://avatars.githubusercontent.com/u/4686089?v=3","gravatar_id":"","url":"https://api.github.com/users/rorysaur","html_url":"https://github.com/rorysaur","followers_url":"https://api.github.com/users/rorysaur/followers","following_url":"https://api.github.com/users/rorysaur/following{/other_user}","gists_url":"https://api.github.com/users/rorysaur/gists{/gist_id}","starred_url":"https://api.github.com/users/rorysaur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rorysaur/subscriptions","organizations_url":"https://api.github.com/users/rorysaur/orgs","repos_url":"https://api.github.com/users/rorysaur/repos","events_url":"https://api.github.com/users/rorysaur/events{/privacy}","received_events_url":"https://api.github.com/users/rorysaur/received_events","type":"User","site_admin":false},"repo":{"id":31999879,"name":"quack","full_name":"rorysaur/quack","owner":{"login":"rorysaur","id":4686089,"avatar_url":"https://avatars.githubusercontent.com/u/4686089?v=3","gravatar_id":"","url":"https://api.github.com/users/rorysaur","html_url":"https://github.com/rorysaur","followers_url":"https://api.github.com/users/rorysaur/followers","following_url":"https://api.github.com/users/rorysaur/following{/other_user}","gists_url":"https://api.github.com/users/rorysaur/gists{/gist_id}","starred_url":"https://api.github.com/users/rorysaur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rorysaur/subscriptions","organizations_url":"https://api.github.com/users/rorysaur/orgs","repos_url":"https://api.github.com/users/rorysaur/repos","events_url":"https://api.github.com/users/rorysaur/events{/privacy}","received_events_url":"https://api.github.com/users/rorysaur/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rorysaur/quack","description":"lil bro of Slack, using React and Flux","fork":false,"url":"https://api.github.com/repos/rorysaur/quack","forks_url":"https://api.github.com/repos/rorysaur/quack/forks","keys_url":"https://api.github.com/repos/rorysaur/quack/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rorysaur/quack/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rorysaur/quack/teams","hooks_url":"https://api.github.com/repos/rorysaur/quack/hooks","issue_events_url":"https://api.github.com/repos/rorysaur/quack/issues/events{/number}","events_url":"https://api.github.com/repos/rorysaur/quack/events","assignees_url":"https://api.github.com/repos/rorysaur/quack/assignees{/user}","branches_url":"https://api.github.com/repos/rorysaur/quack/branches{/branch}","tags_url":"https://api.github.com/repos/rorysaur/quack/tags","blobs_url":"https://api.github.com/repos/rorysaur/quack/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rorysaur/quack/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rorysaur/quack/git/refs{/sha}","trees_url":"https://api.github.com/repos/rorysaur/quack/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rorysaur/quack/statuses/{sha}","languages_url":"https://api.github.com/repos/rorysaur/quack/languages","stargazers_url":"https://api.github.com/repos/rorysaur/quack/stargazers","contributors_url":"https://api.github.com/repos/rorysaur/quack/contributors","subscribers_url":"https://api.github.com/repos/rorysaur/quack/subscribers","subscription_url":"https://api.github.com/repos/rorysaur/quack/subscription","commits_url":"https://api.github.com/repos/rorysaur/quack/commits{/sha}","git_commits_url":"https://api.github.com/repos/rorysaur/quack/git/commits{/sha}","comments_url":"https://api.github.com/repos/rorysaur/quack/comments{/number}","issue_comment_url":"https://api.github.com/repos/rorysaur/quack/issues/comments{/number}","contents_url":"https://api.github.com/repos/rorysaur/quack/contents/{+path}","compare_url":"https://api.github.com/repos/rorysaur/quack/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rorysaur/quack/merges","archive_url":"https://api.github.com/repos/rorysaur/quack/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rorysaur/quack/downloads","issues_url":"https://api.github.com/repos/rorysaur/quack/issues{/number}","pulls_url":"https://api.github.com/repos/rorysaur/quack/pulls{/number}","milestones_url":"https://api.github.com/repos/rorysaur/quack/milestones{/number}","notifications_url":"https://api.github.com/repos/rorysaur/quack/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rorysaur/quack/labels{/name}","releases_url":"https://api.github.com/repos/rorysaur/quack/releases{/id}","created_at":"2015-03-11T05:22:59Z","updated_at":"2015-04-07T03:27:17Z","pushed_at":"2015-07-26T01:54:52Z","git_url":"git://github.com/rorysaur/quack.git","ssh_url":"git@github.com:rorysaur/quack.git","clone_url":"https://github.com/rorysaur/quack.git","svn_url":"https://github.com/rorysaur/quack","homepage":null,"size":3969,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":15,"forks":1,"open_issues":15,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rorysaur/quack/pulls/73"},"html":{"href":"https://github.com/rorysaur/quack/pull/73"},"issue":{"href":"https://api.github.com/repos/rorysaur/quack/issues/73"},"comments":{"href":"https://api.github.com/repos/rorysaur/quack/issues/73/comments"},"review_comments":{"href":"https://api.github.com/repos/rorysaur/quack/pulls/73/comments"},"review_comment":{"href":"https://api.github.com/repos/rorysaur/quack/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rorysaur/quack/pulls/73/commits"},"statuses":{"href":"https://api.github.com/repos/rorysaur/quack/statuses/e0e17425c071f3d816d2bce5581dc8edcd31dbd8"}}}}