diff --git a/inlong-manager/manager-web/sql/apache_inlong_manager.sql b/inlong-manager/manager-web/sql/apache_inlong_manager.sql index 235711a9d04..6b132ac98db 100644 --- a/inlong-manager/manager-web/sql/apache_inlong_manager.sql +++ b/inlong-manager/manager-web/sql/apache_inlong_manager.sql @@ -977,7 +977,7 @@ CREATE TABLE IF NOT EXISTS `module_config` `modify_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT 'Modify time', PRIMARY KEY (`id`) ) ENGINE = InnoDB - DEFAULT CHARSET = utf8mb4 COMMENT = 'Module config table' + DEFAULT CHARSET = utf8mb4 COMMENT = 'Module config table'; -- ---------------------------- -- Table structure for package_config @@ -996,7 +996,7 @@ CREATE TABLE IF NOT EXISTS `package_config` ( `modify_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT 'Modify time', PRIMARY KEY (`id`) ) ENGINE = InnoDB - DEFAULT CHARSET = utf8mb4 COMMENT = 'Package config table' + DEFAULT CHARSET = utf8mb4 COMMENT = 'Package config table'; -- ---------------------------- SET FOREIGN_KEY_CHECKS = 1; diff --git a/inlong-manager/manager-web/sql/changes-1.12.0.sql b/inlong-manager/manager-web/sql/changes-1.12.0.sql index 3c6c2bbe436..946cf925750 100644 --- a/inlong-manager/manager-web/sql/changes-1.12.0.sql +++ b/inlong-manager/manager-web/sql/changes-1.12.0.sql @@ -47,7 +47,7 @@ CREATE TABLE IF NOT EXISTS `module_config` `modify_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT 'Modify time', PRIMARY KEY (`id`) ) ENGINE = InnoDB - DEFAULT CHARSET = utf8mb4 COMMENT = 'Module config table' + DEFAULT CHARSET = utf8mb4 COMMENT = 'Module config table'; -- ---------------------------- -- Table structure for package_config @@ -66,8 +66,8 @@ CREATE TABLE IF NOT EXISTS `package_config` ( `modify_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT 'Modify time', PRIMARY KEY (`id`) ) ENGINE = InnoDB - DEFAULT CHARSET = utf8mb4 COMMENT = 'Package config table' + DEFAULT CHARSET = utf8mb4 COMMENT = 'Package config table'; DROP INDEX `unique_audit_base_type` ON `audit_base`; ALTER TABLE `audit_base` CHANGE is_sent indicator_type int(4) DEFAULT NULL COMMENT 'Indicator type for audit'; -ALTER TABLE `audit_base` ADD UNIQUE KEY unique_audit_base_type (`indicator_type`,`type` ) \ No newline at end of file +ALTER TABLE `audit_base` ADD UNIQUE KEY unique_audit_base_type (`indicator_type`,`type`); \ No newline at end of file