...
|
...
|
@@ -11,3 +11,15 @@ CREATE INDEX IF NOT EXISTS idx_user_follow_from_user_id on "public".user_follow |
|
|
-- 角色表
|
|
|
-- (公司ID)索引
|
|
|
CREATE INDEX IF NOT EXISTS idx_role_company_id ON "public"."role" USING btree(company_id);
|
|
|
|
|
|
-- 部门表
|
|
|
-- (公司ID)索引
|
|
|
CREATE INDEX IF NOT EXISTS idx_department_company_id ON "public"."department" USING btree(company_id);
|
|
|
|
|
|
-- 系统消息表
|
|
|
-- (公司ID)索引
|
|
|
CREATE INDEX IF NOT EXISTS idx_message_system_company_id ON "public"."message_system" USING btree(company_id);
|
|
|
|
|
|
-- 业务消息表
|
|
|
-- (公司ID)索引
|
|
|
CREATE INDEX IF NOT EXISTS idx_message_business_company_id ON "public"."message_business" USING btree(company_id); |
|
|
\ No newline at end of file |
...
|
...
|
|