{"action":"created","issue":{"url":"https://api.github.com/repos/theforeman/foreman/issues/2857","labels_url":"https://api.github.com/repos/theforeman/foreman/issues/2857/labels{/name}","comments_url":"https://api.github.com/repos/theforeman/foreman/issues/2857/comments","events_url":"https://api.github.com/repos/theforeman/foreman/issues/2857/events","html_url":"https://github.com/theforeman/foreman/pull/2857","id":112805829,"number":2857,"title":"Fixes #12261 - Removes foreign key constraint from reports table","user":{"login":"xprazak2","id":2664090,"avatar_url":"https://avatars.githubusercontent.com/u/2664090?v=3","gravatar_id":"","url":"https://api.github.com/users/xprazak2","html_url":"https://github.com/xprazak2","followers_url":"https://api.github.com/users/xprazak2/followers","following_url":"https://api.github.com/users/xprazak2/following{/other_user}","gists_url":"https://api.github.com/users/xprazak2/gists{/gist_id}","starred_url":"https://api.github.com/users/xprazak2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xprazak2/subscriptions","organizations_url":"https://api.github.com/users/xprazak2/orgs","repos_url":"https://api.github.com/users/xprazak2/repos","events_url":"https://api.github.com/users/xprazak2/events{/privacy}","received_events_url":"https://api.github.com/users/xprazak2/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/theforeman/foreman/labels/Needs%20testing","name":"Needs testing","color":"fbca04"},{"url":"https://api.github.com/repos/theforeman/foreman/labels/Not%20yet%20reviewed","name":"Not yet reviewed","color":"009800"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-10-22T13:42:16Z","updated_at":"2015-10-22T14:32:06Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/theforeman/foreman/pulls/2857","html_url":"https://github.com/theforeman/foreman/pull/2857","diff_url":"https://github.com/theforeman/foreman/pull/2857.diff","patch_url":"https://github.com/theforeman/foreman/pull/2857.patch"},"body":""},"comment":{"url":"https://api.github.com/repos/theforeman/foreman/issues/comments/150242567","html_url":"https://github.com/theforeman/foreman/pull/2857#issuecomment-150242567","issue_url":"https://api.github.com/repos/theforeman/foreman/issues/2857","id":150242567,"user":{"login":"xprazak2","id":2664090,"avatar_url":"https://avatars.githubusercontent.com/u/2664090?v=3","gravatar_id":"","url":"https://api.github.com/users/xprazak2","html_url":"https://github.com/xprazak2","followers_url":"https://api.github.com/users/xprazak2/followers","following_url":"https://api.github.com/users/xprazak2/following{/other_user}","gists_url":"https://api.github.com/users/xprazak2/gists{/gist_id}","starred_url":"https://api.github.com/users/xprazak2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xprazak2/subscriptions","organizations_url":"https://api.github.com/users/xprazak2/orgs","repos_url":"https://api.github.com/users/xprazak2/repos","events_url":"https://api.github.com/users/xprazak2/events{/privacy}","received_events_url":"https://api.github.com/users/xprazak2/received_events","type":"User","site_admin":false},"created_at":"2015-10-22T14:32:06Z","updated_at":"2015-10-22T14:32:06Z","body":"I think we kept it mainly because policies are assigned through its polymorphic 'assetable' relationship either to a host or whole hostgroup. I cannot think of anything else."}}