cascading deletion for course, cg, sr, req and degree