-
Notifications
You must be signed in to change notification settings - Fork 6
define MiVideo table relationships #183
Comments
@zqian, establishing foreign keys from MiVideo to the Canvas data tables cannot yet be done easily because we are dropping records in However, you are right that we are missing a foreign key between |
@zqian, I've updated the issue description above. Of the two examples you gave, @ssciolla and I agree that relationships between MiVideo tables can be maintained. However, other relationships are problematic. If you have any other relationships to suggest, please add them to the list in the description. |
I removed the "bug" label because the definition of that label is "Something isn't working". In this case, it is working. This would be an enhancement, so I've added that label. |
verified the added FK in local MySQL instance. |
MiVideo tables need foreign key relationships to ensure data integrity.
For example:
Update: This had been discussed by @ssciolla, @lsloan, and others in the past. It was determined that relationships between MiVideo and other tables would break when updates were made, causing errors. As Sam notes below, it makes sense to establish the relationship between
mivideo_media_created
andmivideo_media_courses
.The text was updated successfully, but these errors were encountered: