You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by we...@apache.org on 2022/10/08 01:47:12 UTC

[dolphinscheduler] branch dev updated: [Fix-12254] [Registry] Modify the type of field named data into text (#12256)

This is an automated email from the ASF dual-hosted git repository.

wenjun pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/dolphinscheduler.git


The following commit(s) were added to refs/heads/dev by this push:
     new bd7e761136 [Fix-12254] [Registry] Modify the type of field named data into text (#12256)
bd7e761136 is described below

commit bd7e7611363a1bd0ea53162ac15f6ca96f0ee88c
Author: aiwenmo <32...@users.noreply.github.com>
AuthorDate: Sat Oct 8 09:47:04 2022 +0800

    [Fix-12254] [Registry] Modify the type of field named data into text (#12256)
    
    Co-authored-by: wenmo <32...@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',