Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Formalize a process for removing Exams/Reports #56

Open
ssciolla opened this issue Mar 29, 2021 · 0 comments
Open

Formalize a process for removing Exams/Reports #56

ssciolla opened this issue Mar 29, 2021 · 0 comments
Labels
database enhancement New feature or request

Comments

@ssciolla
Copy link
Contributor

ssciolla commented Mar 29, 2021

This application is still relatively new, but at some point, we will need to be able to remove specific Exam or Report instances. Deleted Exam instances will result in related Submissions being deleted (CASCADE), but Reports being deleted will simply set the FK to null. (Exams and associated Reports should probably be removed together to ensure integrity.)

In a pinch, we could issue custom SQL to delete a Report and/or an Exam, but it would be better if these changes were captured somehow in a log and fully covered by unit tests. This kind of change management could be integrated with work on #54.

@ssciolla ssciolla added enhancement New feature or request database labels Mar 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
database enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant