test(personal): close personal knowledge pilot gates

This commit is contained in:
2026-07-12 12:42:24 +08:00
parent 0d64cf0f21
commit 60a78fdd6a
9 changed files with 211 additions and 0 deletions
@@ -1,6 +1,11 @@
-- 个人 AI 助理独立知识空间。
-- 个人知识仅按 tenant_id + owner_user_id 隔离,不修改或复用企业 aihr_knowledge_* 表。
-- 个人资料禁止使用公开桶;本地默认 MinIO 改为私有访问,下载统一走短时签名 URL。
UPDATE `sys_oss_config`
SET `access_policy` = '0', `update_time` = CURRENT_TIMESTAMP
WHERE `tenant_id` = '000000' AND `config_key` = 'minio';
CREATE TABLE IF NOT EXISTS `aihr_personal_space` (
`id` bigint NOT NULL AUTO_INCREMENT COMMENT '主键',
`tenant_id` varchar(20) NOT NULL DEFAULT '000000' COMMENT '租户编号',