{"action":"opened","number":24,"pull_request":{"url":"https://api.github.com/repos/seegno/bookshelf-cascade-delete/pulls/24","id":88247746,"html_url":"https://github.com/seegno/bookshelf-cascade-delete/pull/24","diff_url":"https://github.com/seegno/bookshelf-cascade-delete/pull/24.diff","patch_url":"https://github.com/seegno/bookshelf-cascade-delete/pull/24.patch","issue_url":"https://api.github.com/repos/seegno/bookshelf-cascade-delete/issues/24","number":24,"state":"open","locked":false,"title":"Remove auxiliar methods from Model prototype","user":{"login":"ricardogama","id":8616978,"avatar_url":"https://avatars.githubusercontent.com/u/8616978?v=3","gravatar_id":"","url":"https://api.github.com/users/ricardogama","html_url":"https://github.com/ricardogama","followers_url":"https://api.github.com/users/ricardogama/followers","following_url":"https://api.github.com/users/ricardogama/following{/other_user}","gists_url":"https://api.github.com/users/ricardogama/gists{/gist_id}","starred_url":"https://api.github.com/users/ricardogama/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ricardogama/subscriptions","organizations_url":"https://api.github.com/users/ricardogama/orgs","repos_url":"https://api.github.com/users/ricardogama/repos","events_url":"https://api.github.com/users/ricardogama/events{/privacy}","received_events_url":"https://api.github.com/users/ricardogama/received_events","type":"User","site_admin":false},"body":"This PR removes all auxiliar methods from Model's prototype since it's not unnecessary and should not be accessible from the Model. Also on this PR:\r\n\r\n* Improve the overall readability of all methods;\r\n* Add support for the PostgreSQL client **knex** alias (`postgresql`, `postgres`, `pg`);","created_at":"2016-10-06T11:57:18Z","updated_at":"2016-10-06T11:57:18Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/seegno/bookshelf-cascade-delete/pulls/24/commits","review_comments_url":"https://api.github.com/repos/seegno/bookshelf-cascade-delete/pulls/24/comments","review_comment_url":"https://api.github.com/repos/seegno/bookshelf-cascade-delete/pulls/comments{/number}","comments_url":"https://api.github.com/repos/seegno/bookshelf-cascade-delete/issues/24/comments","statuses_url":"https://api.github.com/repos/seegno/bookshelf-cascade-delete/statuses/3131e997970f2996cf427c49de3232e66eea977f","head":{"label":"seegno:enhancement/remove-auxiliar-methods-from-model-prototype","ref":"enhancement/remove-auxiliar-methods-from-model-prototype","sha":"3131e997970f2996cf427c49de3232e66eea977f","user":{"login":"seegno","id":1326469,"avatar_url":"https://avatars.githubusercontent.com/u/1326469?v=3","gravatar_id":"","url":"https://api.github.com/users/seegno","html_url":"https://github.com/seegno","followers_url":"https://api.github.com/users/seegno/followers","following_url":"https://api.github.com/users/seegno/following{/other_user}","gists_url":"https://api.github.com/users/seegno/gists{/gist_id}","starred_url":"https://api.github.com/users/seegno/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seegno/subscriptions","organizations_url":"https://api.github.com/users/seegno/orgs","repos_url":"https://api.github.com/users/seegno/repos","events_url":"https://api.github.com/users/seegno/events{/privacy}","received_events_url":"https://api.github.com/users/seegno/received_events","type":"Organization","site_admin":false},"repo":{"id":56615144,"name":"bookshelf-cascade-delete","full_name":"seegno/bookshelf-cascade-delete","owner":{"login":"seegno","id":1326469,"avatar_url":"https://avatars.githubusercontent.com/u/1326469?v=3","gravatar_id":"","url":"https://api.github.com/users/seegno","html_url":"https://github.com/seegno","followers_url":"https://api.github.com/users/seegno/followers","following_url":"https://api.github.com/users/seegno/following{/other_user}","gists_url":"https://api.github.com/users/seegno/gists{/gist_id}","starred_url":"https://api.github.com/users/seegno/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seegno/subscriptions","organizations_url":"https://api.github.com/users/seegno/orgs","repos_url":"https://api.github.com/users/seegno/repos","events_url":"https://api.github.com/users/seegno/events{/privacy}","received_events_url":"https://api.github.com/users/seegno/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/seegno/bookshelf-cascade-delete","description":"Cascade delete with Bookshelf.js","fork":false,"url":"https://api.github.com/repos/seegno/bookshelf-cascade-delete","forks_url":"https://api.github.com/repos/seegno/bookshelf-cascade-delete/forks","keys_url":"https://api.github.com/repos/seegno/bookshelf-cascade-delete/keys{/key_id}","collaborators_url":"https://api.github.com/repos/seegno/bookshelf-cascade-delete/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/seegno/bookshelf-cascade-delete/teams","hooks_url":"https://api.github.com/repos/seegno/bookshelf-cascade-delete/hooks","issue_events_url":"https://api.github.com/repos/seegno/bookshelf-cascade-delete/issues/events{/number}","events_url":"https://api.github.com/repos/seegno/bookshelf-cascade-delete/events","assignees_url":"https://api.github.com/repos/seegno/bookshelf-cascade-delete/assignees{/user}","branches_url":"https://api.github.com/repos/seegno/bookshelf-cascade-delete/branches{/branch}","tags_url":"https://api.github.com/repos/seegno/bookshelf-cascade-delete/tags","blobs_url":"https://api.github.com/repos/seegno/bookshelf-cascade-delete/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/seegno/bookshelf-cascade-delete/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/seegno/bookshelf-cascade-delete/git/refs{/sha}","trees_url":"https://api.github.com/repos/seegno/bookshelf-cascade-delete/git/trees{/sha}","statuses_url":"https://api.github.com/repos/seegno/bookshelf-cascade-delete/statuses/{sha}","languages_url":"https://api.github.com/repos/seegno/bookshelf-cascade-delete/languages","stargazers_url":"https://api.github.com/repos/seegno/bookshelf-cascade-delete/stargazers","contributors_url":"https://api.github.com/repos/seegno/bookshelf-cascade-delete/contributors","subscribers_url":"https://api.github.com/repos/seegno/bookshelf-cascade-delete/subscribers","subscription_url":"https://api.github.com/repos/seegno/bookshelf-cascade-delete/subscription","commits_url":"https://api.github.com/repos/seegno/bookshelf-cascade-delete/commits{/sha}","git_commits_url":"https://api.github.com/repos/seegno/bookshelf-cascade-delete/git/commits{/sha}","comments_url":"https://api.github.com/repos/seegno/bookshelf-cascade-delete/comments{/number}","issue_comment_url":"https://api.github.com/repos/seegno/bookshelf-cascade-delete/issues/comments{/number}","contents_url":"https://api.github.com/repos/seegno/bookshelf-cascade-delete/contents/{+path}","compare_url":"https://api.github.com/repos/seegno/bookshelf-cascade-delete/compare/{base}...{head}","merges_url":"https://api.github.com/repos/seegno/bookshelf-cascade-delete/merges","archive_url":"https://api.github.com/repos/seegno/bookshelf-cascade-delete/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/seegno/bookshelf-cascade-delete/downloads","issues_url":"https://api.github.com/repos/seegno/bookshelf-cascade-delete/issues{/number}","pulls_url":"https://api.github.com/repos/seegno/bookshelf-cascade-delete/pulls{/number}","milestones_url":"https://api.github.com/repos/seegno/bookshelf-cascade-delete/milestones{/number}","notifications_url":"https://api.github.com/repos/seegno/bookshelf-cascade-delete/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/seegno/bookshelf-cascade-delete/labels{/name}","releases_url":"https://api.github.com/repos/seegno/bookshelf-cascade-delete/releases{/id}","deployments_url":"https://api.github.com/repos/seegno/bookshelf-cascade-delete/deployments","created_at":"2016-04-19T16:54:08Z","updated_at":"2016-09-16T17:04:13Z","pushed_at":"2016-10-06T11:53:14Z","git_url":"git://github.com/seegno/bookshelf-cascade-delete.git","ssh_url":"git@github.com:seegno/bookshelf-cascade-delete.git","clone_url":"https://github.com/seegno/bookshelf-cascade-delete.git","svn_url":"https://github.com/seegno/bookshelf-cascade-delete","homepage":"http://seegno.github.io/bookshelf-cascade-delete","size":134,"stargazers_count":27,"watchers_count":27,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":4,"mirror_url":null,"open_issues_count":3,"forks":4,"open_issues":3,"watchers":27,"default_branch":"master"}},"base":{"label":"seegno:master","ref":"master","sha":"e2dc3218e9dc85dba211376f3385ae43721aa8a1","user":{"login":"seegno","id":1326469,"avatar_url":"https://avatars.githubusercontent.com/u/1326469?v=3","gravatar_id":"","url":"https://api.github.com/users/seegno","html_url":"https://github.com/seegno","followers_url":"https://api.github.com/users/seegno/followers","following_url":"https://api.github.com/users/seegno/following{/other_user}","gists_url":"https://api.github.com/users/seegno/gists{/gist_id}","starred_url":"https://api.github.com/users/seegno/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seegno/subscriptions","organizations_url":"https://api.github.com/users/seegno/orgs","repos_url":"https://api.github.com/users/seegno/repos","events_url":"https://api.github.com/users/seegno/events{/privacy}","received_events_url":"https://api.github.com/users/seegno/received_events","type":"Organization","site_admin":false},"repo":{"id":56615144,"name":"bookshelf-cascade-delete","full_name":"seegno/bookshelf-cascade-delete","owner":{"login":"seegno","id":1326469,"avatar_url":"https://avatars.githubusercontent.com/u/1326469?v=3","gravatar_id":"","url":"https://api.github.com/users/seegno","html_url":"https://github.com/seegno","followers_url":"https://api.github.com/users/seegno/followers","following_url":"https://api.github.com/users/seegno/following{/other_user}","gists_url":"https://api.github.com/users/seegno/gists{/gist_id}","starred_url":"https://api.github.com/users/seegno/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seegno/subscriptions","organizations_url":"https://api.github.com/users/seegno/orgs","repos_url":"https://api.github.com/users/seegno/repos","events_url":"https://api.github.com/users/seegno/events{/privacy}","received_events_url":"https://api.github.com/users/seegno/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/seegno/bookshelf-cascade-delete","description":"Cascade delete with Bookshelf.js","fork":false,"url":"https://api.github.com/repos/seegno/bookshelf-cascade-delete","forks_url":"https://api.github.com/repos/seegno/bookshelf-cascade-delete/forks","keys_url":"https://api.github.com/repos/seegno/bookshelf-cascade-delete/keys{/key_id}","collaborators_url":"https://api.github.com/repos/seegno/bookshelf-cascade-delete/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/seegno/bookshelf-cascade-delete/teams","hooks_url":"https://api.github.com/repos/seegno/bookshelf-cascade-delete/hooks","issue_events_url":"https://api.github.com/repos/seegno/bookshelf-cascade-delete/issues/events{/number}","events_url":"https://api.github.com/repos/seegno/bookshelf-cascade-delete/events","assignees_url":"https://api.github.com/repos/seegno/bookshelf-cascade-delete/assignees{/user}","branches_url":"https://api.github.com/repos/seegno/bookshelf-cascade-delete/branches{/branch}","tags_url":"https://api.github.com/repos/seegno/bookshelf-cascade-delete/tags","blobs_url":"https://api.github.com/repos/seegno/bookshelf-cascade-delete/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/seegno/bookshelf-cascade-delete/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/seegno/bookshelf-cascade-delete/git/refs{/sha}","trees_url":"https://api.github.com/repos/seegno/bookshelf-cascade-delete/git/trees{/sha}","statuses_url":"https://api.github.com/repos/seegno/bookshelf-cascade-delete/statuses/{sha}","languages_url":"https://api.github.com/repos/seegno/bookshelf-cascade-delete/languages","stargazers_url":"https://api.github.com/repos/seegno/bookshelf-cascade-delete/stargazers","contributors_url":"https://api.github.com/repos/seegno/bookshelf-cascade-delete/contributors","subscribers_url":"https://api.github.com/repos/seegno/bookshelf-cascade-delete/subscribers","subscription_url":"https://api.github.com/repos/seegno/bookshelf-cascade-delete/subscription","commits_url":"https://api.github.com/repos/seegno/bookshelf-cascade-delete/commits{/sha}","git_commits_url":"https://api.github.com/repos/seegno/bookshelf-cascade-delete/git/commits{/sha}","comments_url":"https://api.github.com/repos/seegno/bookshelf-cascade-delete/comments{/number}","issue_comment_url":"https://api.github.com/repos/seegno/bookshelf-cascade-delete/issues/comments{/number}","contents_url":"https://api.github.com/repos/seegno/bookshelf-cascade-delete/contents/{+path}","compare_url":"https://api.github.com/repos/seegno/bookshelf-cascade-delete/compare/{base}...{head}","merges_url":"https://api.github.com/repos/seegno/bookshelf-cascade-delete/merges","archive_url":"https://api.github.com/repos/seegno/bookshelf-cascade-delete/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/seegno/bookshelf-cascade-delete/downloads","issues_url":"https://api.github.com/repos/seegno/bookshelf-cascade-delete/issues{/number}","pulls_url":"https://api.github.com/repos/seegno/bookshelf-cascade-delete/pulls{/number}","milestones_url":"https://api.github.com/repos/seegno/bookshelf-cascade-delete/milestones{/number}","notifications_url":"https://api.github.com/repos/seegno/bookshelf-cascade-delete/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/seegno/bookshelf-cascade-delete/labels{/name}","releases_url":"https://api.github.com/repos/seegno/bookshelf-cascade-delete/releases{/id}","deployments_url":"https://api.github.com/repos/seegno/bookshelf-cascade-delete/deployments","created_at":"2016-04-19T16:54:08Z","updated_at":"2016-09-16T17:04:13Z","pushed_at":"2016-10-06T11:53:14Z","git_url":"git://github.com/seegno/bookshelf-cascade-delete.git","ssh_url":"git@github.com:seegno/bookshelf-cascade-delete.git","clone_url":"https://github.com/seegno/bookshelf-cascade-delete.git","svn_url":"https://github.com/seegno/bookshelf-cascade-delete","homepage":"http://seegno.github.io/bookshelf-cascade-delete","size":134,"stargazers_count":27,"watchers_count":27,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":4,"mirror_url":null,"open_issues_count":3,"forks":4,"open_issues":3,"watchers":27,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/seegno/bookshelf-cascade-delete/pulls/24"},"html":{"href":"https://github.com/seegno/bookshelf-cascade-delete/pull/24"},"issue":{"href":"https://api.github.com/repos/seegno/bookshelf-cascade-delete/issues/24"},"comments":{"href":"https://api.github.com/repos/seegno/bookshelf-cascade-delete/issues/24/comments"},"review_comments":{"href":"https://api.github.com/repos/seegno/bookshelf-cascade-delete/pulls/24/comments"},"review_comment":{"href":"https://api.github.com/repos/seegno/bookshelf-cascade-delete/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/seegno/bookshelf-cascade-delete/pulls/24/commits"},"statuses":{"href":"https://api.github.com/repos/seegno/bookshelf-cascade-delete/statuses/3131e997970f2996cf427c49de3232e66eea977f"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":70,"deletions":47,"changed_files":1}}
{"actor":{"display_login":"ricardogama"}}