Finish migration

I’ve finished migration last year (even if it stucks on step 5 on the GUI). How can I delete ub data migration tools and associated tables ? I found nothing in the readme..
best regards, Tommy

3 answers

Profile photo of Mall Staff 173210.00 $tone December 10, 2021

Hi there,

How can I delete ub data migration tools and associated tables ? I found nothing in the readme..

Please make sure that you don’t want to delta migration using our migration tool in the future.
And then, You can uninstall the tool by following these steps:
Step 1: Disable our module by running the CLI command:

php -f bin/magento module:disable Ubertheme_Ubdatamigration;

Step 2: Run the following SQLs in your M2 database to drop the associated data tables:

drop table ub_migrate_map_step_2;
drop table ub_migrate_map_step_3;
drop table ub_migrate_map_step_3_attribute;
drop table ub_migrate_map_step_3_attribute_option;
drop table ub_migrate_map_step_4;
drop table ub_migrate_map_step_5;
drop table ub_migrate_map_step_5_product_download;
drop table ub_migrate_map_step_5_product_option;
drop table ub_migrate_map_step_6;
drop table ub_migrate_map_step_6_customer_address;
drop table ub_migrate_map_step_7;
drop table ub_migrate_map_step_7_invoice;
drop table ub_migrate_map_step_7_invoice_item;
drop table ub_migrate_map_step_7_order;
drop table ub_migrate_map_step_7_order_address;
drop table ub_migrate_map_step_7_order_item;
drop table ub_migrate_map_step_7_quote;
drop table ub_migrate_map_step_7_quote_address;
drop table ub_migrate_map_step_7_quote_item;
drop table ub_migrate_map_step_8;
drop table ub_migrate_map_step_8_rating;
drop table ub_migrate_map_step_8_review;
drop table ub_migrate_map_step_8_review_summary;
drop table ub_migrate_map_step_8_subscriber;
drop table ub_migrate_map_step_8_cms;
drop table ub_migrate_map_step_8_downloadable_link_purchased;
drop table ub_migrate_step;
Delete from setup_module where module = 'Ubertheme_Ubdatamigration';

Step 3: Clean the source folders and files of our module by running the commands:

rm -rf app/code/Ubertheme/Ubdatamigration
rm -rf pub/ub-tool/



Please login or Register to Submit Answer

Written By