{"action":"created","comment":{"url":"https://api.github.com/repos/carolynyoo/stack_store/pulls/comments/29725545","id":29725545,"diff_hunk":"@@ -12,6 +12,7 @@ var filmSchema = new mongoose.Schema({\n   price: {type: Number, required: true},\n   photo: {type: String, default: 'http://placehold.it/200x300'},\n   inventory: {type: Number, required: true},\n+  purchased: {type: Number, required: true}","path":"server/db/models/film.js","position":4,"original_position":4,"commit_id":"388aa30087d9dbfc7af982c5fa89eb5f3acf1cbf","original_commit_id":"388aa30087d9dbfc7af982c5fa89eb5f3acf1cbf","user":{"login":"carolynyoo","id":8825278,"avatar_url":"https://avatars.githubusercontent.com/u/8825278?v=3","gravatar_id":"","url":"https://api.github.com/users/carolynyoo","html_url":"https://github.com/carolynyoo","followers_url":"https://api.github.com/users/carolynyoo/followers","following_url":"https://api.github.com/users/carolynyoo/following{/other_user}","gists_url":"https://api.github.com/users/carolynyoo/gists{/gist_id}","starred_url":"https://api.github.com/users/carolynyoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/carolynyoo/subscriptions","organizations_url":"https://api.github.com/users/carolynyoo/orgs","repos_url":"https://api.github.com/users/carolynyoo/repos","events_url":"https://api.github.com/users/carolynyoo/events{/privacy}","received_events_url":"https://api.github.com/users/carolynyoo/received_events","type":"User","site_admin":false},"body":"can we add a default 0? and perhaps add this property to seed so it works?","created_at":"2015-05-05T23:55:22Z","updated_at":"2015-05-05T23:55:22Z","html_url":"https://github.com/carolynyoo/stack_store/pull/119#discussion_r29725545","pull_request_url":"https://api.github.com/repos/carolynyoo/stack_store/pulls/119","_links":{"self":{"href":"https://api.github.com/repos/carolynyoo/stack_store/pulls/comments/29725545"},"html":{"href":"https://github.com/carolynyoo/stack_store/pull/119#discussion_r29725545"},"pull_request":{"href":"https://api.github.com/repos/carolynyoo/stack_store/pulls/119"}}},"pull_request":{"url":"https://api.github.com/repos/carolynyoo/stack_store/pulls/119","id":34588503,"html_url":"https://github.com/carolynyoo/stack_store/pull/119","diff_url":"https://github.com/carolynyoo/stack_store/pull/119.diff","patch_url":"https://github.com/carolynyoo/stack_store/pull/119.patch","issue_url":"https://api.github.com/repos/carolynyoo/stack_store/issues/119","number":119,"state":"open","locked":false,"title":"Order stats tracking","user":{"login":"gskerry","id":8867156,"avatar_url":"https://avatars.githubusercontent.com/u/8867156?v=3","gravatar_id":"","url":"https://api.github.com/users/gskerry","html_url":"https://github.com/gskerry","followers_url":"https://api.github.com/users/gskerry/followers","following_url":"https://api.github.com/users/gskerry/following{/other_user}","gists_url":"https://api.github.com/users/gskerry/gists{/gist_id}","starred_url":"https://api.github.com/users/gskerry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gskerry/subscriptions","organizations_url":"https://api.github.com/users/gskerry/orgs","repos_url":"https://api.github.com/users/gskerry/repos","events_url":"https://api.github.com/users/gskerry/events{/privacy}","received_events_url":"https://api.github.com/users/gskerry/received_events","type":"User","site_admin":false},"body":"Checkout now adding purchase stats to film db.\r\n![image](https://cloud.githubusercontent.com/assets/8867156/7467565/43a95d4a-f2c9-11e4-962d-bd43577c375e.png)\r\n","created_at":"2015-05-02T17:10:21Z","updated_at":"2015-05-05T23:55:22Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1554182ef11d7cf0cb70376000b819c9374a8dee","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/carolynyoo/stack_store/pulls/119/commits","review_comments_url":"https://api.github.com/repos/carolynyoo/stack_store/pulls/119/comments","review_comment_url":"https://api.github.com/repos/carolynyoo/stack_store/pulls/comments{/number}","comments_url":"https://api.github.com/repos/carolynyoo/stack_store/issues/119/comments","statuses_url":"https://api.github.com/repos/carolynyoo/stack_store/statuses/388aa30087d9dbfc7af982c5fa89eb5f3acf1cbf","head":{"label":"carolynyoo:order-stats-and-landing","ref":"order-stats-and-landing","sha":"388aa30087d9dbfc7af982c5fa89eb5f3acf1cbf","user":{"login":"carolynyoo","id":8825278,"avatar_url":"https://avatars.githubusercontent.com/u/8825278?v=3","gravatar_id":"","url":"https://api.github.com/users/carolynyoo","html_url":"https://github.com/carolynyoo","followers_url":"https://api.github.com/users/carolynyoo/followers","following_url":"https://api.github.com/users/carolynyoo/following{/other_user}","gists_url":"https://api.github.com/users/carolynyoo/gists{/gist_id}","starred_url":"https://api.github.com/users/carolynyoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/carolynyoo/subscriptions","organizations_url":"https://api.github.com/users/carolynyoo/orgs","repos_url":"https://api.github.com/users/carolynyoo/repos","events_url":"https://api.github.com/users/carolynyoo/events{/privacy}","received_events_url":"https://api.github.com/users/carolynyoo/received_events","type":"User","site_admin":false},"repo":{"id":34169303,"name":"stack_store","full_name":"carolynyoo/stack_store","owner":{"login":"carolynyoo","id":8825278,"avatar_url":"https://avatars.githubusercontent.com/u/8825278?v=3","gravatar_id":"","url":"https://api.github.com/users/carolynyoo","html_url":"https://github.com/carolynyoo","followers_url":"https://api.github.com/users/carolynyoo/followers","following_url":"https://api.github.com/users/carolynyoo/following{/other_user}","gists_url":"https://api.github.com/users/carolynyoo/gists{/gist_id}","starred_url":"https://api.github.com/users/carolynyoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/carolynyoo/subscriptions","organizations_url":"https://api.github.com/users/carolynyoo/orgs","repos_url":"https://api.github.com/users/carolynyoo/repos","events_url":"https://api.github.com/users/carolynyoo/events{/privacy}","received_events_url":"https://api.github.com/users/carolynyoo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/carolynyoo/stack_store","description":"Movie ecommerce platform (MEAN stack)","fork":false,"url":"https://api.github.com/repos/carolynyoo/stack_store","forks_url":"https://api.github.com/repos/carolynyoo/stack_store/forks","keys_url":"https://api.github.com/repos/carolynyoo/stack_store/keys{/key_id}","collaborators_url":"https://api.github.com/repos/carolynyoo/stack_store/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/carolynyoo/stack_store/teams","hooks_url":"https://api.github.com/repos/carolynyoo/stack_store/hooks","issue_events_url":"https://api.github.com/repos/carolynyoo/stack_store/issues/events{/number}","events_url":"https://api.github.com/repos/carolynyoo/stack_store/events","assignees_url":"https://api.github.com/repos/carolynyoo/stack_store/assignees{/user}","branches_url":"https://api.github.com/repos/carolynyoo/stack_store/branches{/branch}","tags_url":"https://api.github.com/repos/carolynyoo/stack_store/tags","blobs_url":"https://api.github.com/repos/carolynyoo/stack_store/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/carolynyoo/stack_store/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/carolynyoo/stack_store/git/refs{/sha}","trees_url":"https://api.github.com/repos/carolynyoo/stack_store/git/trees{/sha}","statuses_url":"https://api.github.com/repos/carolynyoo/stack_store/statuses/{sha}","languages_url":"https://api.github.com/repos/carolynyoo/stack_store/languages","stargazers_url":"https://api.github.com/repos/carolynyoo/stack_store/stargazers","contributors_url":"https://api.github.com/repos/carolynyoo/stack_store/contributors","subscribers_url":"https://api.github.com/repos/carolynyoo/stack_store/subscribers","subscription_url":"https://api.github.com/repos/carolynyoo/stack_store/subscription","commits_url":"https://api.github.com/repos/carolynyoo/stack_store/commits{/sha}","git_commits_url":"https://api.github.com/repos/carolynyoo/stack_store/git/commits{/sha}","comments_url":"https://api.github.com/repos/carolynyoo/stack_store/comments{/number}","issue_comment_url":"https://api.github.com/repos/carolynyoo/stack_store/issues/comments{/number}","contents_url":"https://api.github.com/repos/carolynyoo/stack_store/contents/{+path}","compare_url":"https://api.github.com/repos/carolynyoo/stack_store/compare/{base}...{head}","merges_url":"https://api.github.com/repos/carolynyoo/stack_store/merges","archive_url":"https://api.github.com/repos/carolynyoo/stack_store/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/carolynyoo/stack_store/downloads","issues_url":"https://api.github.com/repos/carolynyoo/stack_store/issues{/number}","pulls_url":"https://api.github.com/repos/carolynyoo/stack_store/pulls{/number}","milestones_url":"https://api.github.com/repos/carolynyoo/stack_store/milestones{/number}","notifications_url":"https://api.github.com/repos/carolynyoo/stack_store/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/carolynyoo/stack_store/labels{/name}","releases_url":"https://api.github.com/repos/carolynyoo/stack_store/releases{/id}","created_at":"2015-04-18T14:41:28Z","updated_at":"2015-05-05T23:51:16Z","pushed_at":"2015-05-05T23:44:38Z","git_url":"git://github.com/carolynyoo/stack_store.git","ssh_url":"git@github.com:carolynyoo/stack_store.git","clone_url":"https://github.com/carolynyoo/stack_store.git","svn_url":"https://github.com/carolynyoo/stack_store","homepage":"","size":992,"stargazers_count":2,"watchers_count":2,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":29,"forks":0,"open_issues":29,"watchers":2,"default_branch":"master"}},"base":{"label":"carolynyoo:master","ref":"master","sha":"f2aa49c12a671d1c5ac59f25b9bba9f9cd601e93","user":{"login":"carolynyoo","id":8825278,"avatar_url":"https://avatars.githubusercontent.com/u/8825278?v=3","gravatar_id":"","url":"https://api.github.com/users/carolynyoo","html_url":"https://github.com/carolynyoo","followers_url":"https://api.github.com/users/carolynyoo/followers","following_url":"https://api.github.com/users/carolynyoo/following{/other_user}","gists_url":"https://api.github.com/users/carolynyoo/gists{/gist_id}","starred_url":"https://api.github.com/users/carolynyoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/carolynyoo/subscriptions","organizations_url":"https://api.github.com/users/carolynyoo/orgs","repos_url":"https://api.github.com/users/carolynyoo/repos","events_url":"https://api.github.com/users/carolynyoo/events{/privacy}","received_events_url":"https://api.github.com/users/carolynyoo/received_events","type":"User","site_admin":false},"repo":{"id":34169303,"name":"stack_store","full_name":"carolynyoo/stack_store","owner":{"login":"carolynyoo","id":8825278,"avatar_url":"https://avatars.githubusercontent.com/u/8825278?v=3","gravatar_id":"","url":"https://api.github.com/users/carolynyoo","html_url":"https://github.com/carolynyoo","followers_url":"https://api.github.com/users/carolynyoo/followers","following_url":"https://api.github.com/users/carolynyoo/following{/other_user}","gists_url":"https://api.github.com/users/carolynyoo/gists{/gist_id}","starred_url":"https://api.github.com/users/carolynyoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/carolynyoo/subscriptions","organizations_url":"https://api.github.com/users/carolynyoo/orgs","repos_url":"https://api.github.com/users/carolynyoo/repos","events_url":"https://api.github.com/users/carolynyoo/events{/privacy}","received_events_url":"https://api.github.com/users/carolynyoo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/carolynyoo/stack_store","description":"Movie ecommerce platform (MEAN stack)","fork":false,"url":"https://api.github.com/repos/carolynyoo/stack_store","forks_url":"https://api.github.com/repos/carolynyoo/stack_store/forks","keys_url":"https://api.github.com/repos/carolynyoo/stack_store/keys{/key_id}","collaborators_url":"https://api.github.com/repos/carolynyoo/stack_store/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/carolynyoo/stack_store/teams","hooks_url":"https://api.github.com/repos/carolynyoo/stack_store/hooks","issue_events_url":"https://api.github.com/repos/carolynyoo/stack_store/issues/events{/number}","events_url":"https://api.github.com/repos/carolynyoo/stack_store/events","assignees_url":"https://api.github.com/repos/carolynyoo/stack_store/assignees{/user}","branches_url":"https://api.github.com/repos/carolynyoo/stack_store/branches{/branch}","tags_url":"https://api.github.com/repos/carolynyoo/stack_store/tags","blobs_url":"https://api.github.com/repos/carolynyoo/stack_store/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/carolynyoo/stack_store/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/carolynyoo/stack_store/git/refs{/sha}","trees_url":"https://api.github.com/repos/carolynyoo/stack_store/git/trees{/sha}","statuses_url":"https://api.github.com/repos/carolynyoo/stack_store/statuses/{sha}","languages_url":"https://api.github.com/repos/carolynyoo/stack_store/languages","stargazers_url":"https://api.github.com/repos/carolynyoo/stack_store/stargazers","contributors_url":"https://api.github.com/repos/carolynyoo/stack_store/contributors","subscribers_url":"https://api.github.com/repos/carolynyoo/stack_store/subscribers","subscription_url":"https://api.github.com/repos/carolynyoo/stack_store/subscription","commits_url":"https://api.github.com/repos/carolynyoo/stack_store/commits{/sha}","git_commits_url":"https://api.github.com/repos/carolynyoo/stack_store/git/commits{/sha}","comments_url":"https://api.github.com/repos/carolynyoo/stack_store/comments{/number}","issue_comment_url":"https://api.github.com/repos/carolynyoo/stack_store/issues/comments{/number}","contents_url":"https://api.github.com/repos/carolynyoo/stack_store/contents/{+path}","compare_url":"https://api.github.com/repos/carolynyoo/stack_store/compare/{base}...{head}","merges_url":"https://api.github.com/repos/carolynyoo/stack_store/merges","archive_url":"https://api.github.com/repos/carolynyoo/stack_store/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/carolynyoo/stack_store/downloads","issues_url":"https://api.github.com/repos/carolynyoo/stack_store/issues{/number}","pulls_url":"https://api.github.com/repos/carolynyoo/stack_store/pulls{/number}","milestones_url":"https://api.github.com/repos/carolynyoo/stack_store/milestones{/number}","notifications_url":"https://api.github.com/repos/carolynyoo/stack_store/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/carolynyoo/stack_store/labels{/name}","releases_url":"https://api.github.com/repos/carolynyoo/stack_store/releases{/id}","created_at":"2015-04-18T14:41:28Z","updated_at":"2015-05-05T23:51:16Z","pushed_at":"2015-05-05T23:44:38Z","git_url":"git://github.com/carolynyoo/stack_store.git","ssh_url":"git@github.com:carolynyoo/stack_store.git","clone_url":"https://github.com/carolynyoo/stack_store.git","svn_url":"https://github.com/carolynyoo/stack_store","homepage":"","size":992,"stargazers_count":2,"watchers_count":2,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":29,"forks":0,"open_issues":29,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/carolynyoo/stack_store/pulls/119"},"html":{"href":"https://github.com/carolynyoo/stack_store/pull/119"},"issue":{"href":"https://api.github.com/repos/carolynyoo/stack_store/issues/119"},"comments":{"href":"https://api.github.com/repos/carolynyoo/stack_store/issues/119/comments"},"review_comments":{"href":"https://api.github.com/repos/carolynyoo/stack_store/pulls/119/comments"},"review_comment":{"href":"https://api.github.com/repos/carolynyoo/stack_store/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/carolynyoo/stack_store/pulls/119/commits"},"statuses":{"href":"https://api.github.com/repos/carolynyoo/stack_store/statuses/388aa30087d9dbfc7af982c5fa89eb5f3acf1cbf"}}}}