Auto commit

This commit is contained in:
smallkun 2025-03-21 09:34:54 +08:00
parent b030ae136a
commit fbb09280fd

View File

@ -506,7 +506,7 @@ DELIMITER ;
DELIMITER $$
DROP TRIGGER IF EXISTS before_job_delete;
CREATE TRIGGER before_job_delete
BEFORE DELETE ON employee
BEFORE DELETE ON job
FOR EACH ROW
BEGIN
IF (SELECT COUNT(*) FROM employee WHERE job_id = OLD.job_id) > 0 THEN