World's first open-source enterprise world model.
Rust agent-memorybitemporalgraphragknowledge-baseknowledge-graphllmontologypgvectorpostgresqlragrustself-hostedsemantic-searchtemporal-knowledge-graphworld-model
The data-source migration stops promising to delete itself (#22)
WaylandYangce7ba6dfaa3f
diff --git a/migrations/0020_data_sources.sql b/migrations/0020_data_sources.sqlindex b66f7e21..2782e783 100644--- a/migrations/0020_data_sources.sql+++ b/migrations/0020_data_sources.sql@@ -1,4 +1,4 @@--- 问数刀 1:数据源两层模型(应用后按迭代期策略折入基础迁移并删除本文件)。+-- 问数:数据源两层模型。-- 系统层注册连接(凭据集中、跨 KB 复用),知识库层挂载授权(问数权限跟 KB 走)。CREATE TABLE data_sources (@@ -6,7 +6,7 @@ CREATE TABLE data_sources (name TEXT NOT NULL UNIQUE,-- 首发仅 postgres;mysql/clickhouse 后续加驱动engine TEXT NOT NULL CHECK (engine IN ('postgres')),- -- 连接串(含凭据)。与 llm_settings 的 api key 同待遇:静态加密是发布前统一硬化项+ -- 连接串(含凭据)。与 llm_settings 的 api key 同待遇:静态加密尚未实现,见 README 的 Status 段conn_string TEXT NOT NULL,created_by UUID REFERENCES users(id) ON DELETE SET NULL,created_at TIMESTAMPTZ NOT NULL DEFAULT now(),