{"action":"created","comment":{"url":"https://api.github.com/repos/holuborhee/WEConnect/pulls/comments/177427591","pull_request_review_id":107294504,"id":177427591,"diff_hunk":"@@ -0,0 +1,30 @@\n+const faker = require('faker');\n+\n+const length = Array(10).fill().map((x, i) => i + 1);\n+\n+const businesses = length.map(val => ({\n+  name: faker.company.companyName(),\n+  latitude: faker.address.latitude(),\n+  longitude: faker.address.longitude(),\n+  address: `${faker.address.streetAddress()} ${faker.address.city()} ${faker.address.state()}`,\n+  userId: val,\n+  categoryId: val > 6 ? val - ((val - 6) + 1) : val,\n+  createdAt: new Date().toISOString(),\n+  updatedAt: new Date().toISOString(),\n+}));\n+module.exports = {\n+  up: (queryInterface, Sequelize) => queryInterface.bulkInsert('Businesses', businesses, {}),\n+\n+  down: (queryInterface, Sequelize) => queryInterface.bulkDelete('Businesses'),","path":"server/seeders/20180327030425-demo-business.js","position":18,"original_position":18,"commit_id":"6dd7da9d4f123c9291bc13c944161ac7fdab2698","original_commit_id":"6dd7da9d4f123c9291bc13c944161ac7fdab2698","user":{"login":"houndci-bot","id":6697940,"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":"'Sequelize' is defined but never used     no-unused-vars","created_at":"2018-03-27T13:40:48Z","updated_at":"2018-03-27T13:40:50Z","html_url":"https://github.com/holuborhee/WEConnect/pull/23#discussion_r177427591","pull_request_url":"https://api.github.com/repos/holuborhee/WEConnect/pulls/23","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/holuborhee/WEConnect/pulls/comments/177427591"},"html":{"href":"https://github.com/holuborhee/WEConnect/pull/23#discussion_r177427591"},"pull_request":{"href":"https://api.github.com/repos/holuborhee/WEConnect/pulls/23"}}},"pull_request":{"url":"https://api.github.com/repos/holuborhee/WEConnect/pulls/23","id":177743618,"html_url":"https://github.com/holuborhee/WEConnect/pull/23","diff_url":"https://github.com/holuborhee/WEConnect/pull/23.diff","patch_url":"https://github.com/holuborhee/WEConnect/pull/23.patch","issue_url":"https://api.github.com/repos/holuborhee/WEConnect/issues/23","number":23,"state":"open","locked":false,"title":"#156256606 - Prepare and setup Seeds for Database","user":{"login":"holuborhee","id":8234355,"avatar_url":"https://avatars2.githubusercontent.com/u/8234355?v=4","gravatar_id":"","url":"https://api.github.com/users/holuborhee","html_url":"https://github.com/holuborhee","followers_url":"https://api.github.com/users/holuborhee/followers","following_url":"https://api.github.com/users/holuborhee/following{/other_user}","gists_url":"https://api.github.com/users/holuborhee/gists{/gist_id}","starred_url":"https://api.github.com/users/holuborhee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/holuborhee/subscriptions","organizations_url":"https://api.github.com/users/holuborhee/orgs","repos_url":"https://api.github.com/users/holuborhee/repos","events_url":"https://api.github.com/users/holuborhee/events{/privacy}","received_events_url":"https://api.github.com/users/holuborhee/received_events","type":"User","site_admin":false},"body":"### What does this PR do?\r\n\r\nSet up all seeds in database and configuration for tests.\r\n\r\n### Description of Tasks to be completed\r\n\r\n- Setup migrations\r\n- Setup seedings\r\n- Setup models\r\n\r\n### What are the relevant pivotal stories?\r\n#156256606","created_at":"2018-03-27T13:40:31Z","updated_at":"2018-03-27T13:40:50Z","closed_at":null,"merged_at":null,"merge_commit_sha":"74e07af6184c0471b966485e61a580224eeadb71","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/holuborhee/WEConnect/pulls/23/commits","review_comments_url":"https://api.github.com/repos/holuborhee/WEConnect/pulls/23/comments","review_comment_url":"https://api.github.com/repos/holuborhee/WEConnect/pulls/comments{/number}","comments_url":"https://api.github.com/repos/holuborhee/WEConnect/issues/23/comments","statuses_url":"https://api.github.com/repos/holuborhee/WEConnect/statuses/6dd7da9d4f123c9291bc13c944161ac7fdab2698","head":{"label":"holuborhee:ch-prepare-and-setup-database-with-data-156256606","ref":"ch-prepare-and-setup-database-with-data-156256606","sha":"6dd7da9d4f123c9291bc13c944161ac7fdab2698","user":{"login":"holuborhee","id":8234355,"avatar_url":"https://avatars2.githubusercontent.com/u/8234355?v=4","gravatar_id":"","url":"https://api.github.com/users/holuborhee","html_url":"https://github.com/holuborhee","followers_url":"https://api.github.com/users/holuborhee/followers","following_url":"https://api.github.com/users/holuborhee/following{/other_user}","gists_url":"https://api.github.com/users/holuborhee/gists{/gist_id}","starred_url":"https://api.github.com/users/holuborhee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/holuborhee/subscriptions","organizations_url":"https://api.github.com/users/holuborhee/orgs","repos_url":"https://api.github.com/users/holuborhee/repos","events_url":"https://api.github.com/users/holuborhee/events{/privacy}","received_events_url":"https://api.github.com/users/holuborhee/received_events","type":"User","site_admin":false},"repo":{"id":123252767,"name":"WEConnect","full_name":"holuborhee/WEConnect","owner":{"login":"holuborhee","id":8234355,"avatar_url":"https://avatars2.githubusercontent.com/u/8234355?v=4","gravatar_id":"","url":"https://api.github.com/users/holuborhee","html_url":"https://github.com/holuborhee","followers_url":"https://api.github.com/users/holuborhee/followers","following_url":"https://api.github.com/users/holuborhee/following{/other_user}","gists_url":"https://api.github.com/users/holuborhee/gists{/gist_id}","starred_url":"https://api.github.com/users/holuborhee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/holuborhee/subscriptions","organizations_url":"https://api.github.com/users/holuborhee/orgs","repos_url":"https://api.github.com/users/holuborhee/repos","events_url":"https://api.github.com/users/holuborhee/events{/privacy}","received_events_url":"https://api.github.com/users/holuborhee/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/holuborhee/WEConnect","description":"WEConnect connects businesses to consumers","fork":false,"url":"https://api.github.com/repos/holuborhee/WEConnect","forks_url":"https://api.github.com/repos/holuborhee/WEConnect/forks","keys_url":"https://api.github.com/repos/holuborhee/WEConnect/keys{/key_id}","collaborators_url":"https://api.github.com/repos/holuborhee/WEConnect/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/holuborhee/WEConnect/teams","hooks_url":"https://api.github.com/repos/holuborhee/WEConnect/hooks","issue_events_url":"https://api.github.com/repos/holuborhee/WEConnect/issues/events{/number}","events_url":"https://api.github.com/repos/holuborhee/WEConnect/events","assignees_url":"https://api.github.com/repos/holuborhee/WEConnect/assignees{/user}","branches_url":"https://api.github.com/repos/holuborhee/WEConnect/branches{/branch}","tags_url":"https://api.github.com/repos/holuborhee/WEConnect/tags","blobs_url":"https://api.github.com/repos/holuborhee/WEConnect/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/holuborhee/WEConnect/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/holuborhee/WEConnect/git/refs{/sha}","trees_url":"https://api.github.com/repos/holuborhee/WEConnect/git/trees{/sha}","statuses_url":"https://api.github.com/repos/holuborhee/WEConnect/statuses/{sha}","languages_url":"https://api.github.com/repos/holuborhee/WEConnect/languages","stargazers_url":"https://api.github.com/repos/holuborhee/WEConnect/stargazers","contributors_url":"https://api.github.com/repos/holuborhee/WEConnect/contributors","subscribers_url":"https://api.github.com/repos/holuborhee/WEConnect/subscribers","subscription_url":"https://api.github.com/repos/holuborhee/WEConnect/subscription","commits_url":"https://api.github.com/repos/holuborhee/WEConnect/commits{/sha}","git_commits_url":"https://api.github.com/repos/holuborhee/WEConnect/git/commits{/sha}","comments_url":"https://api.github.com/repos/holuborhee/WEConnect/comments{/number}","issue_comment_url":"https://api.github.com/repos/holuborhee/WEConnect/issues/comments{/number}","contents_url":"https://api.github.com/repos/holuborhee/WEConnect/contents/{+path}","compare_url":"https://api.github.com/repos/holuborhee/WEConnect/compare/{base}...{head}","merges_url":"https://api.github.com/repos/holuborhee/WEConnect/merges","archive_url":"https://api.github.com/repos/holuborhee/WEConnect/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/holuborhee/WEConnect/downloads","issues_url":"https://api.github.com/repos/holuborhee/WEConnect/issues{/number}","pulls_url":"https://api.github.com/repos/holuborhee/WEConnect/pulls{/number}","milestones_url":"https://api.github.com/repos/holuborhee/WEConnect/milestones{/number}","notifications_url":"https://api.github.com/repos/holuborhee/WEConnect/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/holuborhee/WEConnect/labels{/name}","releases_url":"https://api.github.com/repos/holuborhee/WEConnect/releases{/id}","deployments_url":"https://api.github.com/repos/holuborhee/WEConnect/deployments","created_at":"2018-02-28T08:20:55Z","updated_at":"2018-03-26T01:29:19Z","pushed_at":"2018-03-27T13:40:32Z","git_url":"git://github.com/holuborhee/WEConnect.git","ssh_url":"git@github.com:holuborhee/WEConnect.git","clone_url":"https://github.com/holuborhee/WEConnect.git","svn_url":"https://github.com/holuborhee/WEConnect","homepage":"https://holuborhee.github.io/WEConnect/","size":22614,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"develop"}},"base":{"label":"holuborhee:develop","ref":"develop","sha":"2fb63b00e08dcbf64ebcb2623983104e0804e993","user":{"login":"holuborhee","id":8234355,"avatar_url":"https://avatars2.githubusercontent.com/u/8234355?v=4","gravatar_id":"","url":"https://api.github.com/users/holuborhee","html_url":"https://github.com/holuborhee","followers_url":"https://api.github.com/users/holuborhee/followers","following_url":"https://api.github.com/users/holuborhee/following{/other_user}","gists_url":"https://api.github.com/users/holuborhee/gists{/gist_id}","starred_url":"https://api.github.com/users/holuborhee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/holuborhee/subscriptions","organizations_url":"https://api.github.com/users/holuborhee/orgs","repos_url":"https://api.github.com/users/holuborhee/repos","events_url":"https://api.github.com/users/holuborhee/events{/privacy}","received_events_url":"https://api.github.com/users/holuborhee/received_events","type":"User","site_admin":false},"repo":{"id":123252767,"name":"WEConnect","full_name":"holuborhee/WEConnect","owner":{"login":"holuborhee","id":8234355,"avatar_url":"https://avatars2.githubusercontent.com/u/8234355?v=4","gravatar_id":"","url":"https://api.github.com/users/holuborhee","html_url":"https://github.com/holuborhee","followers_url":"https://api.github.com/users/holuborhee/followers","following_url":"https://api.github.com/users/holuborhee/following{/other_user}","gists_url":"https://api.github.com/users/holuborhee/gists{/gist_id}","starred_url":"https://api.github.com/users/holuborhee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/holuborhee/subscriptions","organizations_url":"https://api.github.com/users/holuborhee/orgs","repos_url":"https://api.github.com/users/holuborhee/repos","events_url":"https://api.github.com/users/holuborhee/events{/privacy}","received_events_url":"https://api.github.com/users/holuborhee/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/holuborhee/WEConnect","description":"WEConnect connects businesses to consumers","fork":false,"url":"https://api.github.com/repos/holuborhee/WEConnect","forks_url":"https://api.github.com/repos/holuborhee/WEConnect/forks","keys_url":"https://api.github.com/repos/holuborhee/WEConnect/keys{/key_id}","collaborators_url":"https://api.github.com/repos/holuborhee/WEConnect/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/holuborhee/WEConnect/teams","hooks_url":"https://api.github.com/repos/holuborhee/WEConnect/hooks","issue_events_url":"https://api.github.com/repos/holuborhee/WEConnect/issues/events{/number}","events_url":"https://api.github.com/repos/holuborhee/WEConnect/events","assignees_url":"https://api.github.com/repos/holuborhee/WEConnect/assignees{/user}","branches_url":"https://api.github.com/repos/holuborhee/WEConnect/branches{/branch}","tags_url":"https://api.github.com/repos/holuborhee/WEConnect/tags","blobs_url":"https://api.github.com/repos/holuborhee/WEConnect/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/holuborhee/WEConnect/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/holuborhee/WEConnect/git/refs{/sha}","trees_url":"https://api.github.com/repos/holuborhee/WEConnect/git/trees{/sha}","statuses_url":"https://api.github.com/repos/holuborhee/WEConnect/statuses/{sha}","languages_url":"https://api.github.com/repos/holuborhee/WEConnect/languages","stargazers_url":"https://api.github.com/repos/holuborhee/WEConnect/stargazers","contributors_url":"https://api.github.com/repos/holuborhee/WEConnect/contributors","subscribers_url":"https://api.github.com/repos/holuborhee/WEConnect/subscribers","subscription_url":"https://api.github.com/repos/holuborhee/WEConnect/subscription","commits_url":"https://api.github.com/repos/holuborhee/WEConnect/commits{/sha}","git_commits_url":"https://api.github.com/repos/holuborhee/WEConnect/git/commits{/sha}","comments_url":"https://api.github.com/repos/holuborhee/WEConnect/comments{/number}","issue_comment_url":"https://api.github.com/repos/holuborhee/WEConnect/issues/comments{/number}","contents_url":"https://api.github.com/repos/holuborhee/WEConnect/contents/{+path}","compare_url":"https://api.github.com/repos/holuborhee/WEConnect/compare/{base}...{head}","merges_url":"https://api.github.com/repos/holuborhee/WEConnect/merges","archive_url":"https://api.github.com/repos/holuborhee/WEConnect/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/holuborhee/WEConnect/downloads","issues_url":"https://api.github.com/repos/holuborhee/WEConnect/issues{/number}","pulls_url":"https://api.github.com/repos/holuborhee/WEConnect/pulls{/number}","milestones_url":"https://api.github.com/repos/holuborhee/WEConnect/milestones{/number}","notifications_url":"https://api.github.com/repos/holuborhee/WEConnect/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/holuborhee/WEConnect/labels{/name}","releases_url":"https://api.github.com/repos/holuborhee/WEConnect/releases{/id}","deployments_url":"https://api.github.com/repos/holuborhee/WEConnect/deployments","created_at":"2018-02-28T08:20:55Z","updated_at":"2018-03-26T01:29:19Z","pushed_at":"2018-03-27T13:40:32Z","git_url":"git://github.com/holuborhee/WEConnect.git","ssh_url":"git@github.com:holuborhee/WEConnect.git","clone_url":"https://github.com/holuborhee/WEConnect.git","svn_url":"https://github.com/holuborhee/WEConnect","homepage":"https://holuborhee.github.io/WEConnect/","size":22614,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/holuborhee/WEConnect/pulls/23"},"html":{"href":"https://github.com/holuborhee/WEConnect/pull/23"},"issue":{"href":"https://api.github.com/repos/holuborhee/WEConnect/issues/23"},"comments":{"href":"https://api.github.com/repos/holuborhee/WEConnect/issues/23/comments"},"review_comments":{"href":"https://api.github.com/repos/holuborhee/WEConnect/pulls/23/comments"},"review_comment":{"href":"https://api.github.com/repos/holuborhee/WEConnect/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/holuborhee/WEConnect/pulls/23/commits"},"statuses":{"href":"https://api.github.com/repos/holuborhee/WEConnect/statuses/6dd7da9d4f123c9291bc13c944161ac7fdab2698"}},"author_association":"OWNER"}}
{"actor":{"display_login":"houndci-bot"}}