DELIMITER $$
CREATE OR REPLACE DEFINER=`vn`@`localhost` TRIGGER `vn`.`supplier_afterDelete`
	AFTER DELETE ON `supplier`
	FOR EACH ROW
BEGIN
	INSERT INTO supplierLog
		SET `action` = 'delete',
			`changedModel` = 'Supplier',
			`changedModelId` = OLD.id,
			`userFk` = account.myUser_getId();
END$$
DELIMITER ;
