Permalink
Browse files

Alfresco 4.2.1

  • Loading branch information...
1 parent b9012aa commit 7f1a18fe27042ea7db07803591f240d80f4995ae @evansj evansj committed Jun 5, 2014
@@ -241,7 +241,7 @@ CREATE INDEX idx_alf_node_mod ON alf_node (audit_modified, store_id, type_qname_
CREATE INDEX idx_alf_node_txn_type ON alf_node (transaction_id, type_qname_id);
CREATE INDEX fk_alf_node_acl ON alf_node (acl_id);
CREATE INDEX fk_alf_node_store ON alf_node (store_id);
-CREATE INDEX fk_alf_node_tqn ON alf_node (type_qname_id);
+CREATE INDEX idx_alf_node_tqn ON alf_node (type_qname_id, store_id, id);
CREATE INDEX fk_alf_node_loc ON alf_node (locale_id);
CREATE INDEX fk_alf_store_root ON alf_store (root_node_id);
@@ -1553,9 +1553,11 @@
<columnname>store_id</columnname>
</columnnames>
</index>
- <index name="fk_alf_node_tqn" unique="false">
+ <index name="idx_alf_node_tqn" unique="false">
<columnnames>
<columnname>type_qname_id</columnname>
+ <columnname>store_id</columnname>
+ <columnname>id</columnname>
</columnnames>
</index>
<index name="idx_alf_node_txn_type" unique="false">

0 comments on commit 7f1a18f

Please sign in to comment.