{"action":"created","comment":{"url":"https://api.github.com/repos/iReflect/reflect-app/pulls/comments/153501209","pull_request_review_id":79514844,"id":153501209,"diff_hunk":"@@ -4,20 +4,10 @@ import \"github.com/jinzhu/gorm\"\n \n type User struct {\n \tgorm.Model\n-\tEmail string `gorm:\"type:varchar(100);unique_index\"`\n-\tName  string\n-\tType  string\n-}\n-\n-type Group struct {\n-\tgorm.Model\n-\tName string\n-}\n-\n-type Role struct {\n-\tgorm.Model\n-\tName    string\n-\tUserID  uint `gorm:\"index\"`\n-\tGroupID uint `gorm:\"index\"`\n-\tType    string\n+\tEmail     string `gorm:\"type:varchar(100); not null; unique_index\"`","path":"apps/user/models/user.go","position":20,"original_position":20,"commit_id":"a6947aaa4d7826967beb4e87dd405bbd4c3017b9","original_commit_id":"a6947aaa4d7826967beb4e87dd405bbd4c3017b9","user":{"login":"anmolghosh","id":8056165,"avatar_url":"https://avatars3.githubusercontent.com/u/8056165?v=4","gravatar_id":"","url":"https://api.github.com/users/anmolghosh","html_url":"https://github.com/anmolghosh","followers_url":"https://api.github.com/users/anmolghosh/followers","following_url":"https://api.github.com/users/anmolghosh/following{/other_user}","gists_url":"https://api.github.com/users/anmolghosh/gists{/gist_id}","starred_url":"https://api.github.com/users/anmolghosh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anmolghosh/subscriptions","organizations_url":"https://api.github.com/users/anmolghosh/orgs","repos_url":"https://api.github.com/users/anmolghosh/repos","events_url":"https://api.github.com/users/anmolghosh/events{/privacy}","received_events_url":"https://api.github.com/users/anmolghosh/received_events","type":"User","site_admin":false},"body":"done","created_at":"2017-11-28T14:09:18Z","updated_at":"2017-11-28T14:09:18Z","html_url":"https://github.com/iReflect/reflect-app/pull/5#discussion_r153501209","pull_request_url":"https://api.github.com/repos/iReflect/reflect-app/pulls/5","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/iReflect/reflect-app/pulls/comments/153501209"},"html":{"href":"https://github.com/iReflect/reflect-app/pull/5#discussion_r153501209"},"pull_request":{"href":"https://api.github.com/repos/iReflect/reflect-app/pulls/5"}},"in_reply_to_id":153481035},"pull_request":{"url":"https://api.github.com/repos/iReflect/reflect-app/pulls/5","id":155047054,"html_url":"https://github.com/iReflect/reflect-app/pull/5","diff_url":"https://github.com/iReflect/reflect-app/pull/5.diff","patch_url":"https://github.com/iReflect/reflect-app/pull/5.patch","issue_url":"https://api.github.com/repos/iReflect/reflect-app/issues/5","number":5,"state":"open","locked":false,"title":"[#IR-4] Added base models and migrations","user":{"login":"anmolghosh","id":8056165,"avatar_url":"https://avatars3.githubusercontent.com/u/8056165?v=4","gravatar_id":"","url":"https://api.github.com/users/anmolghosh","html_url":"https://github.com/anmolghosh","followers_url":"https://api.github.com/users/anmolghosh/followers","following_url":"https://api.github.com/users/anmolghosh/following{/other_user}","gists_url":"https://api.github.com/users/anmolghosh/gists{/gist_id}","starred_url":"https://api.github.com/users/anmolghosh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anmolghosh/subscriptions","organizations_url":"https://api.github.com/users/anmolghosh/orgs","repos_url":"https://api.github.com/users/anmolghosh/repos","events_url":"https://api.github.com/users/anmolghosh/events{/privacy}","received_events_url":"https://api.github.com/users/anmolghosh/received_events","type":"User","site_admin":false},"body":"","created_at":"2017-11-28T11:35:04Z","updated_at":"2017-11-28T14:09:18Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5d63aecbf52a19aac091adff0a1d5c47cf4fabe2","assignee":{"login":"anmolghosh","id":8056165,"avatar_url":"https://avatars3.githubusercontent.com/u/8056165?v=4","gravatar_id":"","url":"https://api.github.com/users/anmolghosh","html_url":"https://github.com/anmolghosh","followers_url":"https://api.github.com/users/anmolghosh/followers","following_url":"https://api.github.com/users/anmolghosh/following{/other_user}","gists_url":"https://api.github.com/users/anmolghosh/gists{/gist_id}","starred_url":"https://api.github.com/users/anmolghosh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anmolghosh/subscriptions","organizations_url":"https://api.github.com/users/anmolghosh/orgs","repos_url":"https://api.github.com/users/anmolghosh/repos","events_url":"https://api.github.com/users/anmolghosh/events{/privacy}","received_events_url":"https://api.github.com/users/anmolghosh/received_events","type":"User","site_admin":false},"assignees":[{"login":"anmolghosh","id":8056165,"avatar_url":"https://avatars3.githubusercontent.com/u/8056165?v=4","gravatar_id":"","url":"https://api.github.com/users/anmolghosh","html_url":"https://github.com/anmolghosh","followers_url":"https://api.github.com/users/anmolghosh/followers","following_url":"https://api.github.com/users/anmolghosh/following{/other_user}","gists_url":"https://api.github.com/users/anmolghosh/gists{/gist_id}","starred_url":"https://api.github.com/users/anmolghosh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anmolghosh/subscriptions","organizations_url":"https://api.github.com/users/anmolghosh/orgs","repos_url":"https://api.github.com/users/anmolghosh/repos","events_url":"https://api.github.com/users/anmolghosh/events{/privacy}","received_events_url":"https://api.github.com/users/anmolghosh/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/iReflect/reflect-app/pulls/5/commits","review_comments_url":"https://api.github.com/repos/iReflect/reflect-app/pulls/5/comments","review_comment_url":"https://api.github.com/repos/iReflect/reflect-app/pulls/comments{/number}","comments_url":"https://api.github.com/repos/iReflect/reflect-app/issues/5/comments","statuses_url":"https://api.github.com/repos/iReflect/reflect-app/statuses/a6947aaa4d7826967beb4e87dd405bbd4c3017b9","head":{"label":"iReflect:ag_model_setup","ref":"ag_model_setup","sha":"a6947aaa4d7826967beb4e87dd405bbd4c3017b9","user":{"login":"iReflect","id":33116450,"avatar_url":"https://avatars3.githubusercontent.com/u/33116450?v=4","gravatar_id":"","url":"https://api.github.com/users/iReflect","html_url":"https://github.com/iReflect","followers_url":"https://api.github.com/users/iReflect/followers","following_url":"https://api.github.com/users/iReflect/following{/other_user}","gists_url":"https://api.github.com/users/iReflect/gists{/gist_id}","starred_url":"https://api.github.com/users/iReflect/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iReflect/subscriptions","organizations_url":"https://api.github.com/users/iReflect/orgs","repos_url":"https://api.github.com/users/iReflect/repos","events_url":"https://api.github.com/users/iReflect/events{/privacy}","received_events_url":"https://api.github.com/users/iReflect/received_events","type":"Organization","site_admin":false},"repo":{"id":108380183,"name":"reflect-app","full_name":"iReflect/reflect-app","owner":{"login":"iReflect","id":33116450,"avatar_url":"https://avatars3.githubusercontent.com/u/33116450?v=4","gravatar_id":"","url":"https://api.github.com/users/iReflect","html_url":"https://github.com/iReflect","followers_url":"https://api.github.com/users/iReflect/followers","following_url":"https://api.github.com/users/iReflect/following{/other_user}","gists_url":"https://api.github.com/users/iReflect/gists{/gist_id}","starred_url":"https://api.github.com/users/iReflect/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iReflect/subscriptions","organizations_url":"https://api.github.com/users/iReflect/orgs","repos_url":"https://api.github.com/users/iReflect/repos","events_url":"https://api.github.com/users/iReflect/events{/privacy}","received_events_url":"https://api.github.com/users/iReflect/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/iReflect/reflect-app","description":null,"fork":false,"url":"https://api.github.com/repos/iReflect/reflect-app","forks_url":"https://api.github.com/repos/iReflect/reflect-app/forks","keys_url":"https://api.github.com/repos/iReflect/reflect-app/keys{/key_id}","collaborators_url":"https://api.github.com/repos/iReflect/reflect-app/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/iReflect/reflect-app/teams","hooks_url":"https://api.github.com/repos/iReflect/reflect-app/hooks","issue_events_url":"https://api.github.com/repos/iReflect/reflect-app/issues/events{/number}","events_url":"https://api.github.com/repos/iReflect/reflect-app/events","assignees_url":"https://api.github.com/repos/iReflect/reflect-app/assignees{/user}","branches_url":"https://api.github.com/repos/iReflect/reflect-app/branches{/branch}","tags_url":"https://api.github.com/repos/iReflect/reflect-app/tags","blobs_url":"https://api.github.com/repos/iReflect/reflect-app/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/iReflect/reflect-app/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/iReflect/reflect-app/git/refs{/sha}","trees_url":"https://api.github.com/repos/iReflect/reflect-app/git/trees{/sha}","statuses_url":"https://api.github.com/repos/iReflect/reflect-app/statuses/{sha}","languages_url":"https://api.github.com/repos/iReflect/reflect-app/languages","stargazers_url":"https://api.github.com/repos/iReflect/reflect-app/stargazers","contributors_url":"https://api.github.com/repos/iReflect/reflect-app/contributors","subscribers_url":"https://api.github.com/repos/iReflect/reflect-app/subscribers","subscription_url":"https://api.github.com/repos/iReflect/reflect-app/subscription","commits_url":"https://api.github.com/repos/iReflect/reflect-app/commits{/sha}","git_commits_url":"https://api.github.com/repos/iReflect/reflect-app/git/commits{/sha}","comments_url":"https://api.github.com/repos/iReflect/reflect-app/comments{/number}","issue_comment_url":"https://api.github.com/repos/iReflect/reflect-app/issues/comments{/number}","contents_url":"https://api.github.com/repos/iReflect/reflect-app/contents/{+path}","compare_url":"https://api.github.com/repos/iReflect/reflect-app/compare/{base}...{head}","merges_url":"https://api.github.com/repos/iReflect/reflect-app/merges","archive_url":"https://api.github.com/repos/iReflect/reflect-app/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/iReflect/reflect-app/downloads","issues_url":"https://api.github.com/repos/iReflect/reflect-app/issues{/number}","pulls_url":"https://api.github.com/repos/iReflect/reflect-app/pulls{/number}","milestones_url":"https://api.github.com/repos/iReflect/reflect-app/milestones{/number}","notifications_url":"https://api.github.com/repos/iReflect/reflect-app/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/iReflect/reflect-app/labels{/name}","releases_url":"https://api.github.com/repos/iReflect/reflect-app/releases{/id}","deployments_url":"https://api.github.com/repos/iReflect/reflect-app/deployments","created_at":"2017-10-26T08:01:46Z","updated_at":"2017-11-22T13:45:30Z","pushed_at":"2017-11-28T12:13:53Z","git_url":"git://github.com/iReflect/reflect-app.git","ssh_url":"git@github.com:iReflect/reflect-app.git","clone_url":"https://github.com/iReflect/reflect-app.git","svn_url":"https://github.com/iReflect/reflect-app","homepage":null,"size":36,"stargazers_count":1,"watchers_count":1,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":3,"forks":0,"open_issues":3,"watchers":1,"default_branch":"master"}},"base":{"label":"iReflect:develop","ref":"develop","sha":"a38b2dce78533c0d7f56d7cf468c99963a6d9aea","user":{"login":"iReflect","id":33116450,"avatar_url":"https://avatars3.githubusercontent.com/u/33116450?v=4","gravatar_id":"","url":"https://api.github.com/users/iReflect","html_url":"https://github.com/iReflect","followers_url":"https://api.github.com/users/iReflect/followers","following_url":"https://api.github.com/users/iReflect/following{/other_user}","gists_url":"https://api.github.com/users/iReflect/gists{/gist_id}","starred_url":"https://api.github.com/users/iReflect/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iReflect/subscriptions","organizations_url":"https://api.github.com/users/iReflect/orgs","repos_url":"https://api.github.com/users/iReflect/repos","events_url":"https://api.github.com/users/iReflect/events{/privacy}","received_events_url":"https://api.github.com/users/iReflect/received_events","type":"Organization","site_admin":false},"repo":{"id":108380183,"name":"reflect-app","full_name":"iReflect/reflect-app","owner":{"login":"iReflect","id":33116450,"avatar_url":"https://avatars3.githubusercontent.com/u/33116450?v=4","gravatar_id":"","url":"https://api.github.com/users/iReflect","html_url":"https://github.com/iReflect","followers_url":"https://api.github.com/users/iReflect/followers","following_url":"https://api.github.com/users/iReflect/following{/other_user}","gists_url":"https://api.github.com/users/iReflect/gists{/gist_id}","starred_url":"https://api.github.com/users/iReflect/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iReflect/subscriptions","organizations_url":"https://api.github.com/users/iReflect/orgs","repos_url":"https://api.github.com/users/iReflect/repos","events_url":"https://api.github.com/users/iReflect/events{/privacy}","received_events_url":"https://api.github.com/users/iReflect/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/iReflect/reflect-app","description":null,"fork":false,"url":"https://api.github.com/repos/iReflect/reflect-app","forks_url":"https://api.github.com/repos/iReflect/reflect-app/forks","keys_url":"https://api.github.com/repos/iReflect/reflect-app/keys{/key_id}","collaborators_url":"https://api.github.com/repos/iReflect/reflect-app/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/iReflect/reflect-app/teams","hooks_url":"https://api.github.com/repos/iReflect/reflect-app/hooks","issue_events_url":"https://api.github.com/repos/iReflect/reflect-app/issues/events{/number}","events_url":"https://api.github.com/repos/iReflect/reflect-app/events","assignees_url":"https://api.github.com/repos/iReflect/reflect-app/assignees{/user}","branches_url":"https://api.github.com/repos/iReflect/reflect-app/branches{/branch}","tags_url":"https://api.github.com/repos/iReflect/reflect-app/tags","blobs_url":"https://api.github.com/repos/iReflect/reflect-app/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/iReflect/reflect-app/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/iReflect/reflect-app/git/refs{/sha}","trees_url":"https://api.github.com/repos/iReflect/reflect-app/git/trees{/sha}","statuses_url":"https://api.github.com/repos/iReflect/reflect-app/statuses/{sha}","languages_url":"https://api.github.com/repos/iReflect/reflect-app/languages","stargazers_url":"https://api.github.com/repos/iReflect/reflect-app/stargazers","contributors_url":"https://api.github.com/repos/iReflect/reflect-app/contributors","subscribers_url":"https://api.github.com/repos/iReflect/reflect-app/subscribers","subscription_url":"https://api.github.com/repos/iReflect/reflect-app/subscription","commits_url":"https://api.github.com/repos/iReflect/reflect-app/commits{/sha}","git_commits_url":"https://api.github.com/repos/iReflect/reflect-app/git/commits{/sha}","comments_url":"https://api.github.com/repos/iReflect/reflect-app/comments{/number}","issue_comment_url":"https://api.github.com/repos/iReflect/reflect-app/issues/comments{/number}","contents_url":"https://api.github.com/repos/iReflect/reflect-app/contents/{+path}","compare_url":"https://api.github.com/repos/iReflect/reflect-app/compare/{base}...{head}","merges_url":"https://api.github.com/repos/iReflect/reflect-app/merges","archive_url":"https://api.github.com/repos/iReflect/reflect-app/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/iReflect/reflect-app/downloads","issues_url":"https://api.github.com/repos/iReflect/reflect-app/issues{/number}","pulls_url":"https://api.github.com/repos/iReflect/reflect-app/pulls{/number}","milestones_url":"https://api.github.com/repos/iReflect/reflect-app/milestones{/number}","notifications_url":"https://api.github.com/repos/iReflect/reflect-app/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/iReflect/reflect-app/labels{/name}","releases_url":"https://api.github.com/repos/iReflect/reflect-app/releases{/id}","deployments_url":"https://api.github.com/repos/iReflect/reflect-app/deployments","created_at":"2017-10-26T08:01:46Z","updated_at":"2017-11-22T13:45:30Z","pushed_at":"2017-11-28T12:13:53Z","git_url":"git://github.com/iReflect/reflect-app.git","ssh_url":"git@github.com:iReflect/reflect-app.git","clone_url":"https://github.com/iReflect/reflect-app.git","svn_url":"https://github.com/iReflect/reflect-app","homepage":null,"size":36,"stargazers_count":1,"watchers_count":1,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":3,"forks":0,"open_issues":3,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/iReflect/reflect-app/pulls/5"},"html":{"href":"https://github.com/iReflect/reflect-app/pull/5"},"issue":{"href":"https://api.github.com/repos/iReflect/reflect-app/issues/5"},"comments":{"href":"https://api.github.com/repos/iReflect/reflect-app/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/iReflect/reflect-app/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/iReflect/reflect-app/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/iReflect/reflect-app/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/iReflect/reflect-app/statuses/a6947aaa4d7826967beb4e87dd405bbd4c3017b9"}},"author_association":"NONE"}}
{"actor":{"display_login":"anmolghosh"}}