dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #03408
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 1143: Gave some foregin keys unique names.
------------------------------------------------------------
revno: 1143
committer: Lars Helge Oeverland larshelge@xxxxxxxxx
branch nick: trunk
timestamp: Tue 2009-12-01 08:54:54 +0100
message:
Gave some foregin keys unique names.
modified:
dhis-2/dhis-services/dhis-service-patient/src/main/resources/org/hisp/dhis/relationship/hibernate/Relationship.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-patient/src/main/resources/org/hisp/dhis/relationship/hibernate/Relationship.hbm.xml'
--- dhis-2/dhis-services/dhis-service-patient/src/main/resources/org/hisp/dhis/relationship/hibernate/Relationship.hbm.xml 2009-11-12 11:27:02 +0000
+++ dhis-2/dhis-services/dhis-service-patient/src/main/resources/org/hisp/dhis/relationship/hibernate/Relationship.hbm.xml 2009-12-01 07:54:54 +0000
@@ -10,13 +10,13 @@
</id>
<many-to-one name="patientA" class="org.hisp.dhis.patient.Patient"
- column="patientaid" not-null="true" foreign-key="fk_relationship_patientid"/>
+ column="patientaid" not-null="true" foreign-key="fk_relationship_patientida"/>
<many-to-one name="relationshipType" class="org.hisp.dhis.relationship.RelationshipType"
column="relationshiptypeid" not-null="true" foreign-key="fk_relationship_relationshiptypeid"/>
<many-to-one name="patientB" class="org.hisp.dhis.patient.Patient"
- column="patientbid" not-null="true" foreign-key="fk_relationship_patientid"/>
+ column="patientbid" not-null="true" foreign-key="fk_relationship_patientidb"/>
</class>
</hibernate-mapping>