yumoqing 9d668843f1 feat(migrations): m0037 pipeline_user_secrets 建表(2026-09-17)
用户敏感信息库表:AES密文 + sha256指纹去重 + org/user双维归属 + 使用计数。
DDL 由 json2ddl 在测试机实跑生成后手工调整为幂等形态(去DROP、CREATE TABLE
IF NOT EXISTS、PRIMARY KEY 内联);json2ddl 不生成索引 → 3条 CREATE INDEX
IF NOT EXISTS 手写(同 m0035 做法)。唯一索引 (org_id,user_id,name)。
ID 撞号检查通过(35文件35唯一id)。表定义源 models JSON 在 pipeline-service。
2026-09-17 15:45:48 +08:00
..