{"action":"created","comment":{"url":"https://api.github.com/repos/urfu-2015/team2/pulls/comments/59971174","id":59971174,"diff_hunk":"@@ -0,0 +1,12 @@\n+'use strict';\n+\n+const mongoose = require('mongoose');\n+const Schema = mongoose.Schema;\n+\n+let questsStartedSchema = new Schema({\n+    userId: { type: Schema.Types.ObjectId, ref: 'User' },\n+    questId: { type: Schema.Types.ObjectId, ref: 'Quests' },\n+    stageId: [{ type: Schema.Types.ObjectId, ref: 'Stages' }]","path":"models/questsStarted.js","position":9,"original_position":9,"commit_id":"49b6b45188278d4ff18c8c435e238a148973cbbb","original_commit_id":"49b6b45188278d4ff18c8c435e238a148973cbbb","user":{"login":"Lakate","id":8994274,"avatar_url":"https://avatars.githubusercontent.com/u/8994274?v=3","gravatar_id":"","url":"https://api.github.com/users/Lakate","html_url":"https://github.com/Lakate","followers_url":"https://api.github.com/users/Lakate/followers","following_url":"https://api.github.com/users/Lakate/following{/other_user}","gists_url":"https://api.github.com/users/Lakate/gists{/gist_id}","starred_url":"https://api.github.com/users/Lakate/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Lakate/subscriptions","organizations_url":"https://api.github.com/users/Lakate/orgs","repos_url":"https://api.github.com/users/Lakate/repos","events_url":"https://api.github.com/users/Lakate/events{/privacy}","received_events_url":"https://api.github.com/users/Lakate/received_events","type":"User","site_admin":false},"body":"что за checkins?","created_at":"2016-04-16T17:55:18Z","updated_at":"2016-04-16T17:55:18Z","html_url":"https://github.com/urfu-2015/team2/pull/78#discussion_r59971174","pull_request_url":"https://api.github.com/repos/urfu-2015/team2/pulls/78","_links":{"self":{"href":"https://api.github.com/repos/urfu-2015/team2/pulls/comments/59971174"},"html":{"href":"https://github.com/urfu-2015/team2/pull/78#discussion_r59971174"},"pull_request":{"href":"https://api.github.com/repos/urfu-2015/team2/pulls/78"}}},"pull_request":{"url":"https://api.github.com/repos/urfu-2015/team2/pulls/78","id":65035272,"html_url":"https://github.com/urfu-2015/team2/pull/78","diff_url":"https://github.com/urfu-2015/team2/pull/78.diff","patch_url":"https://github.com/urfu-2015/team2/pull/78.patch","issue_url":"https://api.github.com/repos/urfu-2015/team2/issues/78","number":78,"state":"open","locked":false,"title":"Kuporos 72 - questsDone, questsStarted, questsMarked + User model","user":{"login":"Lakate","id":8994274,"avatar_url":"https://avatars.githubusercontent.com/u/8994274?v=3","gravatar_id":"","url":"https://api.github.com/users/Lakate","html_url":"https://github.com/Lakate","followers_url":"https://api.github.com/users/Lakate/followers","following_url":"https://api.github.com/users/Lakate/following{/other_user}","gists_url":"https://api.github.com/users/Lakate/gists{/gist_id}","starred_url":"https://api.github.com/users/Lakate/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Lakate/subscriptions","organizations_url":"https://api.github.com/users/Lakate/orgs","repos_url":"https://api.github.com/users/Lakate/repos","events_url":"https://api.github.com/users/Lakate/events{/privacy}","received_events_url":"https://api.github.com/users/Lakate/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-04-02T11:12:34Z","updated_at":"2016-04-16T17:55:18Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d18c2c2193955bf5085a86f839040cea62c3d7d1","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/urfu-2015/team2/pulls/78/commits","review_comments_url":"https://api.github.com/repos/urfu-2015/team2/pulls/78/comments","review_comment_url":"https://api.github.com/repos/urfu-2015/team2/pulls/comments{/number}","comments_url":"https://api.github.com/repos/urfu-2015/team2/issues/78/comments","statuses_url":"https://api.github.com/repos/urfu-2015/team2/statuses/49b6b45188278d4ff18c8c435e238a148973cbbb","head":{"label":"Lakate:KUPOROS-72","ref":"KUPOROS-72","sha":"49b6b45188278d4ff18c8c435e238a148973cbbb","user":{"login":"Lakate","id":8994274,"avatar_url":"https://avatars.githubusercontent.com/u/8994274?v=3","gravatar_id":"","url":"https://api.github.com/users/Lakate","html_url":"https://github.com/Lakate","followers_url":"https://api.github.com/users/Lakate/followers","following_url":"https://api.github.com/users/Lakate/following{/other_user}","gists_url":"https://api.github.com/users/Lakate/gists{/gist_id}","starred_url":"https://api.github.com/users/Lakate/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Lakate/subscriptions","organizations_url":"https://api.github.com/users/Lakate/orgs","repos_url":"https://api.github.com/users/Lakate/repos","events_url":"https://api.github.com/users/Lakate/events{/privacy}","received_events_url":"https://api.github.com/users/Lakate/received_events","type":"User","site_admin":false},"repo":{"id":53773132,"name":"team2","full_name":"Lakate/team2","owner":{"login":"Lakate","id":8994274,"avatar_url":"https://avatars.githubusercontent.com/u/8994274?v=3","gravatar_id":"","url":"https://api.github.com/users/Lakate","html_url":"https://github.com/Lakate","followers_url":"https://api.github.com/users/Lakate/followers","following_url":"https://api.github.com/users/Lakate/following{/other_user}","gists_url":"https://api.github.com/users/Lakate/gists{/gist_id}","starred_url":"https://api.github.com/users/Lakate/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Lakate/subscriptions","organizations_url":"https://api.github.com/users/Lakate/orgs","repos_url":"https://api.github.com/users/Lakate/repos","events_url":"https://api.github.com/users/Lakate/events{/privacy}","received_events_url":"https://api.github.com/users/Lakate/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Lakate/team2","description":"","fork":true,"url":"https://api.github.com/repos/Lakate/team2","forks_url":"https://api.github.com/repos/Lakate/team2/forks","keys_url":"https://api.github.com/repos/Lakate/team2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Lakate/team2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Lakate/team2/teams","hooks_url":"https://api.github.com/repos/Lakate/team2/hooks","issue_events_url":"https://api.github.com/repos/Lakate/team2/issues/events{/number}","events_url":"https://api.github.com/repos/Lakate/team2/events","assignees_url":"https://api.github.com/repos/Lakate/team2/assignees{/user}","branches_url":"https://api.github.com/repos/Lakate/team2/branches{/branch}","tags_url":"https://api.github.com/repos/Lakate/team2/tags","blobs_url":"https://api.github.com/repos/Lakate/team2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Lakate/team2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Lakate/team2/git/refs{/sha}","trees_url":"https://api.github.com/repos/Lakate/team2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Lakate/team2/statuses/{sha}","languages_url":"https://api.github.com/repos/Lakate/team2/languages","stargazers_url":"https://api.github.com/repos/Lakate/team2/stargazers","contributors_url":"https://api.github.com/repos/Lakate/team2/contributors","subscribers_url":"https://api.github.com/repos/Lakate/team2/subscribers","subscription_url":"https://api.github.com/repos/Lakate/team2/subscription","commits_url":"https://api.github.com/repos/Lakate/team2/commits{/sha}","git_commits_url":"https://api.github.com/repos/Lakate/team2/git/commits{/sha}","comments_url":"https://api.github.com/repos/Lakate/team2/comments{/number}","issue_comment_url":"https://api.github.com/repos/Lakate/team2/issues/comments{/number}","contents_url":"https://api.github.com/repos/Lakate/team2/contents/{+path}","compare_url":"https://api.github.com/repos/Lakate/team2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Lakate/team2/merges","archive_url":"https://api.github.com/repos/Lakate/team2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Lakate/team2/downloads","issues_url":"https://api.github.com/repos/Lakate/team2/issues{/number}","pulls_url":"https://api.github.com/repos/Lakate/team2/pulls{/number}","milestones_url":"https://api.github.com/repos/Lakate/team2/milestones{/number}","notifications_url":"https://api.github.com/repos/Lakate/team2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Lakate/team2/labels{/name}","releases_url":"https://api.github.com/repos/Lakate/team2/releases{/id}","deployments_url":"https://api.github.com/repos/Lakate/team2/deployments","created_at":"2016-03-13T07:37:15Z","updated_at":"2016-03-18T08:08:35Z","pushed_at":"2016-04-16T17:55:07Z","git_url":"git://github.com/Lakate/team2.git","ssh_url":"git@github.com:Lakate/team2.git","clone_url":"https://github.com/Lakate/team2.git","svn_url":"https://github.com/Lakate/team2","homepage":null,"size":116,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"urfu-2015:master","ref":"master","sha":"88e28cbd5fb7be2349879ca9d6a417c5b9c633c3","user":{"login":"urfu-2015","id":14800971,"avatar_url":"https://avatars.githubusercontent.com/u/14800971?v=3","gravatar_id":"","url":"https://api.github.com/users/urfu-2015","html_url":"https://github.com/urfu-2015","followers_url":"https://api.github.com/users/urfu-2015/followers","following_url":"https://api.github.com/users/urfu-2015/following{/other_user}","gists_url":"https://api.github.com/users/urfu-2015/gists{/gist_id}","starred_url":"https://api.github.com/users/urfu-2015/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/urfu-2015/subscriptions","organizations_url":"https://api.github.com/users/urfu-2015/orgs","repos_url":"https://api.github.com/users/urfu-2015/repos","events_url":"https://api.github.com/users/urfu-2015/events{/privacy}","received_events_url":"https://api.github.com/users/urfu-2015/received_events","type":"Organization","site_admin":false},"repo":{"id":53662655,"name":"team2","full_name":"urfu-2015/team2","owner":{"login":"urfu-2015","id":14800971,"avatar_url":"https://avatars.githubusercontent.com/u/14800971?v=3","gravatar_id":"","url":"https://api.github.com/users/urfu-2015","html_url":"https://github.com/urfu-2015","followers_url":"https://api.github.com/users/urfu-2015/followers","following_url":"https://api.github.com/users/urfu-2015/following{/other_user}","gists_url":"https://api.github.com/users/urfu-2015/gists{/gist_id}","starred_url":"https://api.github.com/users/urfu-2015/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/urfu-2015/subscriptions","organizations_url":"https://api.github.com/users/urfu-2015/orgs","repos_url":"https://api.github.com/users/urfu-2015/repos","events_url":"https://api.github.com/users/urfu-2015/events{/privacy}","received_events_url":"https://api.github.com/users/urfu-2015/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/urfu-2015/team2","description":"","fork":false,"url":"https://api.github.com/repos/urfu-2015/team2","forks_url":"https://api.github.com/repos/urfu-2015/team2/forks","keys_url":"https://api.github.com/repos/urfu-2015/team2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/urfu-2015/team2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/urfu-2015/team2/teams","hooks_url":"https://api.github.com/repos/urfu-2015/team2/hooks","issue_events_url":"https://api.github.com/repos/urfu-2015/team2/issues/events{/number}","events_url":"https://api.github.com/repos/urfu-2015/team2/events","assignees_url":"https://api.github.com/repos/urfu-2015/team2/assignees{/user}","branches_url":"https://api.github.com/repos/urfu-2015/team2/branches{/branch}","tags_url":"https://api.github.com/repos/urfu-2015/team2/tags","blobs_url":"https://api.github.com/repos/urfu-2015/team2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/urfu-2015/team2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/urfu-2015/team2/git/refs{/sha}","trees_url":"https://api.github.com/repos/urfu-2015/team2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/urfu-2015/team2/statuses/{sha}","languages_url":"https://api.github.com/repos/urfu-2015/team2/languages","stargazers_url":"https://api.github.com/repos/urfu-2015/team2/stargazers","contributors_url":"https://api.github.com/repos/urfu-2015/team2/contributors","subscribers_url":"https://api.github.com/repos/urfu-2015/team2/subscribers","subscription_url":"https://api.github.com/repos/urfu-2015/team2/subscription","commits_url":"https://api.github.com/repos/urfu-2015/team2/commits{/sha}","git_commits_url":"https://api.github.com/repos/urfu-2015/team2/git/commits{/sha}","comments_url":"https://api.github.com/repos/urfu-2015/team2/comments{/number}","issue_comment_url":"https://api.github.com/repos/urfu-2015/team2/issues/comments{/number}","contents_url":"https://api.github.com/repos/urfu-2015/team2/contents/{+path}","compare_url":"https://api.github.com/repos/urfu-2015/team2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/urfu-2015/team2/merges","archive_url":"https://api.github.com/repos/urfu-2015/team2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/urfu-2015/team2/downloads","issues_url":"https://api.github.com/repos/urfu-2015/team2/issues{/number}","pulls_url":"https://api.github.com/repos/urfu-2015/team2/pulls{/number}","milestones_url":"https://api.github.com/repos/urfu-2015/team2/milestones{/number}","notifications_url":"https://api.github.com/repos/urfu-2015/team2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/urfu-2015/team2/labels{/name}","releases_url":"https://api.github.com/repos/urfu-2015/team2/releases{/id}","deployments_url":"https://api.github.com/repos/urfu-2015/team2/deployments","created_at":"2016-03-11T11:30:27Z","updated_at":"2016-03-13T10:08:31Z","pushed_at":"2016-04-16T17:50:54Z","git_url":"git://github.com/urfu-2015/team2.git","ssh_url":"git@github.com:urfu-2015/team2.git","clone_url":"https://github.com/urfu-2015/team2.git","svn_url":"https://github.com/urfu-2015/team2","homepage":null,"size":128,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":10,"mirror_url":null,"open_issues_count":19,"forks":10,"open_issues":19,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/urfu-2015/team2/pulls/78"},"html":{"href":"https://github.com/urfu-2015/team2/pull/78"},"issue":{"href":"https://api.github.com/repos/urfu-2015/team2/issues/78"},"comments":{"href":"https://api.github.com/repos/urfu-2015/team2/issues/78/comments"},"review_comments":{"href":"https://api.github.com/repos/urfu-2015/team2/pulls/78/comments"},"review_comment":{"href":"https://api.github.com/repos/urfu-2015/team2/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/urfu-2015/team2/pulls/78/commits"},"statuses":{"href":"https://api.github.com/repos/urfu-2015/team2/statuses/49b6b45188278d4ff18c8c435e238a148973cbbb"}}}}