mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-06-16 17:55:15 +00:00
8078: Merged V2.1 to V2.2 8025: Fixes WCM-1039, problems with case insensitive name handling. 8079: Merged V2.1 to V2.2 8035: -- DONE SEPARATELY -- 8040: Fix AR-1985: SQL Server dialect is derived from Sybase dialect there need additional no-op script 8046: Better Javadocs for getChildByName() 8056: Fixed WCM-790: Date conversion for metadata extractors 8057: Fixed WCM-790: Properties that don't convert can be discarded (default is to fail) 8059: -- DONE SEPARATELY -- 8061: Fixes WCM-790: Fallout from CHK-2168 and CHK-2169 8081: Fix for WCM-1018 8082: Merged V2.1 to V2.2 8016: Merged V2.1-A to V2.1 8000: Additional indexes for AVM 8013: Patch to introduce reverse indexes required for AVM git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@8474 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
33 lines
1.3 KiB
SQL
33 lines
1.3 KiB
SQL
--
|
|
-- Title: Post-Create Constraints
|
|
-- Database: Generic
|
|
-- Since: V2.2 Schema 86
|
|
-- Author: Derek Hulley
|
|
--
|
|
-- Certain Hibernate mappings don't allow constraints to be declared and are therefore
|
|
-- explicitly required. All other constraints are automatically added by the
|
|
-- Hibernate-generated script.
|
|
--
|
|
-- Please contact support@alfresco.com if you need assistance with the upgrade.
|
|
--
|
|
|
|
--
|
|
-- Explicit indexes and constraints not declared in the mappings
|
|
--
|
|
|
|
CREATE INDEX fk_alf_na_qn ON alf_node_aspects (qname_id);
|
|
ALTER TABLE alf_node_aspects ADD CONSTRAINT fk_alf_na_qn FOREIGN KEY (qname_id) REFERENCES alf_qname (id);
|
|
|
|
CREATE INDEX fk_alf_np_qn ON alf_node_properties (qname_id);
|
|
ALTER TABLE alf_node_properties ADD CONSTRAINT fk_alf_np_qn FOREIGN KEY (qname_id) REFERENCES alf_qname (id);
|
|
|
|
CREATE INDEX fk_avm_na_qn ON avm_aspects_new (qname_id);
|
|
ALTER TABLE avm_aspects_new ADD CONSTRAINT fk_avm_na_qn FOREIGN KEY (qname_id) REFERENCES alf_qname (id);
|
|
|
|
CREATE INDEX fk_avm_np_qn ON avm_node_properties_new (qname_id);
|
|
ALTER TABLE avm_node_properties_new ADD CONSTRAINT fk_avm_np_qn FOREIGN KEY (qname_id) REFERENCES alf_qname (id);
|
|
|
|
CREATE INDEX idx_avm_hl_revpk ON avm_history_links (descendent, ancestor);
|
|
|
|
CREATE INDEX idx_avm_vr_revuq ON avm_version_roots (avm_store_id, version_id);
|