Skip to content

Commit

Permalink
fix: modify text default value into an literal expression
Browse files Browse the repository at this point in the history
  • Loading branch information
Lambert-Rao committed Feb 19, 2024
1 parent 8c5103d commit 8ed9a02
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,8 @@ CREATE TABLE `client`
`port` int(16) NOT NULL DEFAULT '-1' COMMENT '客户端端口',
`protocol` varchar(192) NOT NULL DEFAULT '' COMMENT '协议类型',
`status` tinyint(4) unsigned NOT NULL DEFAULT '0' COMMENT '状态: 1启用,0未启用',
`config_ids` text NOT NULL DEFAULT '' COMMENT 'csv config id list, like:1,3,7',
`description` text NOT NULL DEFAULT '' COMMENT '客户端描述',
`config_ids` text NOT NULL DEFAULT ('') COMMENT 'csv config id list, like:1,3,7',
`description` text NOT NULL DEFAULT ('') COMMENT '客户端描述',
`create_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
`end_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '结束时间',
`update_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '修改时间',
Expand All @@ -135,7 +135,7 @@ CREATE TABLE `connector`
`type` varchar(32) NOT NULL DEFAULT '' COMMENT 'Connector类型',
`status` tinyint(4) unsigned NOT NULL DEFAULT '0' COMMENT '状态: 1启用,0未启用',
`pod_state` tinyint(4) unsigned NOT NULL DEFAULT '0' COMMENT 'k8s pod状态。0: pending;1: running;2: success;3: failed;4: unknown',
`config_ids` text NOT NULL DEFAULT '' COMMENT 'csv config id list, like:1,3,7',
`config_ids` text NOT NULL DEFAULT ('') COMMENT 'csv config id list, like:1,3,7',
`create_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
`update_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '修改时间',
PRIMARY KEY (`id`),
Expand All @@ -156,7 +156,7 @@ CREATE TABLE `connection`
`status` tinyint(4) unsigned NOT NULL DEFAULT '0' COMMENT '状态: 1启用,0未启用',
`topic` varchar(192) NOT NULL DEFAULT '' COMMENT 'topic name',
`group_id` bigint(20) NOT NULL DEFAULT '-1' COMMENT 'GroupID',
`description` text NOT NULL DEFAULT '' COMMENT '客户端描述',
`description` text NOT NULL DEFAULT ('') COMMENT '客户端描述',
`create_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
`end_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '结束时间',
`update_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '修改时间',
Expand All @@ -178,7 +178,7 @@ CREATE TABLE `health_check_result`
`type_id` bigint(20) unsigned NOT NULL COMMENT '对应检查维度的实例id',
`cluster_id` bigint(20) NOT NULL DEFAULT '0' COMMENT '集群ID',
`status` tinyint(4) NOT NULL DEFAULT '0' COMMENT '检查状态(0:未通过,1:通过,2:正在检查,3:超时)',
`result_desc` text NOT NULL DEFAULT '' COMMENT '检查结果描述',
`result_desc` text NOT NULL DEFAULT ('') COMMENT '检查结果描述',
`create_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
`update_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
PRIMARY KEY (`id`),
Expand Down

0 comments on commit 8ed9a02

Please sign in to comment.