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`;