TEAMMATES / teammates

This is the project website for the TEAMMATES feedback management tool for education
https://teammatesv4.appspot.com/
GNU General Public License v2.0
1.66k stars 3.28k forks source link

[#12048] Data migration: ensure consistency when script is stopped and resumed #13046

Closed yuanxi1 closed 5 months ago

yuanxi1 commented 5 months ago

Part of https://github.com/TEAMMATES/teammates/issues/12048

Outline of Solution

Edit: CascadeType.REMOVE is already present for most parts of the chain but not present for Course-FeedbackSession, Course-User. For easier implementation for deleteCourseCascade, added cascade = CascadeType.REMOVE annotation for the two relations in Course.java.