From bd7e7611363a1bd0ea53162ac15f6ca96f0ee88c Mon Sep 17 00:00:00 2001 From: aiwenmo <32723967+aiwenmo@users.noreply.github.com> Date: Sat, 8 Oct 2022 09:47:04 +0800 Subject: [PATCH] [Fix-12254] [Registry] Modify the type of field named data into text (#12256) Co-authored-by: wenmo <32723967+wenmo@users.noreply.github.com> --- .../src/main/resources/mysql_registry_init.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dolphinscheduler-registry/dolphinscheduler-registry-plugins/dolphinscheduler-registry-mysql/src/main/resources/mysql_registry_init.sql b/dolphinscheduler-registry/dolphinscheduler-registry-plugins/dolphinscheduler-registry-mysql/src/main/resources/mysql_registry_init.sql index 6fc936fc6e..c9b22f478e 100644 --- a/dolphinscheduler-registry/dolphinscheduler-registry-plugins/dolphinscheduler-registry-mysql/src/main/resources/mysql_registry_init.sql +++ b/dolphinscheduler-registry/dolphinscheduler-registry-plugins/dolphinscheduler-registry-mysql/src/main/resources/mysql_registry_init.sql @@ -22,7 +22,7 @@ CREATE TABLE `t_ds_mysql_registry_data` ( `id` bigint(11) NOT NULL AUTO_INCREMENT COMMENT 'primary key', `key` varchar(200) NOT NULL COMMENT 'key, like zookeeper node path', - `data` varchar(200) NOT NULL COMMENT 'data, like zookeeper node value', + `data` text NOT NULL COMMENT 'data, like zookeeper node value', `type` tinyint(4) NOT NULL COMMENT '1: ephemeral node, 2: persistent node', `last_update_time` timestamp NULL COMMENT 'last update time', `create_time` timestamp NULL COMMENT 'create time',