Skip to content

Commit

Permalink
Merge pull request #1053 from lunescode/dev-1.0.3-sql-serviceInstance…
Browse files Browse the repository at this point in the history
…CloumnWidth

bugFix:unified the width of all instance related field to be 128.
  • Loading branch information
peacewong authored Nov 8, 2021
2 parents 7d00aea + 5d1f758 commit 47bf4c5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions db/linkis_ddl.sql
Original file line number Diff line number Diff line change
Expand Up @@ -571,7 +571,7 @@ DROP TABLE IF EXISTS `linkis_ps_instance_label_relation`;
CREATE TABLE `linkis_ps_instance_label_relation` (
`id` int(20) NOT NULL AUTO_INCREMENT,
`label_id` int(20) DEFAULT NULL COMMENT 'id reference linkis_ps_instance_label -> id',
`service_instance` varchar(64) NOT NULL COLLATE utf8_bin COMMENT 'structure like ${host|machine}:${port}',
`service_instance` varchar(128) NOT NULL COLLATE utf8_bin COMMENT 'structure like ${host|machine}:${port}',
`update_time` datetime DEFAULT CURRENT_TIMESTAMP COMMENT 'update unix timestamp',
`create_time` datetime DEFAULT CURRENT_TIMESTAMP COMMENT 'create unix timestamp',
PRIMARY KEY (`id`)
Expand Down Expand Up @@ -659,8 +659,8 @@ CREATE TABLE `linkis_cg_rm_external_resource_provider` (
DROP TABLE IF EXISTS `linkis_cg_manager_engine_em`;
CREATE TABLE `linkis_cg_manager_engine_em` (
`id` int(20) NOT NULL AUTO_INCREMENT,
`engine_instance` varchar(64) COLLATE utf8_bin DEFAULT NULL,
`em_instance` varchar(64) COLLATE utf8_bin DEFAULT NULL,
`engine_instance` varchar(128) COLLATE utf8_bin DEFAULT NULL,
`em_instance` varchar(128) COLLATE utf8_bin DEFAULT NULL,
`update_time` datetime DEFAULT CURRENT_TIMESTAMP,
`create_time` datetime DEFAULT CURRENT_TIMESTAMP,
PRIMARY KEY (`id`)
Expand Down Expand Up @@ -706,7 +706,7 @@ DROP TABLE IF EXISTS `linkis_cg_manager_label_service_instance`;
CREATE TABLE `linkis_cg_manager_label_service_instance` (
`id` int(20) NOT NULL AUTO_INCREMENT,
`label_id` int(20) DEFAULT NULL,
`service_instance` varchar(64) COLLATE utf8_bin DEFAULT NULL,
`service_instance` varchar(128) COLLATE utf8_bin DEFAULT NULL,
`update_time` datetime DEFAULT CURRENT_TIMESTAMP,
`create_time` datetime DEFAULT CURRENT_TIMESTAMP,
PRIMARY KEY (`id`)
Expand Down

0 comments on commit 47bf4c5

Please sign in to comment.