From 889cd1580126a059aa8cc0ee767453c5be610cde Mon Sep 17 00:00:00 2001
From: wangjiahao <1522128093@qq.com>
Date: Wed, 3 Apr 2024 14:22:33 +0800
Subject: [PATCH] =?UTF-8?q?refactor(=E4=BB=AA=E8=A1=A8=E6=9D=BF):=20?=
=?UTF-8?q?=E6=9B=B4=E6=96=B0flyway?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
core/core-backend/pom.xml | 10 ++++++++++
.../src/main/resources/db/desktop/V2.5__ddl.sql | 2 +-
.../src/main/resources/db/migration/V2.5__ddl.sql | 2 +-
de-xpack | 2 +-
4 files changed, 13 insertions(+), 3 deletions(-)
diff --git a/core/core-backend/pom.xml b/core/core-backend/pom.xml
index 431f4be49c..5fc3da2993 100644
--- a/core/core-backend/pom.xml
+++ b/core/core-backend/pom.xml
@@ -101,6 +101,16 @@
com.h2database
h2
+
+ io.dataease
+ xpack-permissions
+ ${project.version}
+
+
+ io.dataease
+ xpack-base
+ ${project.version}
+
diff --git a/core/core-backend/src/main/resources/db/desktop/V2.5__ddl.sql b/core/core-backend/src/main/resources/db/desktop/V2.5__ddl.sql
index 6b832f81f1..13c00a3d73 100644
--- a/core/core-backend/src/main/resources/db/desktop/V2.5__ddl.sql
+++ b/core/core-backend/src/main/resources/db/desktop/V2.5__ddl.sql
@@ -36,5 +36,5 @@ CREATE TABLE `visualization_outer_params_target_view_info` (
ALTER TABLE `data_visualization_info`
MODIFY COLUMN `mobile_layout` tinyint NULL DEFAULT 0 COMMENT '移动端布局0-关闭 1-开启';
-
+update data_visualization_info set mobile_layout = 0;
INSERT INTO `core_sys_setting` (`id`, `pkey`, `pval`, `type`, `sort`) VALUES (3, 'ai.baseUrl', 'https://maxkb.fit2cloud.com/ui/chat/2ddd8b594ce09dbb', 'text', 0);
\ No newline at end of file
diff --git a/core/core-backend/src/main/resources/db/migration/V2.5__ddl.sql b/core/core-backend/src/main/resources/db/migration/V2.5__ddl.sql
index 3737bc09b8..6062e35f69 100644
--- a/core/core-backend/src/main/resources/db/migration/V2.5__ddl.sql
+++ b/core/core-backend/src/main/resources/db/migration/V2.5__ddl.sql
@@ -37,5 +37,5 @@ CREATE TABLE `visualization_outer_params_target_view_info` (
ALTER TABLE `data_visualization_info`
MODIFY COLUMN `mobile_layout` tinyint NULL DEFAULT 0 COMMENT '移动端布局0-关闭 1-开启';
-
+update data_visualization_info set mobile_layout = 0;
INSERT INTO `core_sys_setting` (`id`, `pkey`, `pval`, `type`, `sort`) VALUES (3, 'ai.baseUrl', 'https://maxkb.fit2cloud.com/ui/chat/2ddd8b594ce09dbb', 'text', 0);
diff --git a/de-xpack b/de-xpack
index 021b310648..13cb0779fc 160000
--- a/de-xpack
+++ b/de-xpack
@@ -1 +1 @@
-Subproject commit 021b310648ed5bf3700799b1ac09e7e5714650f9
+Subproject commit 13cb0779fc6771025613fdd992ec155710417e2a