{"action":"created","comment":{"url":"https://api.github.com/repos/marmelab/javascript-boilerplate/pulls/comments/50287838","id":50287838,"diff_hunk":"@@ -0,0 +1,26 @@\n+'use strict';\n+\n+var dbm;","path":"api/migrations/20160119145322-user.js","position":3,"original_position":3,"commit_id":"30ec8e0be18a0c748687b226b8f781bdeb784994","original_commit_id":"30ec8e0be18a0c748687b226b8f781bdeb784994","user":{"login":"Kmaschta","id":1819833,"avatar_url":"https://avatars.githubusercontent.com/u/1819833?v=3","gravatar_id":"","url":"https://api.github.com/users/Kmaschta","html_url":"https://github.com/Kmaschta","followers_url":"https://api.github.com/users/Kmaschta/followers","following_url":"https://api.github.com/users/Kmaschta/following{/other_user}","gists_url":"https://api.github.com/users/Kmaschta/gists{/gist_id}","starred_url":"https://api.github.com/users/Kmaschta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kmaschta/subscriptions","organizations_url":"https://api.github.com/users/Kmaschta/orgs","repos_url":"https://api.github.com/users/Kmaschta/repos","events_url":"https://api.github.com/users/Kmaschta/events{/privacy}","received_events_url":"https://api.github.com/users/Kmaschta/received_events","type":"User","site_admin":false},"body":"It is auto-generated by `db-migrate`, but you're right :+1: ","created_at":"2016-01-20T17:27:38Z","updated_at":"2016-01-20T17:27:38Z","html_url":"https://github.com/marmelab/javascript-boilerplate/pull/8#discussion_r50287838","pull_request_url":"https://api.github.com/repos/marmelab/javascript-boilerplate/pulls/8","_links":{"self":{"href":"https://api.github.com/repos/marmelab/javascript-boilerplate/pulls/comments/50287838"},"html":{"href":"https://github.com/marmelab/javascript-boilerplate/pull/8#discussion_r50287838"},"pull_request":{"href":"https://api.github.com/repos/marmelab/javascript-boilerplate/pulls/8"}}},"pull_request":{"url":"https://api.github.com/repos/marmelab/javascript-boilerplate/pulls/8","id":56368762,"html_url":"https://github.com/marmelab/javascript-boilerplate/pull/8","diff_url":"https://github.com/marmelab/javascript-boilerplate/pull/8.diff","patch_url":"https://github.com/marmelab/javascript-boilerplate/pull/8.patch","issue_url":"https://api.github.com/repos/marmelab/javascript-boilerplate/issues/8","number":8,"state":"open","locked":false,"title":"[RFR] PostgreSQL database","user":{"login":"Kmaschta","id":1819833,"avatar_url":"https://avatars.githubusercontent.com/u/1819833?v=3","gravatar_id":"","url":"https://api.github.com/users/Kmaschta","html_url":"https://github.com/Kmaschta","followers_url":"https://api.github.com/users/Kmaschta/followers","following_url":"https://api.github.com/users/Kmaschta/following{/other_user}","gists_url":"https://api.github.com/users/Kmaschta/gists{/gist_id}","starred_url":"https://api.github.com/users/Kmaschta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kmaschta/subscriptions","organizations_url":"https://api.github.com/users/Kmaschta/orgs","repos_url":"https://api.github.com/users/Kmaschta/repos","events_url":"https://api.github.com/users/Kmaschta/events{/privacy}","received_events_url":"https://api.github.com/users/Kmaschta/received_events","type":"User","site_admin":false},"body":"## TODO\r\n- [x] PostgreSQL connection\r\n- [x] CRUD & queries lib\r\n- [x] Migrations lib\r\n- [x] User model & API endpoint\r\n- [x] Tests","created_at":"2016-01-18T17:08:42Z","updated_at":"2016-01-20T17:27:38Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1f78f96b4f06ac97162f1b1e4ef00bed3d248d50","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/marmelab/javascript-boilerplate/pulls/8/commits","review_comments_url":"https://api.github.com/repos/marmelab/javascript-boilerplate/pulls/8/comments","review_comment_url":"https://api.github.com/repos/marmelab/javascript-boilerplate/pulls/comments{/number}","comments_url":"https://api.github.com/repos/marmelab/javascript-boilerplate/issues/8/comments","statuses_url":"https://api.github.com/repos/marmelab/javascript-boilerplate/statuses/30ec8e0be18a0c748687b226b8f781bdeb784994","head":{"label":"marmelab:database2","ref":"database2","sha":"30ec8e0be18a0c748687b226b8f781bdeb784994","user":{"login":"marmelab","id":3116319,"avatar_url":"https://avatars.githubusercontent.com/u/3116319?v=3","gravatar_id":"","url":"https://api.github.com/users/marmelab","html_url":"https://github.com/marmelab","followers_url":"https://api.github.com/users/marmelab/followers","following_url":"https://api.github.com/users/marmelab/following{/other_user}","gists_url":"https://api.github.com/users/marmelab/gists{/gist_id}","starred_url":"https://api.github.com/users/marmelab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marmelab/subscriptions","organizations_url":"https://api.github.com/users/marmelab/orgs","repos_url":"https://api.github.com/users/marmelab/repos","events_url":"https://api.github.com/users/marmelab/events{/privacy}","received_events_url":"https://api.github.com/users/marmelab/received_events","type":"Organization","site_admin":false},"repo":{"id":49864754,"name":"javascript-boilerplate","full_name":"marmelab/javascript-boilerplate","owner":{"login":"marmelab","id":3116319,"avatar_url":"https://avatars.githubusercontent.com/u/3116319?v=3","gravatar_id":"","url":"https://api.github.com/users/marmelab","html_url":"https://github.com/marmelab","followers_url":"https://api.github.com/users/marmelab/followers","following_url":"https://api.github.com/users/marmelab/following{/other_user}","gists_url":"https://api.github.com/users/marmelab/gists{/gist_id}","starred_url":"https://api.github.com/users/marmelab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marmelab/subscriptions","organizations_url":"https://api.github.com/users/marmelab/orgs","repos_url":"https://api.github.com/users/marmelab/repos","events_url":"https://api.github.com/users/marmelab/events{/privacy}","received_events_url":"https://api.github.com/users/marmelab/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/marmelab/javascript-boilerplate","description":"Node.js+Koa.js+PostgreSQL+React.js+Webpack+Mocha+Makefile, a starter kit for new apps","fork":false,"url":"https://api.github.com/repos/marmelab/javascript-boilerplate","forks_url":"https://api.github.com/repos/marmelab/javascript-boilerplate/forks","keys_url":"https://api.github.com/repos/marmelab/javascript-boilerplate/keys{/key_id}","collaborators_url":"https://api.github.com/repos/marmelab/javascript-boilerplate/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/marmelab/javascript-boilerplate/teams","hooks_url":"https://api.github.com/repos/marmelab/javascript-boilerplate/hooks","issue_events_url":"https://api.github.com/repos/marmelab/javascript-boilerplate/issues/events{/number}","events_url":"https://api.github.com/repos/marmelab/javascript-boilerplate/events","assignees_url":"https://api.github.com/repos/marmelab/javascript-boilerplate/assignees{/user}","branches_url":"https://api.github.com/repos/marmelab/javascript-boilerplate/branches{/branch}","tags_url":"https://api.github.com/repos/marmelab/javascript-boilerplate/tags","blobs_url":"https://api.github.com/repos/marmelab/javascript-boilerplate/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/marmelab/javascript-boilerplate/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/marmelab/javascript-boilerplate/git/refs{/sha}","trees_url":"https://api.github.com/repos/marmelab/javascript-boilerplate/git/trees{/sha}","statuses_url":"https://api.github.com/repos/marmelab/javascript-boilerplate/statuses/{sha}","languages_url":"https://api.github.com/repos/marmelab/javascript-boilerplate/languages","stargazers_url":"https://api.github.com/repos/marmelab/javascript-boilerplate/stargazers","contributors_url":"https://api.github.com/repos/marmelab/javascript-boilerplate/contributors","subscribers_url":"https://api.github.com/repos/marmelab/javascript-boilerplate/subscribers","subscription_url":"https://api.github.com/repos/marmelab/javascript-boilerplate/subscription","commits_url":"https://api.github.com/repos/marmelab/javascript-boilerplate/commits{/sha}","git_commits_url":"https://api.github.com/repos/marmelab/javascript-boilerplate/git/commits{/sha}","comments_url":"https://api.github.com/repos/marmelab/javascript-boilerplate/comments{/number}","issue_comment_url":"https://api.github.com/repos/marmelab/javascript-boilerplate/issues/comments{/number}","contents_url":"https://api.github.com/repos/marmelab/javascript-boilerplate/contents/{+path}","compare_url":"https://api.github.com/repos/marmelab/javascript-boilerplate/compare/{base}...{head}","merges_url":"https://api.github.com/repos/marmelab/javascript-boilerplate/merges","archive_url":"https://api.github.com/repos/marmelab/javascript-boilerplate/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/marmelab/javascript-boilerplate/downloads","issues_url":"https://api.github.com/repos/marmelab/javascript-boilerplate/issues{/number}","pulls_url":"https://api.github.com/repos/marmelab/javascript-boilerplate/pulls{/number}","milestones_url":"https://api.github.com/repos/marmelab/javascript-boilerplate/milestones{/number}","notifications_url":"https://api.github.com/repos/marmelab/javascript-boilerplate/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/marmelab/javascript-boilerplate/labels{/name}","releases_url":"https://api.github.com/repos/marmelab/javascript-boilerplate/releases{/id}","created_at":"2016-01-18T09:05:11Z","updated_at":"2016-01-19T09:56:52Z","pushed_at":"2016-01-20T08:30:46Z","git_url":"git://github.com/marmelab/javascript-boilerplate.git","ssh_url":"git@github.com:marmelab/javascript-boilerplate.git","clone_url":"https://github.com/marmelab/javascript-boilerplate.git","svn_url":"https://github.com/marmelab/javascript-boilerplate","homepage":null,"size":58,"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":4,"forks":0,"open_issues":4,"watchers":2,"default_branch":"master"}},"base":{"label":"marmelab:master","ref":"master","sha":"b59c543fb2b0c4b446bfc07518e2c56ed4e3ba4f","user":{"login":"marmelab","id":3116319,"avatar_url":"https://avatars.githubusercontent.com/u/3116319?v=3","gravatar_id":"","url":"https://api.github.com/users/marmelab","html_url":"https://github.com/marmelab","followers_url":"https://api.github.com/users/marmelab/followers","following_url":"https://api.github.com/users/marmelab/following{/other_user}","gists_url":"https://api.github.com/users/marmelab/gists{/gist_id}","starred_url":"https://api.github.com/users/marmelab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marmelab/subscriptions","organizations_url":"https://api.github.com/users/marmelab/orgs","repos_url":"https://api.github.com/users/marmelab/repos","events_url":"https://api.github.com/users/marmelab/events{/privacy}","received_events_url":"https://api.github.com/users/marmelab/received_events","type":"Organization","site_admin":false},"repo":{"id":49864754,"name":"javascript-boilerplate","full_name":"marmelab/javascript-boilerplate","owner":{"login":"marmelab","id":3116319,"avatar_url":"https://avatars.githubusercontent.com/u/3116319?v=3","gravatar_id":"","url":"https://api.github.com/users/marmelab","html_url":"https://github.com/marmelab","followers_url":"https://api.github.com/users/marmelab/followers","following_url":"https://api.github.com/users/marmelab/following{/other_user}","gists_url":"https://api.github.com/users/marmelab/gists{/gist_id}","starred_url":"https://api.github.com/users/marmelab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marmelab/subscriptions","organizations_url":"https://api.github.com/users/marmelab/orgs","repos_url":"https://api.github.com/users/marmelab/repos","events_url":"https://api.github.com/users/marmelab/events{/privacy}","received_events_url":"https://api.github.com/users/marmelab/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/marmelab/javascript-boilerplate","description":"Node.js+Koa.js+PostgreSQL+React.js+Webpack+Mocha+Makefile, a starter kit for new apps","fork":false,"url":"https://api.github.com/repos/marmelab/javascript-boilerplate","forks_url":"https://api.github.com/repos/marmelab/javascript-boilerplate/forks","keys_url":"https://api.github.com/repos/marmelab/javascript-boilerplate/keys{/key_id}","collaborators_url":"https://api.github.com/repos/marmelab/javascript-boilerplate/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/marmelab/javascript-boilerplate/teams","hooks_url":"https://api.github.com/repos/marmelab/javascript-boilerplate/hooks","issue_events_url":"https://api.github.com/repos/marmelab/javascript-boilerplate/issues/events{/number}","events_url":"https://api.github.com/repos/marmelab/javascript-boilerplate/events","assignees_url":"https://api.github.com/repos/marmelab/javascript-boilerplate/assignees{/user}","branches_url":"https://api.github.com/repos/marmelab/javascript-boilerplate/branches{/branch}","tags_url":"https://api.github.com/repos/marmelab/javascript-boilerplate/tags","blobs_url":"https://api.github.com/repos/marmelab/javascript-boilerplate/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/marmelab/javascript-boilerplate/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/marmelab/javascript-boilerplate/git/refs{/sha}","trees_url":"https://api.github.com/repos/marmelab/javascript-boilerplate/git/trees{/sha}","statuses_url":"https://api.github.com/repos/marmelab/javascript-boilerplate/statuses/{sha}","languages_url":"https://api.github.com/repos/marmelab/javascript-boilerplate/languages","stargazers_url":"https://api.github.com/repos/marmelab/javascript-boilerplate/stargazers","contributors_url":"https://api.github.com/repos/marmelab/javascript-boilerplate/contributors","subscribers_url":"https://api.github.com/repos/marmelab/javascript-boilerplate/subscribers","subscription_url":"https://api.github.com/repos/marmelab/javascript-boilerplate/subscription","commits_url":"https://api.github.com/repos/marmelab/javascript-boilerplate/commits{/sha}","git_commits_url":"https://api.github.com/repos/marmelab/javascript-boilerplate/git/commits{/sha}","comments_url":"https://api.github.com/repos/marmelab/javascript-boilerplate/comments{/number}","issue_comment_url":"https://api.github.com/repos/marmelab/javascript-boilerplate/issues/comments{/number}","contents_url":"https://api.github.com/repos/marmelab/javascript-boilerplate/contents/{+path}","compare_url":"https://api.github.com/repos/marmelab/javascript-boilerplate/compare/{base}...{head}","merges_url":"https://api.github.com/repos/marmelab/javascript-boilerplate/merges","archive_url":"https://api.github.com/repos/marmelab/javascript-boilerplate/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/marmelab/javascript-boilerplate/downloads","issues_url":"https://api.github.com/repos/marmelab/javascript-boilerplate/issues{/number}","pulls_url":"https://api.github.com/repos/marmelab/javascript-boilerplate/pulls{/number}","milestones_url":"https://api.github.com/repos/marmelab/javascript-boilerplate/milestones{/number}","notifications_url":"https://api.github.com/repos/marmelab/javascript-boilerplate/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/marmelab/javascript-boilerplate/labels{/name}","releases_url":"https://api.github.com/repos/marmelab/javascript-boilerplate/releases{/id}","created_at":"2016-01-18T09:05:11Z","updated_at":"2016-01-19T09:56:52Z","pushed_at":"2016-01-20T08:30:46Z","git_url":"git://github.com/marmelab/javascript-boilerplate.git","ssh_url":"git@github.com:marmelab/javascript-boilerplate.git","clone_url":"https://github.com/marmelab/javascript-boilerplate.git","svn_url":"https://github.com/marmelab/javascript-boilerplate","homepage":null,"size":58,"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":4,"forks":0,"open_issues":4,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/marmelab/javascript-boilerplate/pulls/8"},"html":{"href":"https://github.com/marmelab/javascript-boilerplate/pull/8"},"issue":{"href":"https://api.github.com/repos/marmelab/javascript-boilerplate/issues/8"},"comments":{"href":"https://api.github.com/repos/marmelab/javascript-boilerplate/issues/8/comments"},"review_comments":{"href":"https://api.github.com/repos/marmelab/javascript-boilerplate/pulls/8/comments"},"review_comment":{"href":"https://api.github.com/repos/marmelab/javascript-boilerplate/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/marmelab/javascript-boilerplate/pulls/8/commits"},"statuses":{"href":"https://api.github.com/repos/marmelab/javascript-boilerplate/statuses/30ec8e0be18a0c748687b226b8f781bdeb784994"}}}}