10 lines
237 B
MySQL
10 lines
237 B
MySQL
|
DELIMITER $$
|
||
|
CREATE OR REPLACE DEFINER=`vn`@`localhost` TRIGGER `vn`.`workerManaExcluded_beforeUpdate`
|
||
|
BEFORE UPDATE ON `workerManaExcluded`
|
||
|
FOR EACH ROW
|
||
|
BEGIN
|
||
|
DELETE FROM workerMana
|
||
|
WHERE workerFk = NEW.workerFk;
|
||
|
END$$
|
||
|
DELIMITER ;
|