salix/db/versions/10820-limeAspidistra/00-grants.sql

15 lines
413 B
MySQL
Raw Permalink Normal View History

2024-01-25 16:33:54 +00:00
CREATE OR REPLACE DEFINER=`root`@`localhost` PROCEDURE `vn`.`sale_replaceItem`() BEGIN END;
GRANT EXECUTE ON PROCEDURE `vn`.`sale_replaceItem` TO `employee`;
DELIMITER $$
CREATE OR REPLACE DEFINER=`root`@`localhost` FUNCTION `vn`.`worker_isInDepartment`()
RETURNS int(11)
DETERMINISTIC
BEGIN
RETURN 1;
END$$
DELIMITER ;
GRANT EXECUTE ON FUNCTION `vn`.`worker_isInDepartment` TO `employee`;
FLUSH PRIVILEGES;