{"action":"opened","number":28,"pull_request":{"url":"https://api.github.com/repos/estuart/CS6238Project2/pulls/28","id":51442627,"html_url":"https://github.com/estuart/CS6238Project2/pull/28","diff_url":"https://github.com/estuart/CS6238Project2/pull/28.diff","patch_url":"https://github.com/estuart/CS6238Project2/pull/28.patch","issue_url":"https://api.github.com/repos/estuart/CS6238Project2/issues/28","number":28,"state":"open","locked":false,"title":"26 - Fix Document Delete","user":{"login":"mpuckett13","id":7327839,"avatar_url":"https://avatars.githubusercontent.com/u/7327839?v=3","gravatar_id":"","url":"https://api.github.com/users/mpuckett13","html_url":"https://github.com/mpuckett13","followers_url":"https://api.github.com/users/mpuckett13/followers","following_url":"https://api.github.com/users/mpuckett13/following{/other_user}","gists_url":"https://api.github.com/users/mpuckett13/gists{/gist_id}","starred_url":"https://api.github.com/users/mpuckett13/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mpuckett13/subscriptions","organizations_url":"https://api.github.com/users/mpuckett13/orgs","repos_url":"https://api.github.com/users/mpuckett13/repos","events_url":"https://api.github.com/users/mpuckett13/events{/privacy}","received_events_url":"https://api.github.com/users/mpuckett13/received_events","type":"User","site_admin":false},"body":"- If there was an entry in the `DocumentPermissions` table for a\r\n  particular document, a `SqlException` was thrown when attempting to\r\n  delete the document. This was because `DocumentPermissions.documentId`\r\n  was a foreign key to `Documents.documentId`. This deletes all\r\n  permissions for a document before deleting the document.","created_at":"2015-11-21T14:50:22Z","updated_at":"2015-11-21T14:50:22Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/estuart/CS6238Project2/pulls/28/commits","review_comments_url":"https://api.github.com/repos/estuart/CS6238Project2/pulls/28/comments","review_comment_url":"https://api.github.com/repos/estuart/CS6238Project2/pulls/comments{/number}","comments_url":"https://api.github.com/repos/estuart/CS6238Project2/issues/28/comments","statuses_url":"https://api.github.com/repos/estuart/CS6238Project2/statuses/59a746606f006d4963a9155495a156f9e03c1778","head":{"label":"estuart:26-FixDocumentDelete","ref":"26-FixDocumentDelete","sha":"59a746606f006d4963a9155495a156f9e03c1778","user":{"login":"estuart","id":3664248,"avatar_url":"https://avatars.githubusercontent.com/u/3664248?v=3","gravatar_id":"","url":"https://api.github.com/users/estuart","html_url":"https://github.com/estuart","followers_url":"https://api.github.com/users/estuart/followers","following_url":"https://api.github.com/users/estuart/following{/other_user}","gists_url":"https://api.github.com/users/estuart/gists{/gist_id}","starred_url":"https://api.github.com/users/estuart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/estuart/subscriptions","organizations_url":"https://api.github.com/users/estuart/orgs","repos_url":"https://api.github.com/users/estuart/repos","events_url":"https://api.github.com/users/estuart/events{/privacy}","received_events_url":"https://api.github.com/users/estuart/received_events","type":"User","site_admin":false},"repo":{"id":46425347,"name":"CS6238Project2","full_name":"estuart/CS6238Project2","owner":{"login":"estuart","id":3664248,"avatar_url":"https://avatars.githubusercontent.com/u/3664248?v=3","gravatar_id":"","url":"https://api.github.com/users/estuart","html_url":"https://github.com/estuart","followers_url":"https://api.github.com/users/estuart/followers","following_url":"https://api.github.com/users/estuart/following{/other_user}","gists_url":"https://api.github.com/users/estuart/gists{/gist_id}","starred_url":"https://api.github.com/users/estuart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/estuart/subscriptions","organizations_url":"https://api.github.com/users/estuart/orgs","repos_url":"https://api.github.com/users/estuart/repos","events_url":"https://api.github.com/users/estuart/events{/privacy}","received_events_url":"https://api.github.com/users/estuart/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/estuart/CS6238Project2","description":null,"fork":false,"url":"https://api.github.com/repos/estuart/CS6238Project2","forks_url":"https://api.github.com/repos/estuart/CS6238Project2/forks","keys_url":"https://api.github.com/repos/estuart/CS6238Project2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/estuart/CS6238Project2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/estuart/CS6238Project2/teams","hooks_url":"https://api.github.com/repos/estuart/CS6238Project2/hooks","issue_events_url":"https://api.github.com/repos/estuart/CS6238Project2/issues/events{/number}","events_url":"https://api.github.com/repos/estuart/CS6238Project2/events","assignees_url":"https://api.github.com/repos/estuart/CS6238Project2/assignees{/user}","branches_url":"https://api.github.com/repos/estuart/CS6238Project2/branches{/branch}","tags_url":"https://api.github.com/repos/estuart/CS6238Project2/tags","blobs_url":"https://api.github.com/repos/estuart/CS6238Project2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/estuart/CS6238Project2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/estuart/CS6238Project2/git/refs{/sha}","trees_url":"https://api.github.com/repos/estuart/CS6238Project2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/estuart/CS6238Project2/statuses/{sha}","languages_url":"https://api.github.com/repos/estuart/CS6238Project2/languages","stargazers_url":"https://api.github.com/repos/estuart/CS6238Project2/stargazers","contributors_url":"https://api.github.com/repos/estuart/CS6238Project2/contributors","subscribers_url":"https://api.github.com/repos/estuart/CS6238Project2/subscribers","subscription_url":"https://api.github.com/repos/estuart/CS6238Project2/subscription","commits_url":"https://api.github.com/repos/estuart/CS6238Project2/commits{/sha}","git_commits_url":"https://api.github.com/repos/estuart/CS6238Project2/git/commits{/sha}","comments_url":"https://api.github.com/repos/estuart/CS6238Project2/comments{/number}","issue_comment_url":"https://api.github.com/repos/estuart/CS6238Project2/issues/comments{/number}","contents_url":"https://api.github.com/repos/estuart/CS6238Project2/contents/{+path}","compare_url":"https://api.github.com/repos/estuart/CS6238Project2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/estuart/CS6238Project2/merges","archive_url":"https://api.github.com/repos/estuart/CS6238Project2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/estuart/CS6238Project2/downloads","issues_url":"https://api.github.com/repos/estuart/CS6238Project2/issues{/number}","pulls_url":"https://api.github.com/repos/estuart/CS6238Project2/pulls{/number}","milestones_url":"https://api.github.com/repos/estuart/CS6238Project2/milestones{/number}","notifications_url":"https://api.github.com/repos/estuart/CS6238Project2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/estuart/CS6238Project2/labels{/name}","releases_url":"https://api.github.com/repos/estuart/CS6238Project2/releases{/id}","created_at":"2015-11-18T14:49:55Z","updated_at":"2015-11-18T14:58:27Z","pushed_at":"2015-11-21T14:49:59Z","git_url":"git://github.com/estuart/CS6238Project2.git","ssh_url":"git@github.com:estuart/CS6238Project2.git","clone_url":"https://github.com/estuart/CS6238Project2.git","svn_url":"https://github.com/estuart/CS6238Project2","homepage":null,"size":47,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":11,"forks":0,"open_issues":11,"watchers":0,"default_branch":"master"}},"base":{"label":"estuart:master","ref":"master","sha":"d23d26d7d68df1f0eafceb34b8608b48e5a61e56","user":{"login":"estuart","id":3664248,"avatar_url":"https://avatars.githubusercontent.com/u/3664248?v=3","gravatar_id":"","url":"https://api.github.com/users/estuart","html_url":"https://github.com/estuart","followers_url":"https://api.github.com/users/estuart/followers","following_url":"https://api.github.com/users/estuart/following{/other_user}","gists_url":"https://api.github.com/users/estuart/gists{/gist_id}","starred_url":"https://api.github.com/users/estuart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/estuart/subscriptions","organizations_url":"https://api.github.com/users/estuart/orgs","repos_url":"https://api.github.com/users/estuart/repos","events_url":"https://api.github.com/users/estuart/events{/privacy}","received_events_url":"https://api.github.com/users/estuart/received_events","type":"User","site_admin":false},"repo":{"id":46425347,"name":"CS6238Project2","full_name":"estuart/CS6238Project2","owner":{"login":"estuart","id":3664248,"avatar_url":"https://avatars.githubusercontent.com/u/3664248?v=3","gravatar_id":"","url":"https://api.github.com/users/estuart","html_url":"https://github.com/estuart","followers_url":"https://api.github.com/users/estuart/followers","following_url":"https://api.github.com/users/estuart/following{/other_user}","gists_url":"https://api.github.com/users/estuart/gists{/gist_id}","starred_url":"https://api.github.com/users/estuart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/estuart/subscriptions","organizations_url":"https://api.github.com/users/estuart/orgs","repos_url":"https://api.github.com/users/estuart/repos","events_url":"https://api.github.com/users/estuart/events{/privacy}","received_events_url":"https://api.github.com/users/estuart/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/estuart/CS6238Project2","description":null,"fork":false,"url":"https://api.github.com/repos/estuart/CS6238Project2","forks_url":"https://api.github.com/repos/estuart/CS6238Project2/forks","keys_url":"https://api.github.com/repos/estuart/CS6238Project2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/estuart/CS6238Project2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/estuart/CS6238Project2/teams","hooks_url":"https://api.github.com/repos/estuart/CS6238Project2/hooks","issue_events_url":"https://api.github.com/repos/estuart/CS6238Project2/issues/events{/number}","events_url":"https://api.github.com/repos/estuart/CS6238Project2/events","assignees_url":"https://api.github.com/repos/estuart/CS6238Project2/assignees{/user}","branches_url":"https://api.github.com/repos/estuart/CS6238Project2/branches{/branch}","tags_url":"https://api.github.com/repos/estuart/CS6238Project2/tags","blobs_url":"https://api.github.com/repos/estuart/CS6238Project2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/estuart/CS6238Project2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/estuart/CS6238Project2/git/refs{/sha}","trees_url":"https://api.github.com/repos/estuart/CS6238Project2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/estuart/CS6238Project2/statuses/{sha}","languages_url":"https://api.github.com/repos/estuart/CS6238Project2/languages","stargazers_url":"https://api.github.com/repos/estuart/CS6238Project2/stargazers","contributors_url":"https://api.github.com/repos/estuart/CS6238Project2/contributors","subscribers_url":"https://api.github.com/repos/estuart/CS6238Project2/subscribers","subscription_url":"https://api.github.com/repos/estuart/CS6238Project2/subscription","commits_url":"https://api.github.com/repos/estuart/CS6238Project2/commits{/sha}","git_commits_url":"https://api.github.com/repos/estuart/CS6238Project2/git/commits{/sha}","comments_url":"https://api.github.com/repos/estuart/CS6238Project2/comments{/number}","issue_comment_url":"https://api.github.com/repos/estuart/CS6238Project2/issues/comments{/number}","contents_url":"https://api.github.com/repos/estuart/CS6238Project2/contents/{+path}","compare_url":"https://api.github.com/repos/estuart/CS6238Project2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/estuart/CS6238Project2/merges","archive_url":"https://api.github.com/repos/estuart/CS6238Project2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/estuart/CS6238Project2/downloads","issues_url":"https://api.github.com/repos/estuart/CS6238Project2/issues{/number}","pulls_url":"https://api.github.com/repos/estuart/CS6238Project2/pulls{/number}","milestones_url":"https://api.github.com/repos/estuart/CS6238Project2/milestones{/number}","notifications_url":"https://api.github.com/repos/estuart/CS6238Project2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/estuart/CS6238Project2/labels{/name}","releases_url":"https://api.github.com/repos/estuart/CS6238Project2/releases{/id}","created_at":"2015-11-18T14:49:55Z","updated_at":"2015-11-18T14:58:27Z","pushed_at":"2015-11-21T14:49:59Z","git_url":"git://github.com/estuart/CS6238Project2.git","ssh_url":"git@github.com:estuart/CS6238Project2.git","clone_url":"https://github.com/estuart/CS6238Project2.git","svn_url":"https://github.com/estuart/CS6238Project2","homepage":null,"size":47,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":11,"forks":0,"open_issues":11,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/estuart/CS6238Project2/pulls/28"},"html":{"href":"https://github.com/estuart/CS6238Project2/pull/28"},"issue":{"href":"https://api.github.com/repos/estuart/CS6238Project2/issues/28"},"comments":{"href":"https://api.github.com/repos/estuart/CS6238Project2/issues/28/comments"},"review_comments":{"href":"https://api.github.com/repos/estuart/CS6238Project2/pulls/28/comments"},"review_comment":{"href":"https://api.github.com/repos/estuart/CS6238Project2/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/estuart/CS6238Project2/pulls/28/commits"},"statuses":{"href":"https://api.github.com/repos/estuart/CS6238Project2/statuses/59a746606f006d4963a9155495a156f9e03c1778"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":25,"deletions":1,"changed_files":3}}