From 9a69f8a23f1b6e8ecc6a9dc4c19e50d6b8beef32 Mon Sep 17 00:00:00 2001 From: fit2cloud-chenyw Date: Fri, 3 Sep 2021 14:46:06 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E4=B8=BB=E9=A2=98=E5=88=87=E6=8D=A2sql?= =?UTF-8?q?=E4=BE=9D=E8=B5=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../resources/db/migration/V26__de1.3.sql | 50 +++++++++++++++++++ 1 file changed, 50 insertions(+) diff --git a/backend/src/main/resources/db/migration/V26__de1.3.sql b/backend/src/main/resources/db/migration/V26__de1.3.sql index ef59aa58cb..659cb89ea9 100644 --- a/backend/src/main/resources/db/migration/V26__de1.3.sql +++ b/backend/src/main/resources/db/migration/V26__de1.3.sql @@ -4,4 +4,54 @@ BEGIN; INSERT INTO `sys_msg_type` VALUES (7, 0, 'i18n_msg_type_ds_invalid', 'datasource', 'to-msg-ds'); INSERT INTO `sys_msg_type` VALUES (8, 7, 'i18n_msg_type_ds_invalid', 'datasource', 'to-msg-ds'); +COMMIT; + + + + + + + + + + + + + + + + + + + + +-- ---------------------------- +-- Table structure for system_parameter +-- ---------------------------- +DROP TABLE IF EXISTS `system_parameter`; +CREATE TABLE `system_parameter` ( + `param_key` varchar(64) NOT NULL COMMENT 'Parameter name', + `param_value` varchar(255) DEFAULT NULL COMMENT 'Parameter value', + `type` varchar(100) NOT NULL DEFAULT 'text' COMMENT 'Parameter type', + `sort` int(5) DEFAULT NULL COMMENT 'Sort', + PRIMARY KEY (`param_key`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; + +-- ---------------------------- +-- Records of system_parameter +-- ---------------------------- +BEGIN; +INSERT INTO `system_parameter` VALUES ('', NULL, 'text', NULL); +INSERT INTO `system_parameter` VALUES ('default.language', 'zh_CN', 'text', -1); +INSERT INTO `system_parameter` VALUES ('ui.favicon', NULL, 'file', -1); +INSERT INTO `system_parameter` VALUES ('ui.loginImage', NULL, 'file', 4); +INSERT INTO `system_parameter` VALUES ('ui.loginLogo', NULL, 'file', 5); +INSERT INTO `system_parameter` VALUES ('ui.loginTitle', NULL, 'text', 3); +INSERT INTO `system_parameter` VALUES ('ui.logo', NULL, 'file', 6); +INSERT INTO `system_parameter` VALUES ('ui.theme', NULL, 'text', 2); +INSERT INTO `system_parameter` VALUES ('ui.title', NULL, 'text', 1); +INSERT INTO `system_parameter` VALUES ('ui.topMenuActiveColor', NULL, 'text', 8); +INSERT INTO `system_parameter` VALUES ('ui.topMenuColor', NULL, 'text', 7); +INSERT INTO `system_parameter` VALUES ('ui.topMenuTextActiveColor', NULL, 'text', 10); +INSERT INTO `system_parameter` VALUES ('ui.topMenuTextColor', NULL, 'text', 9); COMMIT; \ No newline at end of file