11 lines
331 B
SQL
11 lines
331 B
SQL
-- 创建认证配置表
|
|
CREATE TABLE IF NOT EXISTS "AuthSettings" (
|
|
"id" uuid PRIMARY KEY DEFAULT gen_random_uuid() NOT NULL,
|
|
"dingTalkAppKey" text,
|
|
"dingTalkAppSecret" text,
|
|
"isDingTalkEnabled" boolean DEFAULT false NOT NULL,
|
|
"updatedAt" timestamp DEFAULT now() NOT NULL,
|
|
"updatedBy" uuid REFERENCES "User"("id")
|
|
);
|
|
|