magento / data-migration-tool

Magento Data Migration Tool
https://devdocs.magento.com/guides/v2.3/migration/bk-migration-guide.html
Open Software License 3.0
334 stars 200 forks source link

fix(delta): fix the wrong table prefix #875

Closed motou closed 2 years ago

motou commented 3 years ago

Description

during the migration of delta data, if the source table has a table prefix and the destination table doesn't have a table prefix or other prefixes, the migration process fails and tells that the destination table could not be found.

Fixed Issues (if relevant)

  1. magento/data-migration-tool#: Issue title
  2. ...

Manual testing scenarios

  1. In the config file app/code/Vendor/Migration/etc/opensource-to-opensource/1.9.2.0/config.xml, in the section options, define different table prefixes like:

        <source_prefix>magento_</source_prefix>
        <dest_prefix />
  2. run the CLI command bin/magento migrate:delta -a app/code/Vendor/Migration/etc/opensource-to-opensource/1.9.2.0/config.xml

Contribution checklist

ghost commented 3 years ago

Hi @motou, thank you for your contribution!
Please, complete Contribution Survey, it will take less than a minute.
Your feedback will help us to improve contribution process.

ghost commented 2 years ago

Hi @motou, thank you for your contribution!
Please, complete Contribution Survey, it will take less than a minute.
Your feedback will help us to improve contribution process.