← Back to team overview

dhis2-devs team mailing list archive

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

 

------------------------------------------------------------
revno: 20176
committer: Jan Henrik Overland <janhenrik.overland@xxxxxxxxx>
branch nick: dhis2
timestamp: Wed 2015-09-16 01:00:44 +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 11:43:48 +0000
+++ dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/startup/TableAlteror.java	2015-09-15 23:00:44 +0000
@@ -940,6 +940,14 @@
         executeSql( "update eventreport set fontsize='LARGE' where fontsize='large'" );
         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 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 datatype='AGGREGATED_VALUES' where datatype='aggregated_values'" );
         executeSql( "update eventreport set datatype='EVENTS' where datatype='individual_cases'" );