myt/templates/procedure.ejs

6 lines
179 B
Plaintext
Raw Normal View History

2020-11-14 01:38:56 +00:00
DROP PROCEDURE IF EXISTS `<%- schema %>`.`<%- name %>`;
DELIMITER $$
CREATE DEFINER='root'@'%' PROCEDURE `<%- schema %>`.`<%- name %>`(<%- paramList %>)
<%- body %>$$
DELIMITER ;