...
|
...
|
@@ -73,4 +73,20 @@ CREATE INDEX IF NOT EXISTS idx_message_system_company_id ON "public"."message_sy |
|
|
|
|
|
-- 业务消息表
|
|
|
-- (公司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 |
|
|
CREATE INDEX IF NOT EXISTS idx_message_business_company_id ON "public"."message_business" USING btree(company_id);
|
|
|
|
|
|
|
|
|
-- 迁移准备
|
|
|
-- 修改起始的id序号
|
|
|
select setval('user_id_seq',10000);
|
|
|
select setval('department_id_seq',10000);
|
|
|
select setval('role_id_seq',10000);
|
|
|
select setval('company_id_seq',10000);
|
|
|
|
|
|
select setval('article_id_seq',100000);
|
|
|
select setval('article_and_tag_id_seq',100000);
|
|
|
select setval('article_backup_id_seq',100000);
|
|
|
select setval('article_comment_id_seq',100000);
|
|
|
select setval('article_draft_id_seq',100000);
|
|
|
select setval('article_section_id_seq',100000);
|
|
|
select setval('article_tag_id_seq',100000); |
|
|
\ No newline at end of file |
...
|
...
|
|