This is an automated email from the ASF dual-hosted git repository. jleroux pushed a commit to branch ecomify-OFBIZ-11468_Convert_ShipmentReceiptServices-squashed in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git
commit 9c540826486499ea1d0a206acbf2af424078ead3 Author: Pierre Smits <pierre.sm...@orrtiz.com> AuthorDate: Tue May 26 13:51:05 2020 +0200 Improved: instructions to upgrade due to datamodel changes (OFBIZ-11719) (#162) --- applications/datamodel/DATAMODEL_CHANGES.adoc | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/applications/datamodel/DATAMODEL_CHANGES.adoc b/applications/datamodel/DATAMODEL_CHANGES.adoc index ca21746..44e017f 100644 --- a/applications/datamodel/DATAMODEL_CHANGES.adoc +++ b/applications/datamodel/DATAMODEL_CHANGES.adoc @@ -43,7 +43,18 @@ The following file contains information about the data model changes in the Apac |Entity |Field |Action |IsPK |Revision | GlXbrlClass | parentGlXbrlClassId | Added | No | 36a123a |======================================================= +If in the list above fields are mentioned where 'IsPK' = yes, we advice to follow steps below for a successful upgrade: +. Stop your OFBiz implementation +. Go to the entity definition in the appropriate entitymodel.xml file +. Disable temporarily the prim-key reference of the added field, and save the file +. Restart the OFBiz implementation +. Check with your RDBMS client that the new field is present in the table +. Add values for the field in the table (if appropriate) +. Stop the OFBiz implementation +. Go back to the definition in the appropriate entitymodel.xml file +. Enable the temporary disabled prim-key reference of the added field, and save the file +. Check with your RDBMS client that the new field is part of the primary key defintion of the table === Migration Scripts 1. Migration service migrateProductPromoCodeEmail is implemented to migrate the