← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 3253: Minor fix

 

------------------------------------------------------------
revno: 3253
committer: Lars Helge Overland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Fri 2011-04-01 12:32:25 +0200
message:
  Minor fix
modified:
  dhis-2/dhis-services/dhis-service-core/src/main/resources/org/hisp/dhis/message/hibernate/UserMessage.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/resources/org/hisp/dhis/message/hibernate/UserMessage.hbm.xml'
--- dhis-2/dhis-services/dhis-service-core/src/main/resources/org/hisp/dhis/message/hibernate/UserMessage.hbm.xml	2011-04-01 07:32:03 +0000
+++ dhis-2/dhis-services/dhis-service-core/src/main/resources/org/hisp/dhis/message/hibernate/UserMessage.hbm.xml	2011-04-01 10:32:25 +0000
@@ -15,8 +15,8 @@
     <many-to-one name="user" class="org.hisp.dhis.user.User" 
       column="userid" foreign-key="fk_usermessage_user" not-null="true"/>
     
-    <property name="read" column="canread" not-null="true"/>    
-    <property name="messageDate" column="messageDate" not-null="true"/>
+    <property name="read" column="isread" not-null="true"/>    
+    <property name="messageDate" column="messagedate" not-null="true"/>
     
     <join table="message_usermessages" inverse="true">
       <key column="usermessageid"/>