ai-chatbot/lib/db/migrations/0025_add_dingtalk_organizations.sql
Mosijiu 9285fc1822
Some checks failed
Lint / build (20) (push) Has been cancelled
Playwright Tests / test (push) Has been cancelled
钉钉登录支持配置多组织
2025-12-18 22:12:03 +08:00

10 lines
355 B
SQL
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

-- 迁移文件:0025_add_dingtalk_organizations.sql
-- 功能:为 AuthSettings 添加多组织钉钉配置字段
ALTER TABLE "AuthSettings"
ADD COLUMN IF NOT EXISTS "dingTalkOrganizations" jsonb DEFAULT '[]'::jsonb;
COMMENT ON COLUMN "AuthSettings"."dingTalkOrganizations" IS '钉钉多组织配置,JSON 数组:[{ name, appKey, appSecret }]';