diff --git a/core/backend/src/main/resources/db/migration/V62__1.18.18.sql b/core/backend/src/main/resources/db/migration/V62__1.18.18.sql index 96651f855f..30befd3d02 100644 --- a/core/backend/src/main/resources/db/migration/V62__1.18.18.sql +++ b/core/backend/src/main/resources/db/migration/V62__1.18.18.sql @@ -17,20 +17,4 @@ CREATE TABLE `panel_link_ticket` ALTER TABLE `panel_link_mapping` ADD COLUMN `require_ticket` tinyint(1) NOT NULL DEFAULT 0 AFTER `uuid`; -INSERT INTO `system_parameter` (`param_key`, `param_value`, `type`, `sort`) VALUES ('ai.baseUrl', 'https://maxkb.fit2cloud.com/ui/chat/5baa787163381fa2', 'text', 100); - - -DROP TABLE IF EXISTS `export_task`; -CREATE TABLE `export_task` ( - `id` varchar(255) NOT NULL, - `user_id` bigint(20) NOT NULL , - `file_name` varchar(2048) DEFAULT NULL, - `file_size` DOUBLE DEFAULT NULL, - `export_from` varchar(255) DEFAULT NULL, - `export_status` varchar(255) DEFAULT NULL, - `export_from_type` varchar(255) DEFAULT NULL, - `export_time` bigint(20) DEFAULT NULL, - `export_pogress` varchar(255) DEFAULT NULL, - PRIMARY KEY (`id`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE utf8mb4_general_ci; - +INSERT INTO `system_parameter` (`param_key`, `param_value`, `type`, `sort`) VALUES ('ai.baseUrl', 'https://maxkb.fit2cloud.com/ui/chat/5baa787163381fa2', 'text', 100); \ No newline at end of file diff --git a/core/backend/src/main/resources/db/migration/V64__1.18.19_export_task.sql b/core/backend/src/main/resources/db/migration/V64__1.18.19_export_task.sql new file mode 100644 index 0000000000..39c952930e --- /dev/null +++ b/core/backend/src/main/resources/db/migration/V64__1.18.19_export_task.sql @@ -0,0 +1,13 @@ +DROP TABLE IF EXISTS `export_task`; +CREATE TABLE `export_task` ( + `id` varchar(255) NOT NULL, + `user_id` bigint(20) NOT NULL , + `file_name` varchar(2048) DEFAULT NULL, + `file_size` DOUBLE DEFAULT NULL, + `export_from` varchar(255) DEFAULT NULL, + `export_status` varchar(255) DEFAULT NULL, + `export_from_type` varchar(255) DEFAULT NULL, + `export_time` bigint(20) DEFAULT NULL, + `export_pogress` varchar(255) DEFAULT NULL, + PRIMARY KEY (`id`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE utf8mb4_general_ci; \ No newline at end of file