{"action":"opened","number":248,"pull_request":{"url":"https://api.github.com/repos/poweradmin/poweradmin/pulls/248","id":43201440,"html_url":"https://github.com/poweradmin/poweradmin/pull/248","diff_url":"https://github.com/poweradmin/poweradmin/pull/248.diff","patch_url":"https://github.com/poweradmin/poweradmin/pull/248.patch","issue_url":"https://api.github.com/repos/poweradmin/poweradmin/issues/248","number":248,"state":"open","locked":false,"title":"must delete domain record last to retain relational integrity","user":{"login":"ktims","id":1471533,"avatar_url":"https://avatars.githubusercontent.com/u/1471533?v=3","gravatar_id":"","url":"https://api.github.com/users/ktims","html_url":"https://github.com/ktims","followers_url":"https://api.github.com/users/ktims/followers","following_url":"https://api.github.com/users/ktims/following{/other_user}","gists_url":"https://api.github.com/users/ktims/gists{/gist_id}","starred_url":"https://api.github.com/users/ktims/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ktims/subscriptions","organizations_url":"https://api.github.com/users/ktims/orgs","repos_url":"https://api.github.com/users/ktims/repos","events_url":"https://api.github.com/users/ktims/events{/privacy}","received_events_url":"https://api.github.com/users/ktims/received_events","type":"User","site_admin":false},"body":"To retain relational integrity, we must delete the dependent records first.","created_at":"2015-08-24T17:45:29Z","updated_at":"2015-08-24T17:45:29Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/poweradmin/poweradmin/pulls/248/commits","review_comments_url":"https://api.github.com/repos/poweradmin/poweradmin/pulls/248/comments","review_comment_url":"https://api.github.com/repos/poweradmin/poweradmin/pulls/comments{/number}","comments_url":"https://api.github.com/repos/poweradmin/poweradmin/issues/248/comments","statuses_url":"https://api.github.com/repos/poweradmin/poweradmin/statuses/43ff83f8bcdd3ddc0bcdb14db6047b01e624a9e5","head":{"label":"ktims:sql-relational-fix","ref":"sql-relational-fix","sha":"43ff83f8bcdd3ddc0bcdb14db6047b01e624a9e5","user":{"login":"ktims","id":1471533,"avatar_url":"https://avatars.githubusercontent.com/u/1471533?v=3","gravatar_id":"","url":"https://api.github.com/users/ktims","html_url":"https://github.com/ktims","followers_url":"https://api.github.com/users/ktims/followers","following_url":"https://api.github.com/users/ktims/following{/other_user}","gists_url":"https://api.github.com/users/ktims/gists{/gist_id}","starred_url":"https://api.github.com/users/ktims/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ktims/subscriptions","organizations_url":"https://api.github.com/users/ktims/orgs","repos_url":"https://api.github.com/users/ktims/repos","events_url":"https://api.github.com/users/ktims/events{/privacy}","received_events_url":"https://api.github.com/users/ktims/received_events","type":"User","site_admin":false},"repo":{"id":24437157,"name":"poweradmin","full_name":"ktims/poweradmin","owner":{"login":"ktims","id":1471533,"avatar_url":"https://avatars.githubusercontent.com/u/1471533?v=3","gravatar_id":"","url":"https://api.github.com/users/ktims","html_url":"https://github.com/ktims","followers_url":"https://api.github.com/users/ktims/followers","following_url":"https://api.github.com/users/ktims/following{/other_user}","gists_url":"https://api.github.com/users/ktims/gists{/gist_id}","starred_url":"https://api.github.com/users/ktims/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ktims/subscriptions","organizations_url":"https://api.github.com/users/ktims/orgs","repos_url":"https://api.github.com/users/ktims/repos","events_url":"https://api.github.com/users/ktims/events{/privacy}","received_events_url":"https://api.github.com/users/ktims/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ktims/poweradmin","description":"A web-based control panel for PowerDNS","fork":true,"url":"https://api.github.com/repos/ktims/poweradmin","forks_url":"https://api.github.com/repos/ktims/poweradmin/forks","keys_url":"https://api.github.com/repos/ktims/poweradmin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ktims/poweradmin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ktims/poweradmin/teams","hooks_url":"https://api.github.com/repos/ktims/poweradmin/hooks","issue_events_url":"https://api.github.com/repos/ktims/poweradmin/issues/events{/number}","events_url":"https://api.github.com/repos/ktims/poweradmin/events","assignees_url":"https://api.github.com/repos/ktims/poweradmin/assignees{/user}","branches_url":"https://api.github.com/repos/ktims/poweradmin/branches{/branch}","tags_url":"https://api.github.com/repos/ktims/poweradmin/tags","blobs_url":"https://api.github.com/repos/ktims/poweradmin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ktims/poweradmin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ktims/poweradmin/git/refs{/sha}","trees_url":"https://api.github.com/repos/ktims/poweradmin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ktims/poweradmin/statuses/{sha}","languages_url":"https://api.github.com/repos/ktims/poweradmin/languages","stargazers_url":"https://api.github.com/repos/ktims/poweradmin/stargazers","contributors_url":"https://api.github.com/repos/ktims/poweradmin/contributors","subscribers_url":"https://api.github.com/repos/ktims/poweradmin/subscribers","subscription_url":"https://api.github.com/repos/ktims/poweradmin/subscription","commits_url":"https://api.github.com/repos/ktims/poweradmin/commits{/sha}","git_commits_url":"https://api.github.com/repos/ktims/poweradmin/git/commits{/sha}","comments_url":"https://api.github.com/repos/ktims/poweradmin/comments{/number}","issue_comment_url":"https://api.github.com/repos/ktims/poweradmin/issues/comments{/number}","contents_url":"https://api.github.com/repos/ktims/poweradmin/contents/{+path}","compare_url":"https://api.github.com/repos/ktims/poweradmin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ktims/poweradmin/merges","archive_url":"https://api.github.com/repos/ktims/poweradmin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ktims/poweradmin/downloads","issues_url":"https://api.github.com/repos/ktims/poweradmin/issues{/number}","pulls_url":"https://api.github.com/repos/ktims/poweradmin/pulls{/number}","milestones_url":"https://api.github.com/repos/ktims/poweradmin/milestones{/number}","notifications_url":"https://api.github.com/repos/ktims/poweradmin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ktims/poweradmin/labels{/name}","releases_url":"https://api.github.com/repos/ktims/poweradmin/releases{/id}","created_at":"2014-09-25T00:10:23Z","updated_at":"2014-09-25T00:19:08Z","pushed_at":"2015-08-24T17:44:37Z","git_url":"git://github.com/ktims/poweradmin.git","ssh_url":"git@github.com:ktims/poweradmin.git","clone_url":"https://github.com/ktims/poweradmin.git","svn_url":"https://github.com/ktims/poweradmin","homepage":"http://www.poweradmin.org","size":2995,"stargazers_count":0,"watchers_count":0,"language":"PHP","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":"poweradmin:master","ref":"master","sha":"c49908ecaa2a43015e53b3749ff9191e44a83a85","user":{"login":"poweradmin","id":1170111,"avatar_url":"https://avatars.githubusercontent.com/u/1170111?v=3","gravatar_id":"","url":"https://api.github.com/users/poweradmin","html_url":"https://github.com/poweradmin","followers_url":"https://api.github.com/users/poweradmin/followers","following_url":"https://api.github.com/users/poweradmin/following{/other_user}","gists_url":"https://api.github.com/users/poweradmin/gists{/gist_id}","starred_url":"https://api.github.com/users/poweradmin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/poweradmin/subscriptions","organizations_url":"https://api.github.com/users/poweradmin/orgs","repos_url":"https://api.github.com/users/poweradmin/repos","events_url":"https://api.github.com/users/poweradmin/events{/privacy}","received_events_url":"https://api.github.com/users/poweradmin/received_events","type":"Organization","site_admin":false},"repo":{"id":1482150,"name":"poweradmin","full_name":"poweradmin/poweradmin","owner":{"login":"poweradmin","id":1170111,"avatar_url":"https://avatars.githubusercontent.com/u/1170111?v=3","gravatar_id":"","url":"https://api.github.com/users/poweradmin","html_url":"https://github.com/poweradmin","followers_url":"https://api.github.com/users/poweradmin/followers","following_url":"https://api.github.com/users/poweradmin/following{/other_user}","gists_url":"https://api.github.com/users/poweradmin/gists{/gist_id}","starred_url":"https://api.github.com/users/poweradmin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/poweradmin/subscriptions","organizations_url":"https://api.github.com/users/poweradmin/orgs","repos_url":"https://api.github.com/users/poweradmin/repos","events_url":"https://api.github.com/users/poweradmin/events{/privacy}","received_events_url":"https://api.github.com/users/poweradmin/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/poweradmin/poweradmin","description":"A web-based control panel for PowerDNS","fork":false,"url":"https://api.github.com/repos/poweradmin/poweradmin","forks_url":"https://api.github.com/repos/poweradmin/poweradmin/forks","keys_url":"https://api.github.com/repos/poweradmin/poweradmin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/poweradmin/poweradmin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/poweradmin/poweradmin/teams","hooks_url":"https://api.github.com/repos/poweradmin/poweradmin/hooks","issue_events_url":"https://api.github.com/repos/poweradmin/poweradmin/issues/events{/number}","events_url":"https://api.github.com/repos/poweradmin/poweradmin/events","assignees_url":"https://api.github.com/repos/poweradmin/poweradmin/assignees{/user}","branches_url":"https://api.github.com/repos/poweradmin/poweradmin/branches{/branch}","tags_url":"https://api.github.com/repos/poweradmin/poweradmin/tags","blobs_url":"https://api.github.com/repos/poweradmin/poweradmin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/poweradmin/poweradmin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/poweradmin/poweradmin/git/refs{/sha}","trees_url":"https://api.github.com/repos/poweradmin/poweradmin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/poweradmin/poweradmin/statuses/{sha}","languages_url":"https://api.github.com/repos/poweradmin/poweradmin/languages","stargazers_url":"https://api.github.com/repos/poweradmin/poweradmin/stargazers","contributors_url":"https://api.github.com/repos/poweradmin/poweradmin/contributors","subscribers_url":"https://api.github.com/repos/poweradmin/poweradmin/subscribers","subscription_url":"https://api.github.com/repos/poweradmin/poweradmin/subscription","commits_url":"https://api.github.com/repos/poweradmin/poweradmin/commits{/sha}","git_commits_url":"https://api.github.com/repos/poweradmin/poweradmin/git/commits{/sha}","comments_url":"https://api.github.com/repos/poweradmin/poweradmin/comments{/number}","issue_comment_url":"https://api.github.com/repos/poweradmin/poweradmin/issues/comments{/number}","contents_url":"https://api.github.com/repos/poweradmin/poweradmin/contents/{+path}","compare_url":"https://api.github.com/repos/poweradmin/poweradmin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/poweradmin/poweradmin/merges","archive_url":"https://api.github.com/repos/poweradmin/poweradmin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/poweradmin/poweradmin/downloads","issues_url":"https://api.github.com/repos/poweradmin/poweradmin/issues{/number}","pulls_url":"https://api.github.com/repos/poweradmin/poweradmin/pulls{/number}","milestones_url":"https://api.github.com/repos/poweradmin/poweradmin/milestones{/number}","notifications_url":"https://api.github.com/repos/poweradmin/poweradmin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/poweradmin/poweradmin/labels{/name}","releases_url":"https://api.github.com/repos/poweradmin/poweradmin/releases{/id}","created_at":"2011-03-15T10:17:43Z","updated_at":"2015-08-24T07:25:58Z","pushed_at":"2015-08-20T15:20:45Z","git_url":"git://github.com/poweradmin/poweradmin.git","ssh_url":"git@github.com:poweradmin/poweradmin.git","clone_url":"https://github.com/poweradmin/poweradmin.git","svn_url":"https://github.com/poweradmin/poweradmin","homepage":"http://www.poweradmin.org","size":5476,"stargazers_count":202,"watchers_count":202,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":100,"mirror_url":null,"open_issues_count":98,"forks":100,"open_issues":98,"watchers":202,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/poweradmin/poweradmin/pulls/248"},"html":{"href":"https://github.com/poweradmin/poweradmin/pull/248"},"issue":{"href":"https://api.github.com/repos/poweradmin/poweradmin/issues/248"},"comments":{"href":"https://api.github.com/repos/poweradmin/poweradmin/issues/248/comments"},"review_comments":{"href":"https://api.github.com/repos/poweradmin/poweradmin/pulls/248/comments"},"review_comment":{"href":"https://api.github.com/repos/poweradmin/poweradmin/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/poweradmin/poweradmin/pulls/248/commits"},"statuses":{"href":"https://api.github.com/repos/poweradmin/poweradmin/statuses/43ff83f8bcdd3ddc0bcdb14db6047b01e624a9e5"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":1,"deletions":1,"changed_files":1}}