We should improve the foreign key relations in this project.
Some of the tables are linked and more are able to be linked through foreign keys, however.
They are set to delete/update RESTRICT. Some of these should just be CASCADE like course_view_options->course and resource_access->course.
Some tables aren't linked, like resource_access->user
Thank you for contributing to this project!
Describe your problem or feature you'd like added
We should improve the foreign key relations in this project. Some of the tables are linked and more are able to be linked through foreign keys, however.
RESTRICT
. Some of these should just beCASCADE
like course_view_options->course and resource_access->course.There's probably more that can be done here.