{"action":"created","comment":{"url":"https://api.github.com/repos/andela/prometheus-ah/pulls/comments/213988020","pull_request_review_id":150941067,"id":213988020,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxMzk4ODAyMA==","diff_hunk":"@@ -1,57 +1,54 @@\n-const mongoose = require(\"mongoose\");\n-const uniqueValidator = require(\"mongoose-unique-validator\");\n-const crypto = require(\"crypto\");\n-const secret = require(\"../config\").secret;\n+const bcrypt = require('bcrypt');","path":"models/User.js","position":5,"original_position":5,"commit_id":"83d70c0c70e9759fa0aedfef16d3a1b23c5adc76","original_commit_id":"83d70c0c70e9759fa0aedfef16d3a1b23c5adc76","user":{"login":"houndci-bot","id":6697940,"node_id":"MDQ6VXNlcjY2OTc5NDA=","avatar_url":"https://avatars0.githubusercontent.com/u/6697940?v=4","gravatar_id":"","url":"https://api.github.com/users/houndci-bot","html_url":"https://github.com/houndci-bot","followers_url":"https://api.github.com/users/houndci-bot/followers","following_url":"https://api.github.com/users/houndci-bot/following{/other_user}","gists_url":"https://api.github.com/users/houndci-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci-bot/subscriptions","organizations_url":"https://api.github.com/users/houndci-bot/orgs","repos_url":"https://api.github.com/users/houndci-bot/repos","events_url":"https://api.github.com/users/houndci-bot/events{/privacy}","received_events_url":"https://api.github.com/users/houndci-bot/received_events","type":"User","site_admin":false},"body":"'require' is not defined  no-undef","created_at":"2018-08-30T10:59:50Z","updated_at":"2018-08-30T10:59:51Z","html_url":"https://github.com/andela/prometheus-ah/pull/5#discussion_r213988020","pull_request_url":"https://api.github.com/repos/andela/prometheus-ah/pulls/5","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/andela/prometheus-ah/pulls/comments/213988020"},"html":{"href":"https://github.com/andela/prometheus-ah/pull/5#discussion_r213988020"},"pull_request":{"href":"https://api.github.com/repos/andela/prometheus-ah/pulls/5"}}},"pull_request":{"url":"https://api.github.com/repos/andela/prometheus-ah/pulls/5","id":211628096,"node_id":"MDExOlB1bGxSZXF1ZXN0MjExNjI4MDk2","html_url":"https://github.com/andela/prometheus-ah/pull/5","diff_url":"https://github.com/andela/prometheus-ah/pull/5.diff","patch_url":"https://github.com/andela/prometheus-ah/pull/5.patch","issue_url":"https://api.github.com/repos/andela/prometheus-ah/issues/5","number":5,"state":"open","locked":false,"title":"#159987709 Confugure PostgreSQL As DB Engine","user":{"login":"faksam","id":7892780,"node_id":"MDQ6VXNlcjc4OTI3ODA=","avatar_url":"https://avatars1.githubusercontent.com/u/7892780?v=4","gravatar_id":"","url":"https://api.github.com/users/faksam","html_url":"https://github.com/faksam","followers_url":"https://api.github.com/users/faksam/followers","following_url":"https://api.github.com/users/faksam/following{/other_user}","gists_url":"https://api.github.com/users/faksam/gists{/gist_id}","starred_url":"https://api.github.com/users/faksam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/faksam/subscriptions","organizations_url":"https://api.github.com/users/faksam/orgs","repos_url":"https://api.github.com/users/faksam/repos","events_url":"https://api.github.com/users/faksam/events{/privacy}","received_events_url":"https://api.github.com/users/faksam/received_events","type":"User","site_admin":false},"body":"#### What does this PR do?\r\n- Confugure PostgreSQL & Sequelize ORM\r\n- create .env.sample\r\n- create .sequelizerc\r\n- create sequelize configurations\r\n- create migrations\r\n- modify user models file to use sequelize\r\n\r\n#### Description of Task to be completed?\r\n- modify passport configuration to use postgres\r\n- \r\n\r\n#### How should this be manually tested?\r\n- Clone the repo\r\n- Run `npm install`\r\n- Run `npm run migration`\r\n\r\n#### Any background context you want to provide?\r\n- N/A\r\n\r\n#### What are the relevant pivotal tracker stories?\r\n- #159987709\r\n\r\n[#159987709]","created_at":"2018-08-29T04:54:39Z","updated_at":"2018-08-30T10:59:50Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8683aabeceeaebb1f9be43687667784cbb8201f0","assignee":null,"assignees":[],"requested_reviewers":[{"login":"cwizard2011","id":23406358,"node_id":"MDQ6VXNlcjIzNDA2MzU4","avatar_url":"https://avatars0.githubusercontent.com/u/23406358?v=4","gravatar_id":"","url":"https://api.github.com/users/cwizard2011","html_url":"https://github.com/cwizard2011","followers_url":"https://api.github.com/users/cwizard2011/followers","following_url":"https://api.github.com/users/cwizard2011/following{/other_user}","gists_url":"https://api.github.com/users/cwizard2011/gists{/gist_id}","starred_url":"https://api.github.com/users/cwizard2011/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cwizard2011/subscriptions","organizations_url":"https://api.github.com/users/cwizard2011/orgs","repos_url":"https://api.github.com/users/cwizard2011/repos","events_url":"https://api.github.com/users/cwizard2011/events{/privacy}","received_events_url":"https://api.github.com/users/cwizard2011/received_events","type":"User","site_admin":false},{"login":"valentineezeh","id":32917511,"node_id":"MDQ6VXNlcjMyOTE3NTEx","avatar_url":"https://avatars3.githubusercontent.com/u/32917511?v=4","gravatar_id":"","url":"https://api.github.com/users/valentineezeh","html_url":"https://github.com/valentineezeh","followers_url":"https://api.github.com/users/valentineezeh/followers","following_url":"https://api.github.com/users/valentineezeh/following{/other_user}","gists_url":"https://api.github.com/users/valentineezeh/gists{/gist_id}","starred_url":"https://api.github.com/users/valentineezeh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/valentineezeh/subscriptions","organizations_url":"https://api.github.com/users/valentineezeh/orgs","repos_url":"https://api.github.com/users/valentineezeh/repos","events_url":"https://api.github.com/users/valentineezeh/events{/privacy}","received_events_url":"https://api.github.com/users/valentineezeh/received_events","type":"User","site_admin":false},{"login":"omobosteven","id":33634109,"node_id":"MDQ6VXNlcjMzNjM0MTA5","avatar_url":"https://avatars0.githubusercontent.com/u/33634109?v=4","gravatar_id":"","url":"https://api.github.com/users/omobosteven","html_url":"https://github.com/omobosteven","followers_url":"https://api.github.com/users/omobosteven/followers","following_url":"https://api.github.com/users/omobosteven/following{/other_user}","gists_url":"https://api.github.com/users/omobosteven/gists{/gist_id}","starred_url":"https://api.github.com/users/omobosteven/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/omobosteven/subscriptions","organizations_url":"https://api.github.com/users/omobosteven/orgs","repos_url":"https://api.github.com/users/omobosteven/repos","events_url":"https://api.github.com/users/omobosteven/events{/privacy}","received_events_url":"https://api.github.com/users/omobosteven/received_events","type":"User","site_admin":false},{"login":"DinmaOtutu","id":39683587,"node_id":"MDQ6VXNlcjM5NjgzNTg3","avatar_url":"https://avatars3.githubusercontent.com/u/39683587?v=4","gravatar_id":"","url":"https://api.github.com/users/DinmaOtutu","html_url":"https://github.com/DinmaOtutu","followers_url":"https://api.github.com/users/DinmaOtutu/followers","following_url":"https://api.github.com/users/DinmaOtutu/following{/other_user}","gists_url":"https://api.github.com/users/DinmaOtutu/gists{/gist_id}","starred_url":"https://api.github.com/users/DinmaOtutu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DinmaOtutu/subscriptions","organizations_url":"https://api.github.com/users/DinmaOtutu/orgs","repos_url":"https://api.github.com/users/DinmaOtutu/repos","events_url":"https://api.github.com/users/DinmaOtutu/events{/privacy}","received_events_url":"https://api.github.com/users/DinmaOtutu/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/andela/prometheus-ah/pulls/5/commits","review_comments_url":"https://api.github.com/repos/andela/prometheus-ah/pulls/5/comments","review_comment_url":"https://api.github.com/repos/andela/prometheus-ah/pulls/comments{/number}","comments_url":"https://api.github.com/repos/andela/prometheus-ah/issues/5/comments","statuses_url":"https://api.github.com/repos/andela/prometheus-ah/statuses/83d70c0c70e9759fa0aedfef16d3a1b23c5adc76","head":{"label":"andela:ch-configure-postgresql-159987709","ref":"ch-configure-postgresql-159987709","sha":"83d70c0c70e9759fa0aedfef16d3a1b23c5adc76","user":{"login":"andela","id":4100206,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQxMDAyMDY=","avatar_url":"https://avatars2.githubusercontent.com/u/4100206?v=4","gravatar_id":"","url":"https://api.github.com/users/andela","html_url":"https://github.com/andela","followers_url":"https://api.github.com/users/andela/followers","following_url":"https://api.github.com/users/andela/following{/other_user}","gists_url":"https://api.github.com/users/andela/gists{/gist_id}","starred_url":"https://api.github.com/users/andela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela/subscriptions","organizations_url":"https://api.github.com/users/andela/orgs","repos_url":"https://api.github.com/users/andela/repos","events_url":"https://api.github.com/users/andela/events{/privacy}","received_events_url":"https://api.github.com/users/andela/received_events","type":"Organization","site_admin":false},"repo":{"id":145832303,"node_id":"MDEwOlJlcG9zaXRvcnkxNDU4MzIzMDM=","name":"prometheus-ah","full_name":"andela/prometheus-ah","owner":{"login":"andela","id":4100206,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQxMDAyMDY=","avatar_url":"https://avatars2.githubusercontent.com/u/4100206?v=4","gravatar_id":"","url":"https://api.github.com/users/andela","html_url":"https://github.com/andela","followers_url":"https://api.github.com/users/andela/followers","following_url":"https://api.github.com/users/andela/following{/other_user}","gists_url":"https://api.github.com/users/andela/gists{/gist_id}","starred_url":"https://api.github.com/users/andela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela/subscriptions","organizations_url":"https://api.github.com/users/andela/orgs","repos_url":"https://api.github.com/users/andela/repos","events_url":"https://api.github.com/users/andela/events{/privacy}","received_events_url":"https://api.github.com/users/andela/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/andela/prometheus-ah","description":null,"fork":false,"url":"https://api.github.com/repos/andela/prometheus-ah","forks_url":"https://api.github.com/repos/andela/prometheus-ah/forks","keys_url":"https://api.github.com/repos/andela/prometheus-ah/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andela/prometheus-ah/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andela/prometheus-ah/teams","hooks_url":"https://api.github.com/repos/andela/prometheus-ah/hooks","issue_events_url":"https://api.github.com/repos/andela/prometheus-ah/issues/events{/number}","events_url":"https://api.github.com/repos/andela/prometheus-ah/events","assignees_url":"https://api.github.com/repos/andela/prometheus-ah/assignees{/user}","branches_url":"https://api.github.com/repos/andela/prometheus-ah/branches{/branch}","tags_url":"https://api.github.com/repos/andela/prometheus-ah/tags","blobs_url":"https://api.github.com/repos/andela/prometheus-ah/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andela/prometheus-ah/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andela/prometheus-ah/git/refs{/sha}","trees_url":"https://api.github.com/repos/andela/prometheus-ah/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andela/prometheus-ah/statuses/{sha}","languages_url":"https://api.github.com/repos/andela/prometheus-ah/languages","stargazers_url":"https://api.github.com/repos/andela/prometheus-ah/stargazers","contributors_url":"https://api.github.com/repos/andela/prometheus-ah/contributors","subscribers_url":"https://api.github.com/repos/andela/prometheus-ah/subscribers","subscription_url":"https://api.github.com/repos/andela/prometheus-ah/subscription","commits_url":"https://api.github.com/repos/andela/prometheus-ah/commits{/sha}","git_commits_url":"https://api.github.com/repos/andela/prometheus-ah/git/commits{/sha}","comments_url":"https://api.github.com/repos/andela/prometheus-ah/comments{/number}","issue_comment_url":"https://api.github.com/repos/andela/prometheus-ah/issues/comments{/number}","contents_url":"https://api.github.com/repos/andela/prometheus-ah/contents/{+path}","compare_url":"https://api.github.com/repos/andela/prometheus-ah/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andela/prometheus-ah/merges","archive_url":"https://api.github.com/repos/andela/prometheus-ah/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andela/prometheus-ah/downloads","issues_url":"https://api.github.com/repos/andela/prometheus-ah/issues{/number}","pulls_url":"https://api.github.com/repos/andela/prometheus-ah/pulls{/number}","milestones_url":"https://api.github.com/repos/andela/prometheus-ah/milestones{/number}","notifications_url":"https://api.github.com/repos/andela/prometheus-ah/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andela/prometheus-ah/labels{/name}","releases_url":"https://api.github.com/repos/andela/prometheus-ah/releases{/id}","deployments_url":"https://api.github.com/repos/andela/prometheus-ah/deployments","created_at":"2018-08-23T09:34:39Z","updated_at":"2018-08-29T19:29:07Z","pushed_at":"2018-08-30T10:59:26Z","git_url":"git://github.com/andela/prometheus-ah.git","ssh_url":"git@github.com:andela/prometheus-ah.git","clone_url":"https://github.com/andela/prometheus-ah.git","svn_url":"https://github.com/andela/prometheus-ah","homepage":null,"size":212,"stargazers_count":2,"watchers_count":2,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":2,"license":null,"forks":1,"open_issues":2,"watchers":2,"default_branch":"develop"}},"base":{"label":"andela:develop","ref":"develop","sha":"076c4ab887f62a84e31706d5bafd3b0c6ff8969d","user":{"login":"andela","id":4100206,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQxMDAyMDY=","avatar_url":"https://avatars2.githubusercontent.com/u/4100206?v=4","gravatar_id":"","url":"https://api.github.com/users/andela","html_url":"https://github.com/andela","followers_url":"https://api.github.com/users/andela/followers","following_url":"https://api.github.com/users/andela/following{/other_user}","gists_url":"https://api.github.com/users/andela/gists{/gist_id}","starred_url":"https://api.github.com/users/andela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela/subscriptions","organizations_url":"https://api.github.com/users/andela/orgs","repos_url":"https://api.github.com/users/andela/repos","events_url":"https://api.github.com/users/andela/events{/privacy}","received_events_url":"https://api.github.com/users/andela/received_events","type":"Organization","site_admin":false},"repo":{"id":145832303,"node_id":"MDEwOlJlcG9zaXRvcnkxNDU4MzIzMDM=","name":"prometheus-ah","full_name":"andela/prometheus-ah","owner":{"login":"andela","id":4100206,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQxMDAyMDY=","avatar_url":"https://avatars2.githubusercontent.com/u/4100206?v=4","gravatar_id":"","url":"https://api.github.com/users/andela","html_url":"https://github.com/andela","followers_url":"https://api.github.com/users/andela/followers","following_url":"https://api.github.com/users/andela/following{/other_user}","gists_url":"https://api.github.com/users/andela/gists{/gist_id}","starred_url":"https://api.github.com/users/andela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela/subscriptions","organizations_url":"https://api.github.com/users/andela/orgs","repos_url":"https://api.github.com/users/andela/repos","events_url":"https://api.github.com/users/andela/events{/privacy}","received_events_url":"https://api.github.com/users/andela/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/andela/prometheus-ah","description":null,"fork":false,"url":"https://api.github.com/repos/andela/prometheus-ah","forks_url":"https://api.github.com/repos/andela/prometheus-ah/forks","keys_url":"https://api.github.com/repos/andela/prometheus-ah/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andela/prometheus-ah/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andela/prometheus-ah/teams","hooks_url":"https://api.github.com/repos/andela/prometheus-ah/hooks","issue_events_url":"https://api.github.com/repos/andela/prometheus-ah/issues/events{/number}","events_url":"https://api.github.com/repos/andela/prometheus-ah/events","assignees_url":"https://api.github.com/repos/andela/prometheus-ah/assignees{/user}","branches_url":"https://api.github.com/repos/andela/prometheus-ah/branches{/branch}","tags_url":"https://api.github.com/repos/andela/prometheus-ah/tags","blobs_url":"https://api.github.com/repos/andela/prometheus-ah/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andela/prometheus-ah/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andela/prometheus-ah/git/refs{/sha}","trees_url":"https://api.github.com/repos/andela/prometheus-ah/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andela/prometheus-ah/statuses/{sha}","languages_url":"https://api.github.com/repos/andela/prometheus-ah/languages","stargazers_url":"https://api.github.com/repos/andela/prometheus-ah/stargazers","contributors_url":"https://api.github.com/repos/andela/prometheus-ah/contributors","subscribers_url":"https://api.github.com/repos/andela/prometheus-ah/subscribers","subscription_url":"https://api.github.com/repos/andela/prometheus-ah/subscription","commits_url":"https://api.github.com/repos/andela/prometheus-ah/commits{/sha}","git_commits_url":"https://api.github.com/repos/andela/prometheus-ah/git/commits{/sha}","comments_url":"https://api.github.com/repos/andela/prometheus-ah/comments{/number}","issue_comment_url":"https://api.github.com/repos/andela/prometheus-ah/issues/comments{/number}","contents_url":"https://api.github.com/repos/andela/prometheus-ah/contents/{+path}","compare_url":"https://api.github.com/repos/andela/prometheus-ah/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andela/prometheus-ah/merges","archive_url":"https://api.github.com/repos/andela/prometheus-ah/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andela/prometheus-ah/downloads","issues_url":"https://api.github.com/repos/andela/prometheus-ah/issues{/number}","pulls_url":"https://api.github.com/repos/andela/prometheus-ah/pulls{/number}","milestones_url":"https://api.github.com/repos/andela/prometheus-ah/milestones{/number}","notifications_url":"https://api.github.com/repos/andela/prometheus-ah/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andela/prometheus-ah/labels{/name}","releases_url":"https://api.github.com/repos/andela/prometheus-ah/releases{/id}","deployments_url":"https://api.github.com/repos/andela/prometheus-ah/deployments","created_at":"2018-08-23T09:34:39Z","updated_at":"2018-08-29T19:29:07Z","pushed_at":"2018-08-30T10:59:26Z","git_url":"git://github.com/andela/prometheus-ah.git","ssh_url":"git@github.com:andela/prometheus-ah.git","clone_url":"https://github.com/andela/prometheus-ah.git","svn_url":"https://github.com/andela/prometheus-ah","homepage":null,"size":212,"stargazers_count":2,"watchers_count":2,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":2,"license":null,"forks":1,"open_issues":2,"watchers":2,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/andela/prometheus-ah/pulls/5"},"html":{"href":"https://github.com/andela/prometheus-ah/pull/5"},"issue":{"href":"https://api.github.com/repos/andela/prometheus-ah/issues/5"},"comments":{"href":"https://api.github.com/repos/andela/prometheus-ah/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/andela/prometheus-ah/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/andela/prometheus-ah/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/andela/prometheus-ah/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/andela/prometheus-ah/statuses/83d70c0c70e9759fa0aedfef16d3a1b23c5adc76"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"houndci-bot"}}