← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 20178: Digit group separator upgrade in TableAlteror.

 

------------------------------------------------------------
revno: 20178
committer: Jan Henrik Overland <janhenrik.overland@xxxxxxxxx>
branch nick: dhis2
timestamp: Wed 2015-09-16 01:17:42 +0200
message:
  Digit group separator upgrade in TableAlteror.
modified:
  dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/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-core/src/main/java/org/hisp/dhis/startup/TableAlteror.java'
--- dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/startup/TableAlteror.java	2015-09-15 23:00:44 +0000
+++ dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/startup/TableAlteror.java	2015-09-15 23:17:42 +0000
@@ -941,13 +941,13 @@
         executeSql( "update eventreport set fontsize='NORMAL' where fontsize='normal'" );
         executeSql( "update eventreport set fontsize='SMALL' where fontsize='small'" );
         
-        executeSql( "update reporttable set digitgroupseparator='NONE' where displaydensity='none'" );
-        executeSql( "update reporttable set digitgroupseparator='SPACE' where displaydensity='space'" );
-        executeSql( "update reporttable set digitgroupseparator='COMMA' where displaydensity='comma'" );
+        executeSql( "update reporttable set digitgroupseparator='NONE' where digitgroupseparator='none'" );
+        executeSql( "update reporttable set digitgroupseparator='SPACE' where digitgroupseparator='space'" );
+        executeSql( "update reporttable set digitgroupseparator='COMMA' where digitgroupseparator='comma'" );
 
-        executeSql( "update eventreport set digitgroupseparator='NONE' where displaydensity='none'" );
-        executeSql( "update eventreport set digitgroupseparator='SPACE' where displaydensity='space'" );
-        executeSql( "update eventreport set digitgroupseparator='COMMA' where displaydensity='comma'" );
+        executeSql( "update eventreport set digitgroupseparator='NONE' where digitgroupseparator='none'" );
+        executeSql( "update eventreport set digitgroupseparator='SPACE' where digitgroupseparator='space'" );
+        executeSql( "update eventreport set digitgroupseparator='COMMA' where digitgroupseparator='comma'" );
 
         executeSql( "update eventreport set datatype='AGGREGATED_VALUES' where datatype='aggregated_values'" );
         executeSql( "update eventreport set datatype='EVENTS' where datatype='individual_cases'" );