Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

A constraints needed to satisfy, how to setup MariaDB?  RSS feed

 
Jacky Luk
Ranch Hand
Posts: 634
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
*customer deleted then order details, complain and maintainence to be deleted

However, where should I define the cascade delete in MariaDB...
Say the 1st one, should I put the cascade delete option in customer or the other tables?

Update, should be in the other tables:
Thanks
Jack
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!