From 2ce604d2410f2c0f6afac2a3d05a949e1f24e1e7 Mon Sep 17 00:00:00 2001 From: qianming Date: Mon, 27 Jun 2022 16:52:09 +0800 Subject: [PATCH] update_widget_column.sql --- .../db/migration/V1.0.21__update_widget_column.sql | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 report-core/src/main/resources/db/migration/V1.0.21__update_widget_column.sql diff --git a/report-core/src/main/resources/db/migration/V1.0.21__update_widget_column.sql b/report-core/src/main/resources/db/migration/V1.0.21__update_widget_column.sql new file mode 100644 index 00000000..843502d8 --- /dev/null +++ b/report-core/src/main/resources/db/migration/V1.0.21__update_widget_column.sql @@ -0,0 +1,9 @@ +-- 调整gaea_report_dashboard_widget部分字段长度 + +ALTER TABLE `aj_report`.`gaea_report_dashboard_widget` MODIFY COLUMN `setup` text CHARACTER SET utf8 COLLATE utf8_general_ci NULL COMMENT '组件的渲染属性json' AFTER `type`; + +ALTER TABLE `aj_report`.`gaea_report_dashboard_widget` MODIFY COLUMN `data` text CHARACTER SET utf8 COLLATE utf8_general_ci NULL COMMENT '组件的数据属性json' AFTER `setup`; + +ALTER TABLE `aj_report`.`gaea_report_dashboard_widget` MODIFY COLUMN `collapse` text CHARACTER SET utf8 COLLATE utf8_general_ci NULL COMMENT '组件的配置属性json' AFTER `data`; + +ALTER TABLE `aj_report`.`gaea_report_dashboard_widget` MODIFY COLUMN `position` text CHARACTER SET utf8 COLLATE utf8_general_ci NULL COMMENT '组件的大小位置属性json' AFTER `collapse`;