Skip to content

Commit

Permalink
[INLONG-10071][Manager] Supplementary the SQL statement trailing semi…
Browse files Browse the repository at this point in the history
…colon in apache_inlong_manager.sql (apache#10072)

Co-authored-by: averyzhang <[email protected]>
  • Loading branch information
featzhang and averyzhang authored Apr 25, 2024
1 parent 5a0ae62 commit 13771b0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions inlong-manager/manager-web/sql/apache_inlong_manager.sql
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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;
6 changes: 3 additions & 3 deletions inlong-manager/manager-web/sql/changes-1.12.0.sql
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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` )
ALTER TABLE `audit_base` ADD UNIQUE KEY unique_audit_base_type (`indicator_type`,`type`);

0 comments on commit 13771b0

Please sign in to comment.