refactor:去掉数据库创建函数root用户限制

This commit is contained in:
wangjiahao 2021-07-29 15:09:53 +08:00
parent def4161c88
commit ecd06677fb

View File

@ -1,6 +1,6 @@
DROP FUNCTION IF EXISTS `GET_CHART_VIEW_COPY_NAME`;
delimiter ;;
CREATE DEFINER=`root`@`%` FUNCTION `GET_CHART_VIEW_COPY_NAME`(chartId varchar(255)) RETURNS varchar(255) CHARSET utf8
CREATE FUNCTION `GET_CHART_VIEW_COPY_NAME`(chartId varchar(255)) RETURNS varchar(255) CHARSET utf8
READS SQL DATA
BEGIN