← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 21460: Set proper max length for category option group set resource table col

 

------------------------------------------------------------
revno: 21460
committer: Lars Helge Overland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Tue 2015-12-15 22:06:24 +0100
message:
  Set proper max length for category option group set resource table col
modified:
  dhis-2/dhis-services/dhis-service-administration/src/main/java/org/hisp/dhis/resourcetable/table/CategoryOptionGroupSetResourceTable.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-administration/src/main/java/org/hisp/dhis/resourcetable/table/CategoryOptionGroupSetResourceTable.java'
--- dhis-2/dhis-services/dhis-service-administration/src/main/java/org/hisp/dhis/resourcetable/table/CategoryOptionGroupSetResourceTable.java	2015-12-11 11:32:19 +0000
+++ dhis-2/dhis-services/dhis-service-administration/src/main/java/org/hisp/dhis/resourcetable/table/CategoryOptionGroupSetResourceTable.java	2015-12-15 21:06:24 +0000
@@ -68,7 +68,7 @@
         
         for ( CategoryOptionGroupSet groupSet : objects )
         {
-            statement += columnQuote + groupSet.getName() + columnQuote + " varchar(160), ";
+            statement += columnQuote + groupSet.getName() + columnQuote + " varchar(230), ";
             statement += columnQuote + groupSet.getUid() + columnQuote + " character(11), ";
         }