refactor: refs #8613 add fk to claimEnd.claimDestinationFk #3479
|
@ -4,4 +4,4 @@ ALTER TABLE vn.claimEnd
|
||||||
FOREIGN KEY (claimDestinationFk)
|
FOREIGN KEY (claimDestinationFk)
|
||||||
REFERENCES claimDestination(id)
|
REFERENCES claimDestination(id)
|
||||||
ON UPDATE CASCADE
|
ON UPDATE CASCADE
|
||||||
ON DELETE CASCADE;
|
ON DELETE RESTRICT;
|
||||||
ivanm marked this conversation as resolved
Outdated
|
Loading…
Reference in New Issue
ací en delete restrict, perque si algu tira a borrar un tipo de claim destination, no volem que borre en cascada totes les claimEnd que hi haja.