← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 16866: Tracker table alteror. Removed statement which takes too long to execute every time and is alread...

 

------------------------------------------------------------
revno: 16866
committer: Lars Helge Overland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Mon 2014-09-29 21:08:34 +0200
message:
  Tracker table alteror. Removed statement which takes too long to execute every time and is already taken care of by core table alteror.
modified:
  dhis-2/dhis-services/dhis-service-tracker/src/main/java/org/hisp/dhis/trackedentity/startup/TableAlteror.java


--
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-tracker/src/main/java/org/hisp/dhis/trackedentity/startup/TableAlteror.java'
--- dhis-2/dhis-services/dhis-service-tracker/src/main/java/org/hisp/dhis/trackedentity/startup/TableAlteror.java	2014-09-29 19:07:43 +0000
+++ dhis-2/dhis-services/dhis-service-tracker/src/main/java/org/hisp/dhis/trackedentity/startup/TableAlteror.java	2014-09-29 19:08:34 +0000
@@ -277,10 +277,6 @@
 
         executeSql( "update program_attributes set mandatory = false where mandatory is null;" );
 
-        int attributeoptioncomboid = categoryService.getDefaultDataElementCategoryOptionCombo().getId();
-        executeSql( "update datavalue set attributeoptioncomboid=" + attributeoptioncomboid
-            + " where storedby='aggregated_from_tracker' or comment='aggregated_from_tracker'" );
-
         executeSql( "update trackedentityattribute set confidential = false where confidential is null;" );
 
         executeSql( "update programstage_dataelements set allowfuturedate = allowdateinfuture where allowfuturedate is null" );