re: How and when to add foreign key constraints VIEW POST

FULL DISCUSSION
 

Most databases don't automatically index foreign keys! MySQL's InnoDB engine does, but if you're using something else you'll have to evaluate whether to index the key column(s) yourself.

 

oo, I did not know that! I will update my post. Thank you!

code of conduct - report abuse