正在显示
1 个修改的文件
包含
13 行增加
和
1 行删除
@@ -10,4 +10,16 @@ CREATE INDEX IF NOT EXISTS idx_user_follow_from_user_id on "public".user_follow | @@ -10,4 +10,16 @@ CREATE INDEX IF NOT EXISTS idx_user_follow_from_user_id on "public".user_follow | ||
10 | 10 | ||
11 | -- 角色表 | 11 | -- 角色表 |
12 | -- (公司ID)索引 | 12 | -- (公司ID)索引 |
13 | -CREATE INDEX IF NOT EXISTS idx_role_company_id ON "public"."role" USING btree(company_id); | ||
13 | +CREATE INDEX IF NOT EXISTS idx_role_company_id ON "public"."role" USING btree(company_id); | ||
14 | + | ||
15 | +-- 部门表 | ||
16 | +-- (公司ID)索引 | ||
17 | +CREATE INDEX IF NOT EXISTS idx_department_company_id ON "public"."department" USING btree(company_id); | ||
18 | + | ||
19 | +-- 系统消息表 | ||
20 | +-- (公司ID)索引 | ||
21 | +CREATE INDEX IF NOT EXISTS idx_message_system_company_id ON "public"."message_system" USING btree(company_id); | ||
22 | + | ||
23 | +-- 业务消息表 | ||
24 | +-- (公司ID)索引 | ||
25 | +CREATE INDEX IF NOT EXISTS idx_message_business_company_id ON "public"."message_business" USING btree(company_id); |
-
请 注册 或 登录 后发表评论