{"action":"opened","number":96,"pull_request":{"url":"https://api.github.com/repos/biggora/caminte/pulls/96","id":71455048,"html_url":"https://github.com/biggora/caminte/pull/96","diff_url":"https://github.com/biggora/caminte/pull/96.diff","patch_url":"https://github.com/biggora/caminte/pull/96.patch","issue_url":"https://api.github.com/repos/biggora/caminte/issues/96","number":96,"state":"open","locked":false,"title":"Fix error No database selected","user":{"login":"mokhov","id":357689,"avatar_url":"https://avatars.githubusercontent.com/u/357689?v=3","gravatar_id":"","url":"https://api.github.com/users/mokhov","html_url":"https://github.com/mokhov","followers_url":"https://api.github.com/users/mokhov/followers","following_url":"https://api.github.com/users/mokhov/following{/other_user}","gists_url":"https://api.github.com/users/mokhov/gists{/gist_id}","starred_url":"https://api.github.com/users/mokhov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mokhov/subscriptions","organizations_url":"https://api.github.com/users/mokhov/orgs","repos_url":"https://api.github.com/users/mokhov/repos","events_url":"https://api.github.com/users/mokhov/events{/privacy}","received_events_url":"https://api.github.com/users/mokhov/received_events","type":"User","site_admin":false},"body":"This is a fix to the error \r\n```\r\n{ [Error: ER_NO_DB_ERROR: No database selected]\r\n     code: 'ER_NO_DB_ERROR',\r\n     errno: 1046,\r\n     sqlState: '3D000',\r\n     index: 0 }\r\n```\r\nI don't why but didn't found database setting when MySQL object is created","created_at":"2016-05-25T20:10:43Z","updated_at":"2016-05-25T20:10:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/biggora/caminte/pulls/96/commits","review_comments_url":"https://api.github.com/repos/biggora/caminte/pulls/96/comments","review_comment_url":"https://api.github.com/repos/biggora/caminte/pulls/comments{/number}","comments_url":"https://api.github.com/repos/biggora/caminte/issues/96/comments","statuses_url":"https://api.github.com/repos/biggora/caminte/statuses/ec92933e11d85a4bbc0fb0868322ca57afdd0874","head":{"label":"mokhov:no-db-selected-fix","ref":"no-db-selected-fix","sha":"ec92933e11d85a4bbc0fb0868322ca57afdd0874","user":{"login":"mokhov","id":357689,"avatar_url":"https://avatars.githubusercontent.com/u/357689?v=3","gravatar_id":"","url":"https://api.github.com/users/mokhov","html_url":"https://github.com/mokhov","followers_url":"https://api.github.com/users/mokhov/followers","following_url":"https://api.github.com/users/mokhov/following{/other_user}","gists_url":"https://api.github.com/users/mokhov/gists{/gist_id}","starred_url":"https://api.github.com/users/mokhov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mokhov/subscriptions","organizations_url":"https://api.github.com/users/mokhov/orgs","repos_url":"https://api.github.com/users/mokhov/repos","events_url":"https://api.github.com/users/mokhov/events{/privacy}","received_events_url":"https://api.github.com/users/mokhov/received_events","type":"User","site_admin":false},"repo":{"id":59693930,"name":"caminte","full_name":"mokhov/caminte","owner":{"login":"mokhov","id":357689,"avatar_url":"https://avatars.githubusercontent.com/u/357689?v=3","gravatar_id":"","url":"https://api.github.com/users/mokhov","html_url":"https://github.com/mokhov","followers_url":"https://api.github.com/users/mokhov/followers","following_url":"https://api.github.com/users/mokhov/following{/other_user}","gists_url":"https://api.github.com/users/mokhov/gists{/gist_id}","starred_url":"https://api.github.com/users/mokhov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mokhov/subscriptions","organizations_url":"https://api.github.com/users/mokhov/orgs","repos_url":"https://api.github.com/users/mokhov/repos","events_url":"https://api.github.com/users/mokhov/events{/privacy}","received_events_url":"https://api.github.com/users/mokhov/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mokhov/caminte","description":"Cross-db ORM for NodeJS","fork":true,"url":"https://api.github.com/repos/mokhov/caminte","forks_url":"https://api.github.com/repos/mokhov/caminte/forks","keys_url":"https://api.github.com/repos/mokhov/caminte/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mokhov/caminte/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mokhov/caminte/teams","hooks_url":"https://api.github.com/repos/mokhov/caminte/hooks","issue_events_url":"https://api.github.com/repos/mokhov/caminte/issues/events{/number}","events_url":"https://api.github.com/repos/mokhov/caminte/events","assignees_url":"https://api.github.com/repos/mokhov/caminte/assignees{/user}","branches_url":"https://api.github.com/repos/mokhov/caminte/branches{/branch}","tags_url":"https://api.github.com/repos/mokhov/caminte/tags","blobs_url":"https://api.github.com/repos/mokhov/caminte/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mokhov/caminte/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mokhov/caminte/git/refs{/sha}","trees_url":"https://api.github.com/repos/mokhov/caminte/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mokhov/caminte/statuses/{sha}","languages_url":"https://api.github.com/repos/mokhov/caminte/languages","stargazers_url":"https://api.github.com/repos/mokhov/caminte/stargazers","contributors_url":"https://api.github.com/repos/mokhov/caminte/contributors","subscribers_url":"https://api.github.com/repos/mokhov/caminte/subscribers","subscription_url":"https://api.github.com/repos/mokhov/caminte/subscription","commits_url":"https://api.github.com/repos/mokhov/caminte/commits{/sha}","git_commits_url":"https://api.github.com/repos/mokhov/caminte/git/commits{/sha}","comments_url":"https://api.github.com/repos/mokhov/caminte/comments{/number}","issue_comment_url":"https://api.github.com/repos/mokhov/caminte/issues/comments{/number}","contents_url":"https://api.github.com/repos/mokhov/caminte/contents/{+path}","compare_url":"https://api.github.com/repos/mokhov/caminte/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mokhov/caminte/merges","archive_url":"https://api.github.com/repos/mokhov/caminte/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mokhov/caminte/downloads","issues_url":"https://api.github.com/repos/mokhov/caminte/issues{/number}","pulls_url":"https://api.github.com/repos/mokhov/caminte/pulls{/number}","milestones_url":"https://api.github.com/repos/mokhov/caminte/milestones{/number}","notifications_url":"https://api.github.com/repos/mokhov/caminte/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mokhov/caminte/labels{/name}","releases_url":"https://api.github.com/repos/mokhov/caminte/releases{/id}","deployments_url":"https://api.github.com/repos/mokhov/caminte/deployments","created_at":"2016-05-25T20:05:22Z","updated_at":"2016-05-25T20:05:22Z","pushed_at":"2016-05-25T20:08:48Z","git_url":"git://github.com/mokhov/caminte.git","ssh_url":"git@github.com:mokhov/caminte.git","clone_url":"https://github.com/mokhov/caminte.git","svn_url":"https://github.com/mokhov/caminte","homepage":"http://www.camintejs.com/","size":1043,"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":"biggora:master","ref":"master","sha":"fa9663a32bc2fbb894fb18981ffa931d2e7eeead","user":{"login":"biggora","id":921170,"avatar_url":"https://avatars.githubusercontent.com/u/921170?v=3","gravatar_id":"","url":"https://api.github.com/users/biggora","html_url":"https://github.com/biggora","followers_url":"https://api.github.com/users/biggora/followers","following_url":"https://api.github.com/users/biggora/following{/other_user}","gists_url":"https://api.github.com/users/biggora/gists{/gist_id}","starred_url":"https://api.github.com/users/biggora/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/biggora/subscriptions","organizations_url":"https://api.github.com/users/biggora/orgs","repos_url":"https://api.github.com/users/biggora/repos","events_url":"https://api.github.com/users/biggora/events{/privacy}","received_events_url":"https://api.github.com/users/biggora/received_events","type":"User","site_admin":false},"repo":{"id":7446689,"name":"caminte","full_name":"biggora/caminte","owner":{"login":"biggora","id":921170,"avatar_url":"https://avatars.githubusercontent.com/u/921170?v=3","gravatar_id":"","url":"https://api.github.com/users/biggora","html_url":"https://github.com/biggora","followers_url":"https://api.github.com/users/biggora/followers","following_url":"https://api.github.com/users/biggora/following{/other_user}","gists_url":"https://api.github.com/users/biggora/gists{/gist_id}","starred_url":"https://api.github.com/users/biggora/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/biggora/subscriptions","organizations_url":"https://api.github.com/users/biggora/orgs","repos_url":"https://api.github.com/users/biggora/repos","events_url":"https://api.github.com/users/biggora/events{/privacy}","received_events_url":"https://api.github.com/users/biggora/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/biggora/caminte","description":"Cross-db ORM for NodeJS","fork":false,"url":"https://api.github.com/repos/biggora/caminte","forks_url":"https://api.github.com/repos/biggora/caminte/forks","keys_url":"https://api.github.com/repos/biggora/caminte/keys{/key_id}","collaborators_url":"https://api.github.com/repos/biggora/caminte/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/biggora/caminte/teams","hooks_url":"https://api.github.com/repos/biggora/caminte/hooks","issue_events_url":"https://api.github.com/repos/biggora/caminte/issues/events{/number}","events_url":"https://api.github.com/repos/biggora/caminte/events","assignees_url":"https://api.github.com/repos/biggora/caminte/assignees{/user}","branches_url":"https://api.github.com/repos/biggora/caminte/branches{/branch}","tags_url":"https://api.github.com/repos/biggora/caminte/tags","blobs_url":"https://api.github.com/repos/biggora/caminte/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/biggora/caminte/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/biggora/caminte/git/refs{/sha}","trees_url":"https://api.github.com/repos/biggora/caminte/git/trees{/sha}","statuses_url":"https://api.github.com/repos/biggora/caminte/statuses/{sha}","languages_url":"https://api.github.com/repos/biggora/caminte/languages","stargazers_url":"https://api.github.com/repos/biggora/caminte/stargazers","contributors_url":"https://api.github.com/repos/biggora/caminte/contributors","subscribers_url":"https://api.github.com/repos/biggora/caminte/subscribers","subscription_url":"https://api.github.com/repos/biggora/caminte/subscription","commits_url":"https://api.github.com/repos/biggora/caminte/commits{/sha}","git_commits_url":"https://api.github.com/repos/biggora/caminte/git/commits{/sha}","comments_url":"https://api.github.com/repos/biggora/caminte/comments{/number}","issue_comment_url":"https://api.github.com/repos/biggora/caminte/issues/comments{/number}","contents_url":"https://api.github.com/repos/biggora/caminte/contents/{+path}","compare_url":"https://api.github.com/repos/biggora/caminte/compare/{base}...{head}","merges_url":"https://api.github.com/repos/biggora/caminte/merges","archive_url":"https://api.github.com/repos/biggora/caminte/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/biggora/caminte/downloads","issues_url":"https://api.github.com/repos/biggora/caminte/issues{/number}","pulls_url":"https://api.github.com/repos/biggora/caminte/pulls{/number}","milestones_url":"https://api.github.com/repos/biggora/caminte/milestones{/number}","notifications_url":"https://api.github.com/repos/biggora/caminte/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/biggora/caminte/labels{/name}","releases_url":"https://api.github.com/repos/biggora/caminte/releases{/id}","deployments_url":"https://api.github.com/repos/biggora/caminte/deployments","created_at":"2013-01-04T20:22:15Z","updated_at":"2016-05-24T22:23:06Z","pushed_at":"2016-05-15T17:35:23Z","git_url":"git://github.com/biggora/caminte.git","ssh_url":"git@github.com:biggora/caminte.git","clone_url":"https://github.com/biggora/caminte.git","svn_url":"https://github.com/biggora/caminte","homepage":"http://www.camintejs.com/","size":1175,"stargazers_count":484,"watchers_count":484,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":60,"mirror_url":null,"open_issues_count":35,"forks":60,"open_issues":35,"watchers":484,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/biggora/caminte/pulls/96"},"html":{"href":"https://github.com/biggora/caminte/pull/96"},"issue":{"href":"https://api.github.com/repos/biggora/caminte/issues/96"},"comments":{"href":"https://api.github.com/repos/biggora/caminte/issues/96/comments"},"review_comments":{"href":"https://api.github.com/repos/biggora/caminte/pulls/96/comments"},"review_comment":{"href":"https://api.github.com/repos/biggora/caminte/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/biggora/caminte/pulls/96/commits"},"statuses":{"href":"https://api.github.com/repos/biggora/caminte/statuses/ec92933e11d85a4bbc0fb0868322ca57afdd0874"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":1,"deletions":0,"changed_files":1}}
{"actor":{"display_login":"mokhov"}}