← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 15997: Data value, adding index on lastupdated column

 

------------------------------------------------------------
revno: 15997
committer: Lars Helge Overland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Mon 2014-07-07 12:45:27 +0200
message:
  Data value, adding index on lastupdated column
modified:
  dhis-2/dhis-services/dhis-service-core/src/main/resources/org/hisp/dhis/datavalue/hibernate/DataValue.hbm.xml


--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk

Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription
=== modified file 'dhis-2/dhis-services/dhis-service-core/src/main/resources/org/hisp/dhis/datavalue/hibernate/DataValue.hbm.xml'
--- dhis-2/dhis-services/dhis-service-core/src/main/resources/org/hisp/dhis/datavalue/hibernate/DataValue.hbm.xml	2014-06-30 13:54:03 +0000
+++ dhis-2/dhis-services/dhis-service-core/src/main/resources/org/hisp/dhis/datavalue/hibernate/DataValue.hbm.xml	2014-07-07 10:45:27 +0000
@@ -20,7 +20,7 @@
 
     <property name="created" column="created" type="timestamp" />
 
-    <property name="lastUpdated" column="lastupdated" type="timestamp" />
+    <property name="lastUpdated" column="lastupdated" type="timestamp" index="in_datavalue_lastupdated" />
 
     <property name="comment" length="360" />