← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 20997: trackedentitycomment varchar to text

 

------------------------------------------------------------
revno: 20997
committer: Abyot Asalefew Gizaw <abyota@xxxxxxxxx>
branch nick: dhis2
timestamp: Mon 2015-11-09 21:05:12 +0100
message:
  trackedentitycomment varchar to text
modified:
  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/resources/org/hisp/dhis/trackedentitycomment/hibernate/TrackedEntityComment.hbm.xml


--
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-11-02 04:27:25 +0000
+++ dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/startup/TableAlteror.java	2015-11-09 20:05:12 +0000
@@ -272,6 +272,7 @@
         executeSql( "ALTER TABLE programrule ALTER condition TYPE text" );
         executeSql( "ALTER TABLE programruleaction ALTER content TYPE text" );
         executeSql( "ALTER TABLE programruleaction ALTER data TYPE text" );
+        executeSql( "ALTER TABLE trackedentitycomment ALTER commenttext TYPE text" );
 
 
         executeSql( "ALTER TABLE minmaxdataelement RENAME minvalue TO minimumvalue" );

=== modified file 'dhis-2/dhis-services/dhis-service-core/src/main/resources/org/hisp/dhis/trackedentitycomment/hibernate/TrackedEntityComment.hbm.xml'
--- dhis-2/dhis-services/dhis-service-core/src/main/resources/org/hisp/dhis/trackedentitycomment/hibernate/TrackedEntityComment.hbm.xml	2015-06-23 15:59:19 +0000
+++ dhis-2/dhis-services/dhis-service-core/src/main/resources/org/hisp/dhis/trackedentitycomment/hibernate/TrackedEntityComment.hbm.xml	2015-11-09 20:05:12 +0000
@@ -10,7 +10,7 @@
       <generator class="native" />
     </id>
 
-    <property name="commentText" column="commenttext"/>
+    <property name="commentText" column="commenttext" type="text"/>
 
     <property name="createdDate" column="createddate"/>