{"action":"created","comment":{"url":"https://api.github.com/repos/edu-xored/calendar/pulls/comments/85179051","pull_request_review_id":5906710,"id":85179051,"diff_hunk":"@@ -0,0 +1,24 @@\n+import \"sequelize\";\n+import { User } from '../../lib/model';\n+import { sequelize } from \"../database/database\";\n+import { MUser } from \"../database/models/MUser\";\n+\n+export function getAll(): Promise<User[]> {\n+    return sequelize.sync()","path":"src/server/Storages/usersStore.ts","position":7,"original_position":7,"commit_id":"e8faecac86ddf3f1612b4ebc883906bd0163598a","original_commit_id":"e8faecac86ddf3f1612b4ebc883906bd0163598a","user":{"login":"sergeyt","id":190322,"avatar_url":"https://avatars.githubusercontent.com/u/190322?v=3","gravatar_id":"","url":"https://api.github.com/users/sergeyt","html_url":"https://github.com/sergeyt","followers_url":"https://api.github.com/users/sergeyt/followers","following_url":"https://api.github.com/users/sergeyt/following{/other_user}","gists_url":"https://api.github.com/users/sergeyt/gists{/gist_id}","starred_url":"https://api.github.com/users/sergeyt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sergeyt/subscriptions","organizations_url":"https://api.github.com/users/sergeyt/orgs","repos_url":"https://api.github.com/users/sergeyt/repos","events_url":"https://api.github.com/users/sergeyt/events{/privacy}","received_events_url":"https://api.github.com/users/sergeyt/received_events","type":"User","site_admin":false},"body":"`sequelize.sync()` should be called once inside [server.ts](https://github.com/edu-xored/calendar/blob/master/server.ts) before starting HTTP server.","created_at":"2016-10-26T17:41:41Z","updated_at":"2016-10-26T17:47:41Z","html_url":"https://github.com/edu-xored/calendar/pull/38#discussion_r85179051","pull_request_url":"https://api.github.com/repos/edu-xored/calendar/pulls/38","_links":{"self":{"href":"https://api.github.com/repos/edu-xored/calendar/pulls/comments/85179051"},"html":{"href":"https://github.com/edu-xored/calendar/pull/38#discussion_r85179051"},"pull_request":{"href":"https://api.github.com/repos/edu-xored/calendar/pulls/38"}}},"pull_request":{"url":"https://api.github.com/repos/edu-xored/calendar/pulls/38","id":91048646,"html_url":"https://github.com/edu-xored/calendar/pull/38","diff_url":"https://github.com/edu-xored/calendar/pull/38.diff","patch_url":"https://github.com/edu-xored/calendar/pull/38.patch","issue_url":"https://api.github.com/repos/edu-xored/calendar/issues/38","number":38,"state":"open","locked":false,"title":"Core 7","user":{"login":"Evgenius2020","id":20744713,"avatar_url":"https://avatars.githubusercontent.com/u/20744713?v=3","gravatar_id":"","url":"https://api.github.com/users/Evgenius2020","html_url":"https://github.com/Evgenius2020","followers_url":"https://api.github.com/users/Evgenius2020/followers","following_url":"https://api.github.com/users/Evgenius2020/following{/other_user}","gists_url":"https://api.github.com/users/Evgenius2020/gists{/gist_id}","starred_url":"https://api.github.com/users/Evgenius2020/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Evgenius2020/subscriptions","organizations_url":"https://api.github.com/users/Evgenius2020/orgs","repos_url":"https://api.github.com/users/Evgenius2020/repos","events_url":"https://api.github.com/users/Evgenius2020/events{/privacy}","received_events_url":"https://api.github.com/users/Evgenius2020/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-10-26T17:15:57Z","updated_at":"2016-10-26T17:47:41Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ad26451923737dcd2df6595c40245a849eba769c","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/edu-xored/calendar/pulls/38/commits","review_comments_url":"https://api.github.com/repos/edu-xored/calendar/pulls/38/comments","review_comment_url":"https://api.github.com/repos/edu-xored/calendar/pulls/comments{/number}","comments_url":"https://api.github.com/repos/edu-xored/calendar/issues/38/comments","statuses_url":"https://api.github.com/repos/edu-xored/calendar/statuses/e8faecac86ddf3f1612b4ebc883906bd0163598a","head":{"label":"edu-xored:CORE-7","ref":"CORE-7","sha":"e8faecac86ddf3f1612b4ebc883906bd0163598a","user":{"login":"edu-xored","id":21689140,"avatar_url":"https://avatars.githubusercontent.com/u/21689140?v=3","gravatar_id":"","url":"https://api.github.com/users/edu-xored","html_url":"https://github.com/edu-xored","followers_url":"https://api.github.com/users/edu-xored/followers","following_url":"https://api.github.com/users/edu-xored/following{/other_user}","gists_url":"https://api.github.com/users/edu-xored/gists{/gist_id}","starred_url":"https://api.github.com/users/edu-xored/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edu-xored/subscriptions","organizations_url":"https://api.github.com/users/edu-xored/orgs","repos_url":"https://api.github.com/users/edu-xored/repos","events_url":"https://api.github.com/users/edu-xored/events{/privacy}","received_events_url":"https://api.github.com/users/edu-xored/received_events","type":"Organization","site_admin":false},"repo":{"id":70613248,"name":"calendar","full_name":"edu-xored/calendar","owner":{"login":"edu-xored","id":21689140,"avatar_url":"https://avatars.githubusercontent.com/u/21689140?v=3","gravatar_id":"","url":"https://api.github.com/users/edu-xored","html_url":"https://github.com/edu-xored","followers_url":"https://api.github.com/users/edu-xored/followers","following_url":"https://api.github.com/users/edu-xored/following{/other_user}","gists_url":"https://api.github.com/users/edu-xored/gists{/gist_id}","starred_url":"https://api.github.com/users/edu-xored/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edu-xored/subscriptions","organizations_url":"https://api.github.com/users/edu-xored/orgs","repos_url":"https://api.github.com/users/edu-xored/repos","events_url":"https://api.github.com/users/edu-xored/events{/privacy}","received_events_url":"https://api.github.com/users/edu-xored/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/edu-xored/calendar","description":"Team calendars","fork":false,"url":"https://api.github.com/repos/edu-xored/calendar","forks_url":"https://api.github.com/repos/edu-xored/calendar/forks","keys_url":"https://api.github.com/repos/edu-xored/calendar/keys{/key_id}","collaborators_url":"https://api.github.com/repos/edu-xored/calendar/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/edu-xored/calendar/teams","hooks_url":"https://api.github.com/repos/edu-xored/calendar/hooks","issue_events_url":"https://api.github.com/repos/edu-xored/calendar/issues/events{/number}","events_url":"https://api.github.com/repos/edu-xored/calendar/events","assignees_url":"https://api.github.com/repos/edu-xored/calendar/assignees{/user}","branches_url":"https://api.github.com/repos/edu-xored/calendar/branches{/branch}","tags_url":"https://api.github.com/repos/edu-xored/calendar/tags","blobs_url":"https://api.github.com/repos/edu-xored/calendar/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/edu-xored/calendar/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/edu-xored/calendar/git/refs{/sha}","trees_url":"https://api.github.com/repos/edu-xored/calendar/git/trees{/sha}","statuses_url":"https://api.github.com/repos/edu-xored/calendar/statuses/{sha}","languages_url":"https://api.github.com/repos/edu-xored/calendar/languages","stargazers_url":"https://api.github.com/repos/edu-xored/calendar/stargazers","contributors_url":"https://api.github.com/repos/edu-xored/calendar/contributors","subscribers_url":"https://api.github.com/repos/edu-xored/calendar/subscribers","subscription_url":"https://api.github.com/repos/edu-xored/calendar/subscription","commits_url":"https://api.github.com/repos/edu-xored/calendar/commits{/sha}","git_commits_url":"https://api.github.com/repos/edu-xored/calendar/git/commits{/sha}","comments_url":"https://api.github.com/repos/edu-xored/calendar/comments{/number}","issue_comment_url":"https://api.github.com/repos/edu-xored/calendar/issues/comments{/number}","contents_url":"https://api.github.com/repos/edu-xored/calendar/contents/{+path}","compare_url":"https://api.github.com/repos/edu-xored/calendar/compare/{base}...{head}","merges_url":"https://api.github.com/repos/edu-xored/calendar/merges","archive_url":"https://api.github.com/repos/edu-xored/calendar/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/edu-xored/calendar/downloads","issues_url":"https://api.github.com/repos/edu-xored/calendar/issues{/number}","pulls_url":"https://api.github.com/repos/edu-xored/calendar/pulls{/number}","milestones_url":"https://api.github.com/repos/edu-xored/calendar/milestones{/number}","notifications_url":"https://api.github.com/repos/edu-xored/calendar/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/edu-xored/calendar/labels{/name}","releases_url":"https://api.github.com/repos/edu-xored/calendar/releases{/id}","deployments_url":"https://api.github.com/repos/edu-xored/calendar/deployments","created_at":"2016-10-11T16:28:55Z","updated_at":"2016-10-22T09:50:24Z","pushed_at":"2016-10-26T17:25:35Z","git_url":"git://github.com/edu-xored/calendar.git","ssh_url":"git@github.com:edu-xored/calendar.git","clone_url":"https://github.com/edu-xored/calendar.git","svn_url":"https://github.com/edu-xored/calendar","homepage":null,"size":1422,"stargazers_count":5,"watchers_count":5,"language":"CSS","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":30,"forks":0,"open_issues":30,"watchers":5,"default_branch":"master"}},"base":{"label":"edu-xored:master","ref":"master","sha":"bf827ab8c28ebd96a90e828127520a92b42b9770","user":{"login":"edu-xored","id":21689140,"avatar_url":"https://avatars.githubusercontent.com/u/21689140?v=3","gravatar_id":"","url":"https://api.github.com/users/edu-xored","html_url":"https://github.com/edu-xored","followers_url":"https://api.github.com/users/edu-xored/followers","following_url":"https://api.github.com/users/edu-xored/following{/other_user}","gists_url":"https://api.github.com/users/edu-xored/gists{/gist_id}","starred_url":"https://api.github.com/users/edu-xored/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edu-xored/subscriptions","organizations_url":"https://api.github.com/users/edu-xored/orgs","repos_url":"https://api.github.com/users/edu-xored/repos","events_url":"https://api.github.com/users/edu-xored/events{/privacy}","received_events_url":"https://api.github.com/users/edu-xored/received_events","type":"Organization","site_admin":false},"repo":{"id":70613248,"name":"calendar","full_name":"edu-xored/calendar","owner":{"login":"edu-xored","id":21689140,"avatar_url":"https://avatars.githubusercontent.com/u/21689140?v=3","gravatar_id":"","url":"https://api.github.com/users/edu-xored","html_url":"https://github.com/edu-xored","followers_url":"https://api.github.com/users/edu-xored/followers","following_url":"https://api.github.com/users/edu-xored/following{/other_user}","gists_url":"https://api.github.com/users/edu-xored/gists{/gist_id}","starred_url":"https://api.github.com/users/edu-xored/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edu-xored/subscriptions","organizations_url":"https://api.github.com/users/edu-xored/orgs","repos_url":"https://api.github.com/users/edu-xored/repos","events_url":"https://api.github.com/users/edu-xored/events{/privacy}","received_events_url":"https://api.github.com/users/edu-xored/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/edu-xored/calendar","description":"Team calendars","fork":false,"url":"https://api.github.com/repos/edu-xored/calendar","forks_url":"https://api.github.com/repos/edu-xored/calendar/forks","keys_url":"https://api.github.com/repos/edu-xored/calendar/keys{/key_id}","collaborators_url":"https://api.github.com/repos/edu-xored/calendar/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/edu-xored/calendar/teams","hooks_url":"https://api.github.com/repos/edu-xored/calendar/hooks","issue_events_url":"https://api.github.com/repos/edu-xored/calendar/issues/events{/number}","events_url":"https://api.github.com/repos/edu-xored/calendar/events","assignees_url":"https://api.github.com/repos/edu-xored/calendar/assignees{/user}","branches_url":"https://api.github.com/repos/edu-xored/calendar/branches{/branch}","tags_url":"https://api.github.com/repos/edu-xored/calendar/tags","blobs_url":"https://api.github.com/repos/edu-xored/calendar/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/edu-xored/calendar/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/edu-xored/calendar/git/refs{/sha}","trees_url":"https://api.github.com/repos/edu-xored/calendar/git/trees{/sha}","statuses_url":"https://api.github.com/repos/edu-xored/calendar/statuses/{sha}","languages_url":"https://api.github.com/repos/edu-xored/calendar/languages","stargazers_url":"https://api.github.com/repos/edu-xored/calendar/stargazers","contributors_url":"https://api.github.com/repos/edu-xored/calendar/contributors","subscribers_url":"https://api.github.com/repos/edu-xored/calendar/subscribers","subscription_url":"https://api.github.com/repos/edu-xored/calendar/subscription","commits_url":"https://api.github.com/repos/edu-xored/calendar/commits{/sha}","git_commits_url":"https://api.github.com/repos/edu-xored/calendar/git/commits{/sha}","comments_url":"https://api.github.com/repos/edu-xored/calendar/comments{/number}","issue_comment_url":"https://api.github.com/repos/edu-xored/calendar/issues/comments{/number}","contents_url":"https://api.github.com/repos/edu-xored/calendar/contents/{+path}","compare_url":"https://api.github.com/repos/edu-xored/calendar/compare/{base}...{head}","merges_url":"https://api.github.com/repos/edu-xored/calendar/merges","archive_url":"https://api.github.com/repos/edu-xored/calendar/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/edu-xored/calendar/downloads","issues_url":"https://api.github.com/repos/edu-xored/calendar/issues{/number}","pulls_url":"https://api.github.com/repos/edu-xored/calendar/pulls{/number}","milestones_url":"https://api.github.com/repos/edu-xored/calendar/milestones{/number}","notifications_url":"https://api.github.com/repos/edu-xored/calendar/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/edu-xored/calendar/labels{/name}","releases_url":"https://api.github.com/repos/edu-xored/calendar/releases{/id}","deployments_url":"https://api.github.com/repos/edu-xored/calendar/deployments","created_at":"2016-10-11T16:28:55Z","updated_at":"2016-10-22T09:50:24Z","pushed_at":"2016-10-26T17:25:35Z","git_url":"git://github.com/edu-xored/calendar.git","ssh_url":"git@github.com:edu-xored/calendar.git","clone_url":"https://github.com/edu-xored/calendar.git","svn_url":"https://github.com/edu-xored/calendar","homepage":null,"size":1422,"stargazers_count":5,"watchers_count":5,"language":"CSS","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":30,"forks":0,"open_issues":30,"watchers":5,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/edu-xored/calendar/pulls/38"},"html":{"href":"https://github.com/edu-xored/calendar/pull/38"},"issue":{"href":"https://api.github.com/repos/edu-xored/calendar/issues/38"},"comments":{"href":"https://api.github.com/repos/edu-xored/calendar/issues/38/comments"},"review_comments":{"href":"https://api.github.com/repos/edu-xored/calendar/pulls/38/comments"},"review_comment":{"href":"https://api.github.com/repos/edu-xored/calendar/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/edu-xored/calendar/pulls/38/commits"},"statuses":{"href":"https://api.github.com/repos/edu-xored/calendar/statuses/e8faecac86ddf3f1612b4ebc883906bd0163598a"}}}}
{"actor":{"display_login":"sergeyt"}}