mirror of
https://github.com/documize/community.git
synced 2025-07-19 13:19:43 +02:00
Resolves issues for enterprise customers with tonnes of data in these SQL tables: - dmz_doc - dmz_section Multi-tenant compliant.
5 lines
187 B
SQL
5 lines
187 B
SQL
/* Community edition */
|
|
|
|
-- Indexes to improve performance
|
|
CREATE UNIQUE INDEX idx_doc_4 ON dmz_doc (c_orgid,c_refid);
|
|
CREATE UNIQUE INDEX idx_section_4 ON dmz_section (c_orgid,c_refid);
|