← Back to team overview

dhis2-devs team mailing list archive

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

 

------------------------------------------------------------
revno: 19311
committer: Lars Helge Overland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Mon 2015-06-08 12:30:59 +0200
message:
  Minor
modified:
  dhis-2/dhis-services/dhis-service-core/src/main/resources/org/hisp/dhis/message/hibernate/MessageConversation.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/MessageConversation.hbm.xml'
--- dhis-2/dhis-services/dhis-service-core/src/main/resources/org/hisp/dhis/message/hibernate/MessageConversation.hbm.xml	2015-06-08 10:05:46 +0000
+++ dhis-2/dhis-services/dhis-service-core/src/main/resources/org/hisp/dhis/message/hibernate/MessageConversation.hbm.xml	2015-06-08 10:30:59 +0000
@@ -34,11 +34,12 @@
     </list>
 
     <many-to-one name="lastSender" class="org.hisp.dhis.user.User" column="lastsenderid"
-      foreign-key="fk_messageconversation_userid" />
+      foreign-key="fk_messageconversation_lastsender_userid" />
 
     <property name="lastMessage" column="lastmessage" index="messageconversation_lastmessage" />
 
-	<many-to-one name="user" class="org.hisp.dhis.user.User" column="userid" foreign-key="fk_messageconversation_userid" />
+	<many-to-one name="user" class="org.hisp.dhis.user.User" column="userid" 
+	  foreign-key="fk_messageconversation_user_userid" />
 	
   </class>
 </hibernate-mapping>