myt/templates/procedure.ejs

6 lines
179 B
Plaintext
Executable File

DROP PROCEDURE IF EXISTS `<%- schema %>`.`<%- name %>`;
DELIMITER $$
CREATE DEFINER='root'@'%' PROCEDURE `<%- schema %>`.`<%- name %>`(<%- paramList %>)
<%- body %>$$
DELIMITER ;