{"action":"created","comment":{"url":"https://api.github.com/repos/samirdhebar/photo-sharing-app/pulls/comments/126314371","pull_request_review_id":48786122,"id":126314371,"diff_hunk":"@@ -1,12 +1,14 @@\n const Sequelize = require(\"sequelize\");\n-const sql = require(\"../utility/sql\");\n+const sql = require(\"../util/sql.js\");\n const User = require(\"./users.js\");\n+const bodyParser = require('body-parser');\n \n \n const Comments = sql.define(\"comments\", {\n \tid: {\n \t\ttype: Sequelize.INTEGER,\n \t\tnotNull: true,\n+\t\tprimaryKey: true,","path":"models/comments.js","position":12,"original_position":12,"commit_id":"f94433462c6a4020ad7eb4ab991600d053d31a3a","original_commit_id":"f94433462c6a4020ad7eb4ab991600d053d31a3a","user":{"login":"wbobeirne","id":649992,"avatar_url":"https://avatars3.githubusercontent.com/u/649992?v=3","gravatar_id":"","url":"https://api.github.com/users/wbobeirne","html_url":"https://github.com/wbobeirne","followers_url":"https://api.github.com/users/wbobeirne/followers","following_url":"https://api.github.com/users/wbobeirne/following{/other_user}","gists_url":"https://api.github.com/users/wbobeirne/gists{/gist_id}","starred_url":"https://api.github.com/users/wbobeirne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wbobeirne/subscriptions","organizations_url":"https://api.github.com/users/wbobeirne/orgs","repos_url":"https://api.github.com/users/wbobeirne/repos","events_url":"https://api.github.com/users/wbobeirne/events{/privacy}","received_events_url":"https://api.github.com/users/wbobeirne/received_events","type":"User","site_admin":false},"body":"How is the ID determined? Right now you'd have to manually assign each comment an ID.","created_at":"2017-07-09T20:23:33Z","updated_at":"2017-07-09T20:24:41Z","html_url":"https://github.com/samirdhebar/photo-sharing-app/pull/26#discussion_r126314371","pull_request_url":"https://api.github.com/repos/samirdhebar/photo-sharing-app/pulls/26","_links":{"self":{"href":"https://api.github.com/repos/samirdhebar/photo-sharing-app/pulls/comments/126314371"},"html":{"href":"https://github.com/samirdhebar/photo-sharing-app/pull/26#discussion_r126314371"},"pull_request":{"href":"https://api.github.com/repos/samirdhebar/photo-sharing-app/pulls/26"}}},"pull_request":{"url":"https://api.github.com/repos/samirdhebar/photo-sharing-app/pulls/26","id":129576441,"html_url":"https://github.com/samirdhebar/photo-sharing-app/pull/26","diff_url":"https://github.com/samirdhebar/photo-sharing-app/pull/26.diff","patch_url":"https://github.com/samirdhebar/photo-sharing-app/pull/26.patch","issue_url":"https://api.github.com/repos/samirdhebar/photo-sharing-app/issues/26","number":26,"state":"open","locked":false,"title":"Gabe database branch","user":{"login":"GabeSArn","id":21350511,"avatar_url":"https://avatars2.githubusercontent.com/u/21350511?v=3","gravatar_id":"","url":"https://api.github.com/users/GabeSArn","html_url":"https://github.com/GabeSArn","followers_url":"https://api.github.com/users/GabeSArn/followers","following_url":"https://api.github.com/users/GabeSArn/following{/other_user}","gists_url":"https://api.github.com/users/GabeSArn/gists{/gist_id}","starred_url":"https://api.github.com/users/GabeSArn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GabeSArn/subscriptions","organizations_url":"https://api.github.com/users/GabeSArn/orgs","repos_url":"https://api.github.com/users/GabeSArn/repos","events_url":"https://api.github.com/users/GabeSArn/events{/privacy}","received_events_url":"https://api.github.com/users/GabeSArn/received_events","type":"User","site_admin":false},"body":"Users are now able to sign in.  \r\n\r\n- Once signed in, create page that allows users to upload files and view what else has been uploaded.\r\n\r\n- Need to add upload pics functionality\r\n\r\n- Working on users logging into their account. \r\n","created_at":"2017-07-09T20:11:23Z","updated_at":"2017-07-09T20:24:41Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/samirdhebar/photo-sharing-app/pulls/26/commits","review_comments_url":"https://api.github.com/repos/samirdhebar/photo-sharing-app/pulls/26/comments","review_comment_url":"https://api.github.com/repos/samirdhebar/photo-sharing-app/pulls/comments{/number}","comments_url":"https://api.github.com/repos/samirdhebar/photo-sharing-app/issues/26/comments","statuses_url":"https://api.github.com/repos/samirdhebar/photo-sharing-app/statuses/f94433462c6a4020ad7eb4ab991600d053d31a3a","head":{"label":"samirdhebar:gabeDatabaseBranch","ref":"gabeDatabaseBranch","sha":"f94433462c6a4020ad7eb4ab991600d053d31a3a","user":{"login":"samirdhebar","id":26612308,"avatar_url":"https://avatars2.githubusercontent.com/u/26612308?v=3","gravatar_id":"","url":"https://api.github.com/users/samirdhebar","html_url":"https://github.com/samirdhebar","followers_url":"https://api.github.com/users/samirdhebar/followers","following_url":"https://api.github.com/users/samirdhebar/following{/other_user}","gists_url":"https://api.github.com/users/samirdhebar/gists{/gist_id}","starred_url":"https://api.github.com/users/samirdhebar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samirdhebar/subscriptions","organizations_url":"https://api.github.com/users/samirdhebar/orgs","repos_url":"https://api.github.com/users/samirdhebar/repos","events_url":"https://api.github.com/users/samirdhebar/events{/privacy}","received_events_url":"https://api.github.com/users/samirdhebar/received_events","type":"User","site_admin":false},"repo":{"id":95245625,"name":"photo-sharing-app","full_name":"samirdhebar/photo-sharing-app","owner":{"login":"samirdhebar","id":26612308,"avatar_url":"https://avatars2.githubusercontent.com/u/26612308?v=3","gravatar_id":"","url":"https://api.github.com/users/samirdhebar","html_url":"https://github.com/samirdhebar","followers_url":"https://api.github.com/users/samirdhebar/followers","following_url":"https://api.github.com/users/samirdhebar/following{/other_user}","gists_url":"https://api.github.com/users/samirdhebar/gists{/gist_id}","starred_url":"https://api.github.com/users/samirdhebar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samirdhebar/subscriptions","organizations_url":"https://api.github.com/users/samirdhebar/orgs","repos_url":"https://api.github.com/users/samirdhebar/repos","events_url":"https://api.github.com/users/samirdhebar/events{/privacy}","received_events_url":"https://api.github.com/users/samirdhebar/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/samirdhebar/photo-sharing-app","description":"Snapagram is a photo sharing app that allows users to upload, comment and like images.","fork":false,"url":"https://api.github.com/repos/samirdhebar/photo-sharing-app","forks_url":"https://api.github.com/repos/samirdhebar/photo-sharing-app/forks","keys_url":"https://api.github.com/repos/samirdhebar/photo-sharing-app/keys{/key_id}","collaborators_url":"https://api.github.com/repos/samirdhebar/photo-sharing-app/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/samirdhebar/photo-sharing-app/teams","hooks_url":"https://api.github.com/repos/samirdhebar/photo-sharing-app/hooks","issue_events_url":"https://api.github.com/repos/samirdhebar/photo-sharing-app/issues/events{/number}","events_url":"https://api.github.com/repos/samirdhebar/photo-sharing-app/events","assignees_url":"https://api.github.com/repos/samirdhebar/photo-sharing-app/assignees{/user}","branches_url":"https://api.github.com/repos/samirdhebar/photo-sharing-app/branches{/branch}","tags_url":"https://api.github.com/repos/samirdhebar/photo-sharing-app/tags","blobs_url":"https://api.github.com/repos/samirdhebar/photo-sharing-app/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/samirdhebar/photo-sharing-app/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/samirdhebar/photo-sharing-app/git/refs{/sha}","trees_url":"https://api.github.com/repos/samirdhebar/photo-sharing-app/git/trees{/sha}","statuses_url":"https://api.github.com/repos/samirdhebar/photo-sharing-app/statuses/{sha}","languages_url":"https://api.github.com/repos/samirdhebar/photo-sharing-app/languages","stargazers_url":"https://api.github.com/repos/samirdhebar/photo-sharing-app/stargazers","contributors_url":"https://api.github.com/repos/samirdhebar/photo-sharing-app/contributors","subscribers_url":"https://api.github.com/repos/samirdhebar/photo-sharing-app/subscribers","subscription_url":"https://api.github.com/repos/samirdhebar/photo-sharing-app/subscription","commits_url":"https://api.github.com/repos/samirdhebar/photo-sharing-app/commits{/sha}","git_commits_url":"https://api.github.com/repos/samirdhebar/photo-sharing-app/git/commits{/sha}","comments_url":"https://api.github.com/repos/samirdhebar/photo-sharing-app/comments{/number}","issue_comment_url":"https://api.github.com/repos/samirdhebar/photo-sharing-app/issues/comments{/number}","contents_url":"https://api.github.com/repos/samirdhebar/photo-sharing-app/contents/{+path}","compare_url":"https://api.github.com/repos/samirdhebar/photo-sharing-app/compare/{base}...{head}","merges_url":"https://api.github.com/repos/samirdhebar/photo-sharing-app/merges","archive_url":"https://api.github.com/repos/samirdhebar/photo-sharing-app/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/samirdhebar/photo-sharing-app/downloads","issues_url":"https://api.github.com/repos/samirdhebar/photo-sharing-app/issues{/number}","pulls_url":"https://api.github.com/repos/samirdhebar/photo-sharing-app/pulls{/number}","milestones_url":"https://api.github.com/repos/samirdhebar/photo-sharing-app/milestones{/number}","notifications_url":"https://api.github.com/repos/samirdhebar/photo-sharing-app/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/samirdhebar/photo-sharing-app/labels{/name}","releases_url":"https://api.github.com/repos/samirdhebar/photo-sharing-app/releases{/id}","deployments_url":"https://api.github.com/repos/samirdhebar/photo-sharing-app/deployments","created_at":"2017-06-23T18:23:09Z","updated_at":"2017-07-02T22:25:27Z","pushed_at":"2017-07-09T20:11:24Z","git_url":"git://github.com/samirdhebar/photo-sharing-app.git","ssh_url":"git@github.com:samirdhebar/photo-sharing-app.git","clone_url":"https://github.com/samirdhebar/photo-sharing-app.git","svn_url":"https://github.com/samirdhebar/photo-sharing-app","homepage":"","size":42,"stargazers_count":1,"watchers_count":1,"language":"CSS","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":4,"forks":1,"open_issues":4,"watchers":1,"default_branch":"master"}},"base":{"label":"samirdhebar:master","ref":"master","sha":"3dfe0454f19f6201dabe4be48aaaf8f7da5bfed2","user":{"login":"samirdhebar","id":26612308,"avatar_url":"https://avatars2.githubusercontent.com/u/26612308?v=3","gravatar_id":"","url":"https://api.github.com/users/samirdhebar","html_url":"https://github.com/samirdhebar","followers_url":"https://api.github.com/users/samirdhebar/followers","following_url":"https://api.github.com/users/samirdhebar/following{/other_user}","gists_url":"https://api.github.com/users/samirdhebar/gists{/gist_id}","starred_url":"https://api.github.com/users/samirdhebar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samirdhebar/subscriptions","organizations_url":"https://api.github.com/users/samirdhebar/orgs","repos_url":"https://api.github.com/users/samirdhebar/repos","events_url":"https://api.github.com/users/samirdhebar/events{/privacy}","received_events_url":"https://api.github.com/users/samirdhebar/received_events","type":"User","site_admin":false},"repo":{"id":95245625,"name":"photo-sharing-app","full_name":"samirdhebar/photo-sharing-app","owner":{"login":"samirdhebar","id":26612308,"avatar_url":"https://avatars2.githubusercontent.com/u/26612308?v=3","gravatar_id":"","url":"https://api.github.com/users/samirdhebar","html_url":"https://github.com/samirdhebar","followers_url":"https://api.github.com/users/samirdhebar/followers","following_url":"https://api.github.com/users/samirdhebar/following{/other_user}","gists_url":"https://api.github.com/users/samirdhebar/gists{/gist_id}","starred_url":"https://api.github.com/users/samirdhebar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samirdhebar/subscriptions","organizations_url":"https://api.github.com/users/samirdhebar/orgs","repos_url":"https://api.github.com/users/samirdhebar/repos","events_url":"https://api.github.com/users/samirdhebar/events{/privacy}","received_events_url":"https://api.github.com/users/samirdhebar/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/samirdhebar/photo-sharing-app","description":"Snapagram is a photo sharing app that allows users to upload, comment and like images.","fork":false,"url":"https://api.github.com/repos/samirdhebar/photo-sharing-app","forks_url":"https://api.github.com/repos/samirdhebar/photo-sharing-app/forks","keys_url":"https://api.github.com/repos/samirdhebar/photo-sharing-app/keys{/key_id}","collaborators_url":"https://api.github.com/repos/samirdhebar/photo-sharing-app/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/samirdhebar/photo-sharing-app/teams","hooks_url":"https://api.github.com/repos/samirdhebar/photo-sharing-app/hooks","issue_events_url":"https://api.github.com/repos/samirdhebar/photo-sharing-app/issues/events{/number}","events_url":"https://api.github.com/repos/samirdhebar/photo-sharing-app/events","assignees_url":"https://api.github.com/repos/samirdhebar/photo-sharing-app/assignees{/user}","branches_url":"https://api.github.com/repos/samirdhebar/photo-sharing-app/branches{/branch}","tags_url":"https://api.github.com/repos/samirdhebar/photo-sharing-app/tags","blobs_url":"https://api.github.com/repos/samirdhebar/photo-sharing-app/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/samirdhebar/photo-sharing-app/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/samirdhebar/photo-sharing-app/git/refs{/sha}","trees_url":"https://api.github.com/repos/samirdhebar/photo-sharing-app/git/trees{/sha}","statuses_url":"https://api.github.com/repos/samirdhebar/photo-sharing-app/statuses/{sha}","languages_url":"https://api.github.com/repos/samirdhebar/photo-sharing-app/languages","stargazers_url":"https://api.github.com/repos/samirdhebar/photo-sharing-app/stargazers","contributors_url":"https://api.github.com/repos/samirdhebar/photo-sharing-app/contributors","subscribers_url":"https://api.github.com/repos/samirdhebar/photo-sharing-app/subscribers","subscription_url":"https://api.github.com/repos/samirdhebar/photo-sharing-app/subscription","commits_url":"https://api.github.com/repos/samirdhebar/photo-sharing-app/commits{/sha}","git_commits_url":"https://api.github.com/repos/samirdhebar/photo-sharing-app/git/commits{/sha}","comments_url":"https://api.github.com/repos/samirdhebar/photo-sharing-app/comments{/number}","issue_comment_url":"https://api.github.com/repos/samirdhebar/photo-sharing-app/issues/comments{/number}","contents_url":"https://api.github.com/repos/samirdhebar/photo-sharing-app/contents/{+path}","compare_url":"https://api.github.com/repos/samirdhebar/photo-sharing-app/compare/{base}...{head}","merges_url":"https://api.github.com/repos/samirdhebar/photo-sharing-app/merges","archive_url":"https://api.github.com/repos/samirdhebar/photo-sharing-app/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/samirdhebar/photo-sharing-app/downloads","issues_url":"https://api.github.com/repos/samirdhebar/photo-sharing-app/issues{/number}","pulls_url":"https://api.github.com/repos/samirdhebar/photo-sharing-app/pulls{/number}","milestones_url":"https://api.github.com/repos/samirdhebar/photo-sharing-app/milestones{/number}","notifications_url":"https://api.github.com/repos/samirdhebar/photo-sharing-app/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/samirdhebar/photo-sharing-app/labels{/name}","releases_url":"https://api.github.com/repos/samirdhebar/photo-sharing-app/releases{/id}","deployments_url":"https://api.github.com/repos/samirdhebar/photo-sharing-app/deployments","created_at":"2017-06-23T18:23:09Z","updated_at":"2017-07-02T22:25:27Z","pushed_at":"2017-07-09T20:11:24Z","git_url":"git://github.com/samirdhebar/photo-sharing-app.git","ssh_url":"git@github.com:samirdhebar/photo-sharing-app.git","clone_url":"https://github.com/samirdhebar/photo-sharing-app.git","svn_url":"https://github.com/samirdhebar/photo-sharing-app","homepage":"","size":42,"stargazers_count":1,"watchers_count":1,"language":"CSS","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":4,"forks":1,"open_issues":4,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/samirdhebar/photo-sharing-app/pulls/26"},"html":{"href":"https://github.com/samirdhebar/photo-sharing-app/pull/26"},"issue":{"href":"https://api.github.com/repos/samirdhebar/photo-sharing-app/issues/26"},"comments":{"href":"https://api.github.com/repos/samirdhebar/photo-sharing-app/issues/26/comments"},"review_comments":{"href":"https://api.github.com/repos/samirdhebar/photo-sharing-app/pulls/26/comments"},"review_comment":{"href":"https://api.github.com/repos/samirdhebar/photo-sharing-app/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/samirdhebar/photo-sharing-app/pulls/26/commits"},"statuses":{"href":"https://api.github.com/repos/samirdhebar/photo-sharing-app/statuses/f94433462c6a4020ad7eb4ab991600d053d31a3a"}}}}
{"actor":{"display_login":"wbobeirne"}}