[ofbiz-framework] branch trunk updated: Fixed: DataModel - correct foreign key (#51)

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[ofbiz-framework] branch trunk updated: Fixed: DataModel - correct foreign key (#51)

Pawan Verma-2
This is an automated email from the ASF dual-hosted git repository.

pawan pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git


The following commit(s) were added to refs/heads/trunk by this push:
     new dc68ac0  Fixed: DataModel - correct foreign key (#51)
dc68ac0 is described below

commit dc68ac089faf9bec36ff06bde812fb7ba1f083a4
Author: Pierre Smits <[hidden email]>
AuthorDate: Tue Mar 24 10:15:58 2020 +0100

    Fixed: DataModel - correct foreign key (#51)
   
    (OFBIZ-11474)
   
    Renaming foreign key to PROD_PRCDE_OPCD
---
 applications/datamodel/entitydef/product-entitymodel.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/applications/datamodel/entitydef/product-entitymodel.xml b/applications/datamodel/entitydef/product-entitymodel.xml
index e34749d..f1a1ef3 100644
--- a/applications/datamodel/entitydef/product-entitymodel.xml
+++ b/applications/datamodel/entitydef/product-entitymodel.xml
@@ -3647,7 +3647,7 @@ under the License.
       <field name="emailAddress" type="email"></field>
       <prim-key field="productPromoCodeId"/>
       <prim-key field="emailAddress"/>
-      <relation type="one" fk-name="PROD_PRCDE_PCD" rel-entity-name="ProductPromoCode">
+      <relation type="one" fk-name="PROD_PRCDE_OPCD" rel-entity-name="ProductPromoCode">
         <key-map field-name="productPromoCodeId"/>
       </relation>
     </entity>