mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
Merged V2.2 to HEAD
7629: QName Refactor Merge 6 of 9 7630: QName Refactor Merge 7 of 9 7631: QName Refactor Merge 8 of 9 7632: QName Refactor Merge 9 of 9 git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@8438 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
--
|
||||
-- Title: Post-Create Indexes
|
||||
-- Database: MySQL
|
||||
-- Since: V2.2 Schema 84
|
||||
-- Author: Derek Hulley
|
||||
--
|
||||
-- Hibernate only generates indexes on foreign key columns for MySQL.
|
||||
-- There are also certain relationships that can not be declared in Hibernate but
|
||||
-- still need to be maintained and need indexes.
|
||||
--
|
||||
-- Please contact support@alfresco.com if you need assistance with the upgrade.
|
||||
--
|
||||
|
||||
--
|
||||
-- Explicit indexes not declared in the mappings
|
||||
--
|
||||
|
||||
CREATE INDEX fk_alf_na_qn ON alf_node_aspects (qname_id);
|
||||
|
||||
CREATE INDEX fk_alf_np_qn ON alf_node_properties (qname_id);
|
||||
|
||||
CREATE INDEX fk_avm_na_qn ON avm_aspects_new (qname_id);
|
||||
|
||||
CREATE INDEX fk_avm_np_qn ON avm_node_properties_new (qname_id);
|
||||
|
||||
--
|
||||
-- Foreign Key indexes
|
||||
-- These are auto-generated for MySQL
|
||||
--
|
@@ -0,0 +1,10 @@
|
||||
--
|
||||
-- Title: Post-Create Indexes
|
||||
-- Database: MySQL
|
||||
-- Since: V2.2 Schema 86
|
||||
-- Author: Derek Hulley
|
||||
--
|
||||
-- Hibernate only generates indexes on foreign key columns for MySQL.
|
||||
--
|
||||
-- Please contact support@alfresco.com if you need assistance with the upgrade.
|
||||
--
|
Reference in New Issue
Block a user