← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 357: Fixed non-unique foreign key name

 

------------------------------------------------------------
revno: 357
committer: Lars Helge Oeverland larshelge@xxxxxxxxx
branch nick: trunk
timestamp: Fri 2009-06-05 22:48:42 +0200
message:
  Fixed non-unique foreign key name
modified:
  dhis-2/dhis-services/dhis-service-mapping/src/main/resources/org/hisp/dhis/mapping/hibernate/MapOrganisationUnitRelation.hbm.xml

=== modified file 'dhis-2/dhis-services/dhis-service-mapping/src/main/resources/org/hisp/dhis/mapping/hibernate/MapOrganisationUnitRelation.hbm.xml'
--- dhis-2/dhis-services/dhis-service-mapping/src/main/resources/org/hisp/dhis/mapping/hibernate/MapOrganisationUnitRelation.hbm.xml	2009-06-03 11:54:07 +0000
+++ dhis-2/dhis-services/dhis-service-mapping/src/main/resources/org/hisp/dhis/mapping/hibernate/MapOrganisationUnitRelation.hbm.xml	2009-06-05 20:48:42 +0000
@@ -14,9 +14,9 @@
 		<many-to-one name="map" class="org.hisp.dhis.mapping.Map" unique-key="key_maporganisationunitrelation"
 			column="mapid" not-null="true" foreign-key="fk_maporganisationunitrelation_mapid"/>
 		  
-		<many-to-one name="organisationUnit" class="org.hisp.dhis.organisationunit.OrganisationUnit" unique-key="key_maporganisationunitrelation" 
-			column="organisationunitid" not-null="true" foreign-key="fk_map_organisationunitid"/>
-		  
+		<many-to-one name="organisationUnit" class="org.hisp.dhis.organisationunit.OrganisationUnit" 
+			column="organisationunitid" not-null="true" foreign-key="fk_maporganisationunitrelation_organisationunitid"/>
+ 
 		<property name="featureId" column="featureid"/>
 		
 	</class>



--
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.