]> git.aero2k.de Git - tmp/jakarta-migration.git/commitdiff
CSPACE-4129: Added post-init task to create index on updatedAt field in collectionspa...
authorAron Roberts <aron@socrates.berkeley.edu>
Mon, 25 Jul 2011 20:09:32 +0000 (20:09 +0000)
committerAron Roberts <aron@socrates.berkeley.edu>
Mon, 25 Jul 2011 20:09:32 +0000 (20:09 +0000)
services/common/src/main/cspace/config/services/tenants/tenant-bindings-proto.xml

index e328bf609f3d5fa2b7bae428a6b7e53b6d3d33c0..eb0fd96d9f91b35d5d0da8d0b54947537caaa66c 100644 (file)
       <service:initHandler xmlns:service="http://collectionspace.org/services/common/service">
         <service:classname>org.collectionspace.services.common.init.AddIndices</service:classname>
         <service:params>
+          <!-- Index that is to be created for the ubiquitious updatedAt field -->
+          <!-- in collectionspace_core is configured here in the Relation -->
+          <!-- service, as it is a core service that will be reliably present. -->
+          <service:field>
+            <service:table>collectionspace_core</service:table>
+            <service:col>updatedat</service:col>
+          </service:field>
           <service:field>
             <service:table>relations_common</service:table>
             <service:param>documentid1,documentid2</service:param>