diff --git a/backend/src/main/resources/db/migration/V9__chart_view_copy.sql b/backend/src/main/resources/db/migration/V9__chart_view_copy.sql index 0cbcb569c9..cd62efca8f 100644 --- a/backend/src/main/resources/db/migration/V9__chart_view_copy.sql +++ b/backend/src/main/resources/db/migration/V9__chart_view_copy.sql @@ -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