dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #32964
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 16768: Data value col length, minor
------------------------------------------------------------
revno: 16768
committer: Lars Helge Overland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Mon 2014-09-22 12:08:20 +0200
message:
Data value col length, minor
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 2014-09-19 17:13:55 +0000
+++ dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/startup/TableAlteror.java 2014-09-22 10:08:20 +0000
@@ -736,9 +736,9 @@
executeSql( "alter table indicator drop column sortorder" );
executeSql( "alter table dataset drop column sortorder" );
- executeSql( "alter table datavalue alter column value type character varying(50000)" );
- executeSql( "alter table datavalue alter column comment type character varying(50000)" );
- executeSql( "alter table datavalueaudit alter column value type character varying(50000)" );
+ executeSql( "alter table datavalue alter column value type varchar(50000)" );
+ executeSql( "alter table datavalue alter column comment type varchar(50000)" );
+ executeSql( "alter table datavalueaudit alter column value type varchar(50000)" );
upgradeDataValuesWithAttributeOptionCombo();
upgradeCompleteDataSetRegistrationsWithAttributeOptionCombo();