{"action":"opened","issue":{"url":"https://api.github.com/repos/ilios/ilios/issues/1085","labels_url":"https://api.github.com/repos/ilios/ilios/issues/1085/labels{/name}","comments_url":"https://api.github.com/repos/ilios/ilios/issues/1085/comments","events_url":"https://api.github.com/repos/ilios/ilios/issues/1085/events","html_url":"https://github.com/ilios/ilios/issues/1085","id":114887680,"number":1085,"title":"Remove soft delete as a concept","user":{"login":"jrjohnson","id":349624,"avatar_url":"https://avatars.githubusercontent.com/u/349624?v=3","gravatar_id":"","url":"https://api.github.com/users/jrjohnson","html_url":"https://github.com/jrjohnson","followers_url":"https://api.github.com/users/jrjohnson/followers","following_url":"https://api.github.com/users/jrjohnson/following{/other_user}","gists_url":"https://api.github.com/users/jrjohnson/gists{/gist_id}","starred_url":"https://api.github.com/users/jrjohnson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jrjohnson/subscriptions","organizations_url":"https://api.github.com/users/jrjohnson/orgs","repos_url":"https://api.github.com/users/jrjohnson/repos","events_url":"https://api.github.com/users/jrjohnson/events{/privacy}","received_events_url":"https://api.github.com/users/jrjohnson/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ilios/ilios/labels/Ilios3","name":"Ilios3","color":"d4c5f9"}],"state":"open","locked":false,"assignee":{"login":"stopfstedt","id":1410427,"avatar_url":"https://avatars.githubusercontent.com/u/1410427?v=3","gravatar_id":"","url":"https://api.github.com/users/stopfstedt","html_url":"https://github.com/stopfstedt","followers_url":"https://api.github.com/users/stopfstedt/followers","following_url":"https://api.github.com/users/stopfstedt/following{/other_user}","gists_url":"https://api.github.com/users/stopfstedt/gists{/gist_id}","starred_url":"https://api.github.com/users/stopfstedt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stopfstedt/subscriptions","organizations_url":"https://api.github.com/users/stopfstedt/orgs","repos_url":"https://api.github.com/users/stopfstedt/repos","events_url":"https://api.github.com/users/stopfstedt/events{/privacy}","received_events_url":"https://api.github.com/users/stopfstedt/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/ilios/ilios/milestones/25","html_url":"https://github.com/ilios/ilios/milestones/v3.0.0-final","labels_url":"https://api.github.com/repos/ilios/ilios/milestones/25/labels","id":1372752,"number":25,"title":"v3.0.0-final","description":"","creator":{"login":"jrjohnson","id":349624,"avatar_url":"https://avatars.githubusercontent.com/u/349624?v=3","gravatar_id":"","url":"https://api.github.com/users/jrjohnson","html_url":"https://github.com/jrjohnson","followers_url":"https://api.github.com/users/jrjohnson/followers","following_url":"https://api.github.com/users/jrjohnson/following{/other_user}","gists_url":"https://api.github.com/users/jrjohnson/gists{/gist_id}","starred_url":"https://api.github.com/users/jrjohnson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jrjohnson/subscriptions","organizations_url":"https://api.github.com/users/jrjohnson/orgs","repos_url":"https://api.github.com/users/jrjohnson/repos","events_url":"https://api.github.com/users/jrjohnson/events{/privacy}","received_events_url":"https://api.github.com/users/jrjohnson/received_events","type":"User","site_admin":false},"open_issues":6,"closed_issues":5,"state":"open","created_at":"2015-10-23T16:10:02Z","updated_at":"2015-11-03T19:11:08Z","due_on":"2015-11-06T08:00:00Z","closed_at":null},"comments":0,"created_at":"2015-11-03T19:11:08Z","updated_at":"2015-11-03T19:11:08Z","closed_at":null,"body":"Soft delete is partially implemented and not really a protection against anything but the most lucky of circumstances.  As a result we should remove soft deletes where they exist and rely on database backup / rollback to deal with.  Those things which are currently being soft-deleted should be deleted instead and cascading used to remvoe relationships.\r\n\r\nThought:  We could prevent deletes of important things like courses / programs / schools be instead NOT cascading deletes so any delete action would fail on a database level in those cases where a course had sessions for example.  "}}