GreenMine / teamarket

RBI "ITC" test-case website on Laravel + PostgreSQL
0 stars 0 forks source link

Add ON DELETE CASCADE for identifiers(relation) #2

Open GreenMine opened 1 year ago

GreenMine commented 1 year ago

That's only works when you delete parent of relationship. In order for this to work in opposite direction, you need to add event handler that will delete parent row when you deleting child