{"action":"closed","issue":{"url":"https://api.github.com/repos/ko1eda/levelup-forum/issues/10","repository_url":"https://api.github.com/repos/ko1eda/levelup-forum","labels_url":"https://api.github.com/repos/ko1eda/levelup-forum/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/ko1eda/levelup-forum/issues/10/comments","events_url":"https://api.github.com/repos/ko1eda/levelup-forum/issues/10/events","html_url":"https://github.com/ko1eda/levelup-forum/issues/10","id":339279884,"node_id":"MDU6SXNzdWUzMzkyNzk4ODQ=","number":10,"title":"When a user is deleted their relationships still remain","user":{"login":"ko1eda","id":35028437,"node_id":"MDQ6VXNlcjM1MDI4NDM3","avatar_url":"https://avatars0.githubusercontent.com/u/35028437?v=4","gravatar_id":"","url":"https://api.github.com/users/ko1eda","html_url":"https://github.com/ko1eda","followers_url":"https://api.github.com/users/ko1eda/followers","following_url":"https://api.github.com/users/ko1eda/following{/other_user}","gists_url":"https://api.github.com/users/ko1eda/gists{/gist_id}","starred_url":"https://api.github.com/users/ko1eda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ko1eda/subscriptions","organizations_url":"https://api.github.com/users/ko1eda/orgs","repos_url":"https://api.github.com/users/ko1eda/repos","events_url":"https://api.github.com/users/ko1eda/events{/privacy}","received_events_url":"https://api.github.com/users/ko1eda/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-07-09T01:50:34Z","updated_at":"2018-09-04T15:41:25Z","closed_at":"2018-09-04T15:41:25Z","author_association":"OWNER","body":"Specifically thought about this in relation to their subscriptions, however in thinking more I realized that foreign key constraints have not been set on non-polymorphic relations as well. \r\n\r\nAlthough the feature to delete your account has not been added yet it is important to note that when this feature is added to use a combination of model events (for polymorphic relations like subscriptions and notifications) and foreign key cascading for non polymorphic entities to accomplish this."}}
{"actor":{"display_login":"ko1eda"}}