From eed822e46d7b7d0663cb29592f7eac0fa3cbfa85 Mon Sep 17 00:00:00 2001 From: taojinlong Date: Sun, 7 Apr 2024 15:30:36 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=96=B0=E5=A2=9E=E6=95=B0=E6=8D=AE?= =?UTF-8?q?=E5=AF=BC=E5=87=BA=E4=B8=AD=E5=BF=83=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../resources/db/migration/V62__1.18.18.sql | 18 +----------------- .../db/migration/V64__1.18.19_export_task.sql | 13 +++++++++++++ 2 files changed, 14 insertions(+), 17 deletions(-) create mode 100644 core/backend/src/main/resources/db/migration/V64__1.18.19_export_task.sql 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