mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
Merged V2.2 to HEAD (QNames)
7624: QName Refactor Merge 1 of 9 7625: QName Refactor Merge 2 of 9 7626: QName Refactor Merge 3 of 9 7627: QName Refactor Merge 4 of 9 7628: QName Refactor Merge 5 of 9 git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@8436 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -5,6 +5,4 @@
|
||||
--
|
||||
|
||||
-- Association QNames
|
||||
CREATE INDEX idx_ca_type_qname ON alf_child_assoc (type_qname);
|
||||
CREATE INDEX idx_ca_qname ON alf_child_assoc (qname);
|
||||
CREATE INDEX idx_na_type_qname ON alf_node_assoc (type_qname);
|
||||
|
@@ -7,8 +7,4 @@
|
||||
-- Please contact support@alfresco.com if you need assistance with the upgrade.
|
||||
--
|
||||
|
||||
-- Remove pointless duplicated FK indexes
|
||||
ALTER TABLE alf_global_attributes DROP INDEX FK64D0B9CF69B9F16A;
|
||||
|
||||
|
||||
-- The MySQL dialects apply the FK indexes by default
|
||||
|
@@ -0,0 +1,20 @@
|
||||
--
|
||||
-- Title: Post-Create Constraints
|
||||
-- Database: Generic
|
||||
-- Since: V2.2 Schema 82
|
||||
-- Author: Derek Hulley
|
||||
--
|
||||
-- Please contact support@alfresco.com if you need assistance with the upgrade.
|
||||
--
|
||||
|
||||
ALTER TABLE alf_node_aspects ADD CONSTRAINT fk_alf_na_qn FOREIGN KEY (qname_id) REFERENCES alf_qname (id);
|
||||
CREATE INDEX fk_alf_na_qn ON alf_node_aspects (qname_id);
|
||||
|
||||
ALTER TABLE alf_node_properties ADD CONSTRAINT fk_alf_np_qn FOREIGN KEY (qname_id) REFERENCES alf_qname (id);
|
||||
CREATE INDEX fk_alf_np_qn ON alf_node_properties (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_na_qn ON avm_aspects_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 fk_avm_np_qn ON avm_node_properties_new (qname_id);
|
Reference in New Issue
Block a user