From 9ea5186f4928c2dc2daa489e2232fe4240bb5e01 Mon Sep 17 00:00:00 2001
From: ageerle <ageerle@163.com>
Date: 星期三, 02 四月 2025 10:51:53 +0800
Subject: [PATCH] feat: 微信机器人应用脚本

---
 /dev/null                               |    2 --
 script/sql/update/updatdata20250402.sql |    1 +
 2 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/script/sql/update/updatdata20250402.sql b/script/sql/update/updatdata20250402.sql
new file mode 100644
index 0000000..1a8f4b3
--- /dev/null
+++ b/script/sql/update/updatdata20250402.sql
@@ -0,0 +1 @@
+INSERT INTO `ry-vue`.`chat_app_store` (`id`, `name`, `description`, `avatar`, `app_url`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (7, '寰俊鏈哄櫒浜�', '寰俊鏈哄櫒浜�', 'https://panda-1253683406.cos.ap-guangzhou.myqcloud.com/panda/2025/04/02/0557a7d68fa842bba952ce0d6ef38a2e.png', '/wxbot', NULL, NULL, NULL, NULL, NULL, NULL);
diff --git a/script/sql/update/update20250302.sql b/script/sql/update/update20250302.sql
deleted file mode 100644
index b3aa42b..0000000
--- a/script/sql/update/update20250302.sql
+++ /dev/null
@@ -1 +0,0 @@
-ALTER TABLE `knowledge_info` ADD COLUMN `share` tinyint(4) NULL DEFAULT NULL COMMENT '鏄惁鍏紑鐭ヨ瘑搴擄紙0 鍚� 1鏄級' AFTER `kname`;
diff --git a/script/sql/update/update20250307.sql b/script/sql/update/update20250307.sql
deleted file mode 100644
index 7c2087b..0000000
--- a/script/sql/update/update20250307.sql
+++ /dev/null
@@ -1,18 +0,0 @@
-ALTER TABLE `knowledge_info`
-    ADD COLUMN `knowledge_separator` varchar(255) NULL COMMENT '鐭ヨ瘑鍒嗛殧绗�' AFTER `create_by`,
-ADD COLUMN `question_separator` varchar(255) NULL COMMENT '鎻愰棶鍒嗛殧绗�' AFTER `knowledge_separator`,
-ADD COLUMN `overlap_char` int NULL COMMENT '閲嶅彔瀛楃鏁�' AFTER `question_separator`,
-ADD COLUMN `retrieve_limit` int NULL COMMENT '鐭ヨ瘑搴撲腑妫�绱㈢殑鏉℃暟' AFTER `overlap_char`,
-ADD COLUMN `text_block_size` int NULL COMMENT '鏂囨湰鍧楀ぇ灏�' AFTER `retrieve_limit`,
-ADD COLUMN `vector` varchar(50) NULL COMMENT '鍚戦噺搴�' AFTER `text_block_size`,
-ADD COLUMN `vector_model` varchar(50) NULL COMMENT '鍚戦噺妯″瀷' AFTER `vector`;
-
-
-INSERT INTO `chat_config` (`id`, `category`, `config_name`, `config_value`, `config_dict`, `create_dept`, `create_time`, `create_by`, `update_by`, `update_time`, `remark`, `version`, `del_flag`, `update_ip`, `tenant_id`) VALUES (1897610056458412050, 'weaviate', 'protocol', 'http', '鍗忚', 103, '2025-03-06 21:10:02', '1', '1', '2025-03-06 21:10:31', NULL, NULL, '0', NULL, 0);
-INSERT INTO `chat_config` (`id`, `category`, `config_name`, `config_value`, `config_dict`, `create_dept`, `create_time`, `create_by`, `update_by`, `update_time`, `remark`, `version`, `del_flag`, `update_ip`, `tenant_id`) VALUES (1897610056458412051, 'weaviate', 'host', '127.0.0.1:6038', '鍦板潃', 103, '2025-03-06 21:10:02', '1', '1', '2025-03-06 21:10:31', NULL, NULL, '0', NULL, 0);
-INSERT INTO `chat_config` (`id`, `category`, `config_name`, `config_value`, `config_dict`, `create_dept`, `create_time`, `create_by`, `update_by`, `update_time`, `remark`, `version`, `del_flag`, `update_ip`, `tenant_id`) VALUES (1897610056458412052, 'weaviate', 'classname', 'LocalKnowledge', '鍒嗙被鍚嶇О', 103, '2025-03-06 21:10:02', '1', '1', '2025-03-06 21:10:31', NULL, NULL, '0', NULL, 0);
-INSERT INTO `chat_config` (`id`, `category`, `config_name`, `config_value`, `config_dict`, `create_dept`, `create_time`, `create_by`, `update_by`, `update_time`, `remark`, `version`, `del_flag`, `update_ip`, `tenant_id`) VALUES (1897610056458412053, 'milvus', 'host', '127.0.0.1', '鍦板潃', 103, '2025-03-06 21:10:02', '1', '1', '2025-03-06 21:10:31', NULL, NULL, '0', NULL, 0);
-INSERT INTO `chat_config` (`id`, `category`, `config_name`, `config_value`, `config_dict`, `create_dept`, `create_time`, `create_by`, `update_by`, `update_time`, `remark`, `version`, `del_flag`, `update_ip`, `tenant_id`) VALUES (1897610056458412054, 'milvus', 'port', '19530', '绔彛', 103, '2025-03-06 21:10:02', '1', '1', '2025-03-06 21:10:31', NULL, NULL, '0', NULL, 0);
-INSERT INTO `chat_config` (`id`, `category`, `config_name`, `config_value`, `config_dict`, `create_dept`, `create_time`, `create_by`, `update_by`, `update_time`, `remark`, `version`, `del_flag`, `update_ip`, `tenant_id`) VALUES (1897610056458412055, 'milvus', 'dimension', '1536', '缁村害', 103, '2025-03-06 21:10:02', '1', '1', '2025-03-06 21:10:31', NULL, NULL, '0', NULL, 0);
-INSERT INTO `chat_config` (`id`, `category`, `config_name`, `config_value`, `config_dict`, `create_dept`, `create_time`, `create_by`, `update_by`, `update_time`, `remark`, `version`, `del_flag`, `update_ip`, `tenant_id`) VALUES (1897610056458412056, 'milvus', 'collection', 'LocalKnowledge', '鍒嗙被鍚嶇О', 103, '2025-03-06 21:10:02', '1', '1', '2025-03-06 21:10:31', NULL, NULL, '0', NULL, 0);
-INSERT INTO `chat_config` (`id`, `category`, `config_name`, `config_value`, `config_dict`, `create_dept`, `create_time`, `create_by`, `update_by`, `update_time`, `remark`, `version`, `del_flag`, `update_ip`, `tenant_id`) VALUES (1897610056458412057, 'zhipu', 'key', '', '鏅鸿氨娓呰█key', 103, '2025-03-12 00:13:12', '1', '1', '2025-03-12 00:13:10', NULL, NULL, '0', NULL, 0);
diff --git a/script/sql/update/update20250328.sql b/script/sql/update/update20250328.sql
deleted file mode 100644
index 3f703ee..0000000
--- a/script/sql/update/update20250328.sql
+++ /dev/null
@@ -1,2 +0,0 @@
-ALTER TABLE `chat_message`
-    ADD COLUMN `role` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '瀵硅瘽瑙掕壊' AFTER `content`;

--
Gitblit v1.9.3