diff --git a/CHANGELOG.md b/CHANGELOG.md index 0cbcdda7e..0e92d3e71 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,14 @@ +2.1.7 +============= +* Added support for versions: + + * Magento CE: 1.9.3.3, 2.1.7 + * Magento EE: 1.14.3.3, 2.1.7 + +* Fixed bugs: + * [Issue #283](https://github.com/magento/data-migration-tool/issues/283): Ignored attributes were not cleaned properly in the following extended attribute tables: `catalog_eav_attribute`, `customer_eav_attribute` + * [Issue #176](https://github.com/magento/data-migration-tool/issues/176): Ignored fields in the `map-eav.xml` file caused errors during migration if the table fields could not be NULL (set as NOT NULL) + 2.1.6 ============= * Added possibility to specify custom port for MySQL server connection diff --git a/composer.json b/composer.json index 2ce94a74b..8a9f6cc9d 100644 --- a/composer.json +++ b/composer.json @@ -1,7 +1,7 @@ { "name": "magento/data-migration-tool", "description": "Migration Tool", - "version": "2.1.6", + "version": "2.1.7", "require": { "symfony/console": "~2.3", "magento/framework": "~100.1", diff --git a/etc/ce-to-ce/1.9.3.3/config.xml.dist b/etc/ce-to-ce/1.9.3.3/config.xml.dist new file mode 100644 index 000000000..ab93dd026 --- /dev/null +++ b/etc/ce-to-ce/1.9.3.3/config.xml.dist @@ -0,0 +1,144 @@ + + + + + + Migration\Step\Settings\Integrity + Migration\Step\Settings\Data + + + Migration\Step\Stores\Integrity + Migration\Step\Stores\Data + Migration\Step\Stores\Volume + + + + + Migration\Step\DataIntegrity\Integrity + + + Migration\Step\Eav\Integrity + Migration\Step\Eav\Data + Migration\Step\Eav\Volume + + + Migration\Step\Customer\Integrity + Migration\Step\Customer\Data + Migration\Step\Customer\Volume + + + Migration\Step\Map\Integrity + Migration\Step\Map\Data + Migration\Step\Map\Volume + + + Migration\Step\UrlRewrite\Version191to2000 + Migration\Step\UrlRewrite\Version191to2000 + Migration\Step\UrlRewrite\Version191to2000 + + + Migration\Step\Log\Integrity + Migration\Step\Log\Data + Migration\Step\Log\Volume + + + Migration\Step\Ratings\Integrity + Migration\Step\Ratings\Data + Migration\Step\Ratings\Volume + + + Migration\Step\ConfigurablePrices\Integrity + Migration\Step\ConfigurablePrices\Data + Migration\Step\ConfigurablePrices\Volume + + + Migration\Step\OrderGrids\Integrity + Migration\Step\OrderGrids\Data + Migration\Step\OrderGrids\Volume + + + Migration\Step\TierPrice\Integrity + Migration\Step\TierPrice\Data + Migration\Step\TierPrice\Volume + + + Migration\Step\SalesIncrement\Integrity + Migration\Step\SalesIncrement\Data + Migration\Step\SalesIncrement\Volume + + + Migration\Step\PostProcessing\Data + + + + + Migration\Step\Customer\Delta + Migration\Step\Customer\Volume + + + Migration\Step\Map\Delta + Migration\Step\Map\Volume + + + Migration\Step\Log\Delta + Migration\Step\Log\Volume + + + Migration\Step\OrderGrids\Delta + Migration\Step\OrderGrids\Volume + + + Migration\Step\SalesIncrement\Delta + Migration\Step\SalesIncrement\Volume + + + + + + + + + + etc/ce-to-ce/1.9.3.3/map.xml.dist + etc/ce-to-ce/map-eav.xml.dist + etc/ce-to-ce/eav-document-groups.xml.dist + etc/ce-to-ce/eav-attribute-groups.xml.dist + etc/ce-to-ce/map-log.xml.dist + etc/ce-to-ce/log-document-groups.xml.dist + etc/ce-to-ce/settings.xml.dist + etc/ce-to-ce/map-customer.xml.dist + etc/ce-to-ce/customer-document-groups.xml.dist + etc/ce-to-ce/customer-attribute-groups.xml.dist + etc/ce-to-ce/deltalog.xml.dist + etc/ce-to-ce/order-grids-document-groups.xml.dist + etc/ce-to-ce/map-document-groups.xml.dist + etc/ce-to-ce/class-map.xml.dist + etc/ce-to-ce/1.9.3.3/map-tier-price.xml.dist + + 0 + + 0 + + + 0 + migration.log + %percent%% [%bar%] Remaining Time: %remaining% + 1 + ce-to-ce + 1.9.3.3 + SET NAMES utf8; + SET NAMES utf8; + + + diff --git a/etc/ce-to-ce/1.9.3.3/map-tier-price.xml.dist b/etc/ce-to-ce/1.9.3.3/map-tier-price.xml.dist new file mode 100644 index 000000000..153f530de --- /dev/null +++ b/etc/ce-to-ce/1.9.3.3/map-tier-price.xml.dist @@ -0,0 +1,17 @@ + + + + + + + catalog_product_entity_group_price.is_percent + + + + + diff --git a/etc/ce-to-ce/1.9.3.3/map.xml.dist b/etc/ce-to-ce/1.9.3.3/map.xml.dist new file mode 100644 index 000000000..6da515682 --- /dev/null +++ b/etc/ce-to-ce/1.9.3.3/map.xml.dist @@ -0,0 +1,1777 @@ + + + + + + + mailchimp_errors + + + mailchimp_sync_batches + + + googleshopping_attributes + + + googleshopping_items + + + googleshopping_types + + + sales_flat_creditmemo_grid + + + sales_flat_invoice_grid + + + sales_flat_order_grid + + + sales_flat_shipment_grid + + + customer_entity + + + customer_entity_datetime + + + customer_entity_decimal + + + customer_entity_int + + + customer_entity_text + + + customer_entity_varchar + + + customer_address_entity + + + customer_address_entity_datetime + + + customer_address_entity_decimal + + + customer_address_entity_int + + + customer_address_entity_text + + + customer_address_entity_varchar + + + m2_cl_* + + + url_rewrite_m2* + + + admin_assert + + + api2_acl_attribute + + + api2_acl_role + + + api2_acl_rule + + + api2_acl_user + + + api_assert + + + api_role + + + api_rule + + + api_session + + + api_user + + + log_customer + + + log_quote + + + log_summary_type + + + log_summary + + + log_url + + + log_url_info + + + catalog_category_anc_categs_index_idx + + + catalog_category_anc_categs_index_tmp + + + catalog_category_anc_products_index_idx + + + catalog_category_anc_products_index_tmp + + + catalog_category_flat_cl + + + catalog_category_product_index + + + catalog_category_product_index_cl + + + catalog_category_product_index_enbl_idx + + + catalog_category_product_index_enbl_tmp + + + catalog_category_product_index_idx + + + catalog_category_product_index_tmp + + + catalog_product_enabled_index + + + catalog_product_flat_cl + + + cataloginventory_stock_status + + + cataloginventory_stock_status_idx + + + cataloginventory_stock_status_tmp + + + catalog_category_product_cat_cl + + + catalog_product_bundle_price_index + + + catalog_product_bundle_stock_index + + + catalog_product_index_group_price + + + catalog_product_index_price + + + catalog_product_index_price* + + + catalog_product_index_tier_price + + + catalog_product_index_website + + + catalogindex_aggregation + + + catalogindex_aggregation_tag + + + catalogindex_aggregation_to_tag + + + catalogindex_minimal_price + + + catalogindex_price + + + core_layout_update + + + core_layout_link + + + widget_instance_page_layout + + + googlecheckout_api_debug + + + ogone_api_debug + + + oscommerce_import + + + oscommerce_import_type + + + oscommerce_orders + + + oscommerce_orders_products + + + oscommerce_orders_status_history + + + oscommerce_orders_total + + + oscommerce_ref + + + paygate_authorizenet_debug + + + paypal_api_debug + + + paypaluk_api_debug + + + amazonpayments_api_debug + + + chronopay_api_debug + + + cybermut_api_debug + + + cybersource_api_debug + + + eway_api_debug + + + flo2cash_api_debug + + + ideal_api_debug + + + paybox_api_debug + + + protx_api_debug + + + xmlconnect_application + + + xmlconnect_config_data + + + xmlconnect_history + + + xmlconnect_images + + + xmlconnect_notification_template + + + xmlconnect_queue + + + googlecheckout_notification + + + index_event + + + index_process + + + index_process_event + + + cataloginventory_stock_status_cl + + + catalogsearch_fulltext + + + catalogsearch_fulltext_cl + + + core_cache_tag + + + core_cache_option + + + core_cache + + + core_flag + + + core_email_queue + + + core_email_queue_recipients + + + merchandiser_category_values + + + merchandiser_vmbuild + + + dataflow_batch + + + dataflow_batch_export + + + dataflow_batch_import + + + dataflow_import_data + + + dataflow_profile + + + dataflow_profile_history + + + dataflow_session + + + core_url_rewrite + + + catalog_product_entity_url_key + + + catalogindex_eav + + + catalog_eav_attribute + + + customer_eav_attribute + + + catalog_product_index_eav + + + catalog_product_index_eav_decimal + + + catalog_product_index_eav_decimal_idx + + + catalog_product_index_eav_decimal_tmp + + + catalog_product_index_eav_idx + + + catalog_product_index_eav_tmp + + + eav_attribute + + + eav_attribute_group + + + eav_attribute_set + + + eav_entity_attribute + + + eav_entity_type + + + catalog_category_entity_url_key + + + poll + + + poll_answer + + + poll_store + + + poll_vote + + + sales_recurring_profile + + + sales_recurring_profile_order + + + tag + + + tag_properties + + + tag_relation + + + tag_summary + + + weee_discount + + + catalogsearch_result + + + log_visitor + + + log_visitor_info + + + log_visitor_online + + + core_config_data + + + s_*b_*_* + + + catalog_product_flat_* + + + catalog_category_flat_* + + + catalog_category_flat_store_* + + + googleoptimizer_code + + + core_resource + + + cron_schedule + + + admin_user + + + admin_role + + + admin_rule + + + admin_role + + + admin_rule + + + catalogrule_affected_product + + + catalog_product_super_attribute_pricing + + + core_website + + + catalog_product_entity_group_price + + + catalog_product_entity_tier_price + + + permission_block + + + permission_variable + + + googlebase_attributes + + + googlebase_items + + + googlebase_types + + + customer_flowpassword + + + catalogsearch_query + search_query + + + core_variable + variable + + + core_variable_value + variable_value + + + core_email_template + email_template + + + core_store + store + + + core_store_group + store_group + + + core_translate + translation + + + core_session + session + + + coupon_aggregated + salesrule_coupon_aggregated + + + coupon_aggregated_order + salesrule_coupon_aggregated_order + + + coupon_aggregated_updated + salesrule_coupon_aggregated_updated + + + sales_flat_order + sales_order + + + sales_flat_creditmemo + sales_creditmemo + + + sales_flat_creditmemo_comment + sales_creditmemo_comment + + + sales_flat_creditmemo_item + sales_creditmemo_item + + + sales_flat_invoice + sales_invoice + + + sales_flat_invoice_comment + sales_invoice_comment + + + sales_flat_invoice_item + sales_invoice_item + + + sales_flat_order_address + sales_order_address + + + sales_flat_order_item + sales_order_item + + + sales_flat_order_payment + sales_order_payment + + + sales_flat_order_status_history + sales_order_status_history + + + sales_flat_quote + quote + + + sales_flat_quote_address + quote_address + + + sales_flat_quote_address_item + quote_address_item + + + sales_flat_quote_item + quote_item + + + sales_flat_quote_item_option + quote_item_option + + + sales_flat_quote_payment + quote_payment + + + sales_flat_quote_shipping_rate + quote_shipping_rate + + + sales_flat_shipment + sales_shipment + + + sales_flat_shipment_comment + sales_shipment_comment + + + sales_flat_shipment_item + sales_shipment_item + + + sales_flat_shipment_track + sales_shipment_track + + + core_directory_storage + media_storage_directory_storage + + + core_file_storage + media_storage_file_storage + + + sales_billing_agreement + paypal_billing_agreement + + + sales_billing_agreement_order + paypal_billing_agreement_order + + + + + cms_page.root_template + cms_page.page_layout + + + sales_flat_order.hidden_tax_amount + sales_order.discount_tax_compensation_amount + + + sales_flat_order.base_hidden_tax_amount + sales_order.base_discount_tax_compensation_amount + + + sales_flat_order.shipping_hidden_tax_amount + sales_order.shipping_discount_tax_compensation_amount + + + sales_flat_order.base_shipping_hidden_tax_amnt + sales_order.base_shipping_discount_tax_compensation_amnt + + + sales_flat_order.hidden_tax_invoiced + sales_order.discount_tax_compensation_invoiced + + + sales_flat_order.base_hidden_tax_invoiced + sales_order.base_discount_tax_compensation_invoiced + + + sales_flat_order.hidden_tax_refunded + sales_order.discount_tax_compensation_refunded + + + sales_flat_order.base_hidden_tax_refunded + sales_order.base_discount_tax_compensation_refunded + + + sales_flat_creditmemo.hidden_tax_amount + sales_creditmemo.discount_tax_compensation_amount + + + sales_flat_creditmemo.base_hidden_tax_amount + sales_creditmemo.base_discount_tax_compensation_amount + + + sales_flat_creditmemo.shipping_hidden_tax_amount + sales_creditmemo.shipping_discount_tax_compensation_amount + + + sales_flat_creditmemo.base_shipping_hidden_tax_amnt + sales_creditmemo.base_shipping_discount_tax_compensation_amnt + + + sales_flat_creditmemo_item.hidden_tax_amount + sales_creditmemo_item.discount_tax_compensation_amount + + + sales_flat_creditmemo_item.base_hidden_tax_amount + sales_creditmemo_item.base_discount_tax_compensation_amount + + + sales_flat_invoice.hidden_tax_amount + sales_invoice.discount_tax_compensation_amount + + + sales_flat_invoice.base_hidden_tax_amount + sales_invoice.base_discount_tax_compensation_amount + + + sales_flat_invoice.shipping_hidden_tax_amount + sales_invoice.shipping_discount_tax_compensation_amount + + + sales_flat_invoice.base_shipping_hidden_tax_amnt + sales_invoice.base_shipping_discount_tax_compensation_amnt + + + sales_flat_invoice_item.hidden_tax_amount + sales_invoice_item.discount_tax_compensation_amount + + + sales_flat_invoice_item.base_hidden_tax_amount + sales_invoice_item.base_discount_tax_compensation_amount + + + sales_flat_order_item.hidden_tax_amount + sales_order_item.discount_tax_compensation_amount + + + sales_flat_order_item.base_hidden_tax_amount + sales_order_item.base_discount_tax_compensation_amount + + + sales_flat_order_item.hidden_tax_invoiced + sales_order_item.discount_tax_compensation_invoiced + + + sales_flat_order_item.base_hidden_tax_invoiced + sales_order_item.base_discount_tax_compensation_invoiced + + + sales_flat_order_item.hidden_tax_refunded + sales_order_item.discount_tax_compensation_refunded + + + sales_flat_order_item.base_hidden_tax_refunded + sales_order_item.base_discount_tax_compensation_refunded + + + sales_flat_order_item.hidden_tax_canceled + sales_order_item.discount_tax_compensation_canceled + + + sales_flat_order_payment.cc_last4 + sales_order_payment.cc_last_4 + + + sales_flat_quote_payment.cc_last4 + quote_payment.cc_last_4 + + + sales_flat_quote_address.hidden_tax_amount + quote_address.discount_tax_compensation_amount + + + sales_flat_quote_address.base_hidden_tax_amount + quote_address.base_discount_tax_compensation_amount + + + sales_flat_quote_address.shipping_hidden_tax_amount + quote_address.shipping_discount_tax_compensation_amount + + + sales_flat_quote_address.base_shipping_hidden_tax_amnt + quote_address.base_shipping_discount_tax_compensation_amnt + + + sales_flat_quote_address_item.hidden_tax_amount + quote_address_item.discount_tax_compensation_amount + + + sales_flat_quote_address_item.base_hidden_tax_amount + quote_address_item.base_discount_tax_compensation_amount + + + sales_flat_quote_item.hidden_tax_amount + quote_item.discount_tax_compensation_amount + + + sales_flat_quote_item.base_hidden_tax_amount + quote_item.base_discount_tax_compensation_amount + + + catalog_category_entity_varchar.value + + + + + + + catalog_category_entity_varchar.value + + + + + + + + catalog_category_entity_varchar.value + + + + + + + catalog_category_entity_text.value + + + + + + + catalog_product_entity_varchar.value + + + + + + + catalog_product_entity_varchar.value + + + + + + + + cms_page.root_template + + + + + + + cms_block.content + + + + cms_page.content + + + + newsletter_template.template_text + + + + core_email_template.template_text + + + + widget_instance.instance_type + + + + catalogrule.conditions_serialized + + + + catalogrule.actions_serialized + + + + salesrule.conditions_serialized + + + + salesrule.actions_serialized + + + + sales_flat_order_item.weee_tax_applied + + + + sales_flat_quote_item.weee_tax_applied + + + + sales_flat_creditmemo_item.weee_tax_applied + + + + sales_flat_invoice_item.weee_tax_applied + + + + catalog_product_entity_media_gallery.value_id + + + + rating_option_vote.remote_ip_long + + + + sendfriend_log.ip + + + + catalogsearch_query.synonym_for + + + + admin_rule.role_type + + + admin_rule.assert_id + + + core_website.is_staging + + + core_website.master_login + + + core_website.master_password + + + core_website.visibility + + + sales_order_tax.hidden + + + sales_flat_order.paypal_ipn_customer_notified + + + sales_flat_order_item.is_nominal + + + sales_flat_order_payment.paybox_request_number + + + weee_tax.entity_type_id + + + catalog_category_entity.entity_type_id + + + catalog_category_entity_datetime.entity_type_id + + + catalog_category_entity_decimal.entity_type_id + + + catalog_category_entity_int.entity_type_id + + + catalog_category_entity_text.entity_type_id + + + catalog_category_entity_varchar.entity_type_id + + + catalog_product_entity.entity_type_id + + + catalog_product_entity_datetime.entity_type_id + + + catalog_product_entity_decimal.entity_type_id + + + catalog_product_entity_gallery.entity_type_id + + + catalog_product_entity_media_gallery.entity_id + + + catalog_product_entity_int.entity_type_id + + + catalog_product_entity_text.entity_type_id + + + catalog_product_entity_varchar.entity_type_id + + + sales_flat_creditmemo.cybersource_token + + + sales_flat_invoice.cybersource_token + + + sales_flat_order_payment.ideal_transaction_checked + + + sales_flat_order_payment.cybersource_token + + + sales_flat_order_payment.ideal_issuer_title + + + sales_flat_order_payment.paybox_question_number + + + sales_flat_order_payment.ideal_issuer_id + + + sales_flat_order_payment.flo2cash_account_id + + + sales_flat_quote_payment.cybersource_token + + + sales_flat_quote_payment.ideal_issuer_id + + + sales_flat_quote_payment.ideal_issuer_list + + + sales_flat_quote_payment.paypal_payer_id + + + sales_flat_quote_payment.paypal_payer_status + + + sales_flat_quote_payment.paypal_correlation_id + + + cms_page.layout_update_xml + + + cms_page.custom_layout_update_xml + + + widget_instance.package_theme + + + newsletter_template.template_text_preprocessed + + + catalogrule.sub_is_enable + + + catalogrule.sub_simple_action + + + catalogrule.sub_discount_amount + + + catalogrule_product.sub_simple_action + + + catalogrule_product.sub_discount_amount + + + catalogsearch_query.synonym_for + + + sales_flat_invoice.customer_id + + + sales_flat_invoice.invoice_status_id + + + sales_flat_invoice.invoice_type + + + sales_flat_invoice.is_virtual + + + sales_flat_invoice.real_order_id + + + sales_flat_invoice.total_due + + + sales_flat_invoice.total_paid + + + sales_flat_invoice_item.shipment_id + + + sales_flat_order.base_custbalance_amount + + + sales_flat_order.currency_base_id + + + sales_flat_order.currency_code + + + sales_flat_order.currency_rate + + + sales_flat_order.custbalance_amount + + + sales_flat_order.is_hold + + + sales_flat_order.is_multi_payment + + + sales_flat_order.real_order_id + + + sales_flat_order.tax_percent + + + sales_flat_order.tracking_numbers + + + sales_flat_order_address.address_id + + + sales_flat_order_address.gift_message_id + + + sales_flat_order_address.tax_id + + + sales_flat_order_payment.amount + + + sales_flat_order_payment.cc_raw_request + + + sales_flat_order_payment.cc_raw_response + + + sales_flat_order_payment.customer_payment_id + + + sales_bestsellers_aggregated_daily.product_type_id + + + sales_bestsellers_aggregated_monthly.product_type_id + + + sales_bestsellers_aggregated_yearly.product_type_id + + + sales_flat_quote_payment.cc_exp_month + + + weee_tax.state + + + sendfriend_log.ip + + + rating_option_vote.remote_ip_long + + + oauth_consumer.callback_url + + + oauth_consumer.rejected_callback_url + + + oauth_token.callback_url + + + newsletter_subscriber.subscriber_firstname + + + newsletter_subscriber.subscriber_lastname + + + newsletter_subscriber.mailchimp_sync_delta + + + newsletter_subscriber.mailchimp_sync_error + + + sales_flat_order.mailchimp_sync_delta + + + sales_flat_order.mailchimp_sync_error + + + sales_flat_order.mailchimp_campaign_id + + + sales_flat_order.mailchimp_abandonedcart_flag + + + sales_flat_order.mailchimp_landing_page + + + sales_flat_order.mailchimp_sync_modified + + + sales_flat_quote.mailchimp_sync_delta + + + sales_flat_quote.mailchimp_sync_error + + + sales_flat_quote.mailchimp_deleted + + + sales_flat_quote.mailchimp_token + + + sales_flat_quote.mailchimp_abandonedcart_flag + + + sales_flat_quote.mailchimp_landing_page + + + sales_flat_quote.mailchimp_campaign_id + + + + + + + customer_entity + + + customer_entity_datetime + + + customer_entity_decimal + + + customer_entity_int + + + customer_entity_text + + + customer_entity_varchar + + + customer_address_entity + + + customer_address_entity_datetime + + + customer_address_entity_decimal + + + customer_address_entity_int + + + customer_address_entity_text + + + customer_address_entity_varchar + + + ui_bookmark + + + migration_backup_* + + + googleoptimizer_code + + + indexer_state + + + integration + + + mview_state + + + theme + + + theme_file + + + vde_theme_change + + + admin_system_messages + + + catalog_url_rewrite_product_category + + + customer_visitor + + + url_rewrite + + + layout_update + + + layout_link + + + catalog_product_flat_* + + + catalog_category_flat_* + + + catalogindex_eav + + + catalog_eav_attribute + + + catalogsearch_fulltext_index_default + + + customer_eav_attribute + + + customer_eav_attribute_website + + + catalog_product_index_eav + + + catalog_product_index_eav_decimal + + + catalog_product_index_eav_decimal_idx + + + catalog_product_index_eav_decimal_tmp + + + catalog_product_index_eav_idx + + + catalog_product_index_eav_tmp + + + catalog_category_product_index_tmp + + + eav_attribute + + + eav_attribute_group + + + eav_attribute_set + + + eav_entity_attribute + + + eav_entity_type + + + authorization_role + + + authorization_rule + + + setup_module + + + cache + + + cache_tag + + + customer_log + + + flag + + + log_customer + + + log_quote + + + log_summary_type + + + log_summary + + + log_url + + + log_url_info + + + quote_id_mask + + + session + + + sales_sequence_profile + + + sales_sequence_meta + + + sequence_invoice_* + + + sequence_creditmemo_* + + + sequence_order_* + + + sequence_shipment* + + + sequence_rma_item_* + + + vault_payment_token + + + vault_payment_token_order_payment_link + + + search_synonyms + + + eav_attribute_option_swatch + + + import_history + + + sales_creditmemo_grid + + + sales_invoice_grid + + + sales_order_grid + + + sales_shipment_grid + + + catalogsearch_fulltext_scope* + + + store_website + + + log_visitor_info + + + log_visitor_online + + + reporting_module_status + + + reporting_orders + + + reporting_system_updates + + + reporting_users + + + reporting_counts + + + admin_passwords + + + catalog_product_entity_media_gallery_value_to_entity + + + catalog_product_entity_media_gallery_value_video + + + catalog_product_entity_tier_price + + + customer_grid_flat + + + admin_user_session + + + password_reset_request_event + + + oauth_token_request_log + + + design_config_grid_flat + + + + + admin_user.interface_locale + + + + + + cataloginventory_stock.website_id + + + + + + cataloginventory_stock_item.website_id + + + + + + rating.is_active + + + + + + authorization_role.user_type + + + + + + sales_order_tax_item.amount + + + + + + sales_order_tax_item.base_amount + + + + + + sales_order_tax_item.real_amount + + + + + + sales_order_tax_item.real_base_amount + + + + + + sales_order_tax_item.taxable_item_type + + + + + + oauth_token.user_type + + + + + + widget_instance.theme_id + + + + + + sales_order_status_state.visible_on_front + + + + catalog_product_entity_media_gallery_value.entity_id + + + + catalog_product_entity_media_gallery_value.entity_id + + + catalog_product_entity_media_gallery.media_type + + + catalog_product_entity_media_gallery.disabled + + + catalog_product_entity_media_gallery_value.record_id + + + admin_user.interface_locale + + + admin_user.failures_num + + + admin_user.first_failure + + + admin_user.lock_expires + + + rating.is_active + + + sales_creditmemo.send_email + + + sales_creditmemo.customer_note + + + sales_creditmemo.customer_note_notify + + + sales_invoice.send_email + + + sales_invoice.customer_note + + + sales_invoice.customer_note_notify + + + sales_shipment.send_email + + + sales_shipment.customer_note + + + sales_shipment.customer_note_notify + + + sales_creditmemo_item.tax_ratio + + + sales_invoice_item.tax_ratio + + + authorization_role.user_type + + + cataloginventory_stock.website_id + + + cataloginventory_stock_item.website_id + + + oauth_nonce.consumer_id + + + oauth_token.user_type + + + sales_order_status_state.visible_on_front + + + widget_instance.theme_id + + + sales_order_tax_item.amount + + + sales_order_tax_item.base_amount + + + sales_order_tax_item.real_amount + + + sales_order_tax_item.real_base_amount + + + sales_order_tax_item.associated_item_id + + + sales_order_tax_item.taxable_item_type + + + sales_creditmemo_grid.updated_at + + + sales_invoice_grid.updated_at + + + sales_shipment_grid.updated_at + + + sales_order.send_email + + + checkout_agreement.mode + + + catalog_category_product.entity_id + + + cms_page.meta_title + + + quote_payment.cc_exp_month + + + weee_tax.state + + + sendfriend_log.ip + + + rating_option_vote.remote_ip_long + + + oauth_consumer.callback_url + + + oauth_consumer.rejected_callback_url + + + oauth_token.callback_url + + + + diff --git a/etc/ce-to-ee/1.9.3.3/config.xml.dist b/etc/ce-to-ee/1.9.3.3/config.xml.dist new file mode 100644 index 000000000..70e2d3770 --- /dev/null +++ b/etc/ce-to-ee/1.9.3.3/config.xml.dist @@ -0,0 +1,144 @@ + + + + + + Migration\Step\Settings\Integrity + Migration\Step\Settings\Data + + + Migration\Step\Stores\Integrity + Migration\Step\Stores\Data + Migration\Step\Stores\Volume + + + + + Migration\Step\DataIntegrity\Integrity + + + Migration\Step\Eav\Integrity + Migration\Step\Eav\Data + Migration\Step\Eav\Volume + + + Migration\Step\Customer\Integrity + Migration\Step\Customer\Data + Migration\Step\Customer\Volume + + + Migration\Step\Map\Integrity + Migration\Step\Map\Data + Migration\Step\Map\Volume + + + Migration\Step\UrlRewrite\Version191to2000 + Migration\Step\UrlRewrite\Version191to2000 + Migration\Step\UrlRewrite\Version191to2000 + + + Migration\Step\Log\Integrity + Migration\Step\Log\Data + Migration\Step\Log\Volume + + + Migration\Step\Ratings\Integrity + Migration\Step\Ratings\Data + Migration\Step\Ratings\Volume + + + Migration\Step\ConfigurablePrices\Integrity + Migration\Step\ConfigurablePrices\Data + Migration\Step\ConfigurablePrices\Volume + + + Migration\Step\OrderGrids\Integrity + Migration\Step\OrderGrids\Data + Migration\Step\OrderGrids\Volume + + + Migration\Step\TierPrice\Integrity + Migration\Step\TierPrice\Data + Migration\Step\TierPrice\Volume + + + Migration\Step\SalesIncrement\Integrity + Migration\Step\SalesIncrement\Data + Migration\Step\SalesIncrement\Volume + + + Migration\Step\PostProcessing\Data + + + + + Migration\Step\Customer\Delta + Migration\Step\Customer\Volume + + + Migration\Step\Map\Delta + Migration\Step\Map\Volume + + + Migration\Step\Log\Delta + Migration\Step\Log\Volume + + + Migration\Step\OrderGrids\Delta + Migration\Step\OrderGrids\Volume + + + Migration\Step\SalesIncrement\Delta + Migration\Step\SalesIncrement\Volume + + + + + + + + + + etc/ce-to-ee/1.9.3.3/map.xml.dist + etc/ce-to-ee/map-eav.xml.dist + etc/ce-to-ee/eav-document-groups.xml.dist + etc/ce-to-ee/eav-attribute-groups.xml.dist + etc/ce-to-ee/map-log.xml.dist + etc/ce-to-ee/log-document-groups.xml.dist + etc/ce-to-ee/settings.xml.dist + etc/ce-to-ee/map-customer.xml.dist + etc/ce-to-ee/customer-document-groups.xml.dist + etc/ce-to-ee/customer-attribute-groups.xml.dist + etc/ce-to-ee/deltalog.xml.dist + etc/ce-to-ee/order-grids-document-groups.xml.dist + etc/ce-to-ee/map-document-groups.xml.dist + etc/ce-to-ee/class-map.xml.dist + etc/ce-to-ee/1.9.3.3/map-tier-price.xml.dist + + 0 + + 0 + + + 0 + migration.log + %percent%% [%bar%] Remaining Time: %remaining% + 1 + ce-to-ee + 1.9.3.3 + SET NAMES utf8; + SET NAMES utf8; + + + diff --git a/etc/ce-to-ee/1.9.3.3/map-tier-price.xml.dist b/etc/ce-to-ee/1.9.3.3/map-tier-price.xml.dist new file mode 100644 index 000000000..db03f1ff0 --- /dev/null +++ b/etc/ce-to-ee/1.9.3.3/map-tier-price.xml.dist @@ -0,0 +1,25 @@ + + + + + + + catalog_product_entity_group_price.is_percent + + + catalog_product_entity_tier_price.entity_id + catalog_product_entity_tier_price.row_id + + + catalog_product_entity_group_price.entity_id + catalog_product_entity_group_price.row_id + + + + + diff --git a/etc/ce-to-ee/1.9.3.3/map.xml.dist b/etc/ce-to-ee/1.9.3.3/map.xml.dist new file mode 100644 index 000000000..633f0f0c0 --- /dev/null +++ b/etc/ce-to-ee/1.9.3.3/map.xml.dist @@ -0,0 +1,2873 @@ + + + + + + + googleshopping_attributes + + + googleshopping_items + + + googleshopping_types + + + sales_flat_creditmemo_grid + + + sales_flat_invoice_grid + + + sales_flat_order_grid + + + sales_flat_shipment_grid + + + customer_entity + + + customer_entity_datetime + + + customer_entity_decimal + + + customer_entity_int + + + customer_entity_text + + + customer_entity_varchar + + + customer_address_entity + + + customer_address_entity_datetime + + + customer_address_entity_decimal + + + customer_address_entity_int + + + customer_address_entity_text + + + customer_address_entity_varchar + + + m2_cl_* + + + url_rewrite_m2* + + + admin_assert + + + api2_acl_attribute + + + api2_acl_role + + + api2_acl_rule + + + api2_acl_user + + + api_assert + + + api_role + + + api_rule + + + api_session + + + api_user + + + log_customer + + + log_quote + + + log_summary_type + + + log_summary + + + log_url + + + log_url_info + + + catalog_category_anc_categs_index_idx + + + catalog_category_anc_categs_index_tmp + + + catalog_category_anc_products_index_idx + + + catalog_category_anc_products_index_tmp + + + catalog_category_flat_cl + + + catalog_category_product_index + + + catalog_category_product_index_cl + + + catalog_category_product_index_enbl_idx + + + catalog_category_product_index_enbl_tmp + + + catalog_category_product_index_idx + + + catalog_category_product_index_tmp + + + catalog_product_enabled_index + + + catalog_product_flat_cl + + + cataloginventory_stock_status + + + cataloginventory_stock_status_idx + + + cataloginventory_stock_status_tmp + + + catalog_category_product_cat_cl + + + catalog_product_bundle_price_index + + + catalog_product_bundle_stock_index + + + catalog_product_index_group_price + + + catalog_product_index_price + + + catalog_product_index_price* + + + catalog_product_index_tier_price + + + catalog_product_index_website + + + catalogindex_aggregation + + + catalogindex_aggregation_tag + + + catalogindex_aggregation_to_tag + + + catalogindex_minimal_price + + + catalogindex_price + + + core_layout_update + + + core_layout_link + + + widget_instance_page_layout + + + googlecheckout_api_debug + + + ogone_api_debug + + + oscommerce_import + + + oscommerce_import_type + + + oscommerce_orders + + + oscommerce_orders_products + + + oscommerce_orders_status_history + + + oscommerce_orders_total + + + oscommerce_ref + + + paygate_authorizenet_debug + + + paypal_api_debug + + + paypaluk_api_debug + + + amazonpayments_api_debug + + + chronopay_api_debug + + + cybermut_api_debug + + + cybersource_api_debug + + + eway_api_debug + + + flo2cash_api_debug + + + ideal_api_debug + + + paybox_api_debug + + + protx_api_debug + + + xmlconnect_application + + + xmlconnect_config_data + + + xmlconnect_history + + + xmlconnect_images + + + xmlconnect_notification_template + + + xmlconnect_queue + + + googlecheckout_notification + + + index_event + + + index_process + + + index_process_event + + + cataloginventory_stock_status_cl + + + catalogsearch_fulltext + + + catalogsearch_fulltext_cl + + + core_cache_tag + + + core_cache_option + + + core_cache + + + core_flag + + + core_email_queue + + + core_email_queue_recipients + + + merchandiser_category_values + + + merchandiser_vmbuild + + + dataflow_batch + + + dataflow_batch_export + + + dataflow_batch_import + + + dataflow_import_data + + + dataflow_profile + + + dataflow_profile_history + + + dataflow_session + + + core_url_rewrite + + + catalog_product_entity_url_key + + + catalogindex_eav + + + catalog_eav_attribute + + + customer_eav_attribute + + + catalog_product_index_eav + + + catalog_product_index_eav_decimal + + + catalog_product_index_eav_decimal_idx + + + catalog_product_index_eav_decimal_tmp + + + catalog_product_index_eav_idx + + + catalog_product_index_eav_tmp + + + eav_attribute + + + eav_attribute_group + + + eav_attribute_set + + + eav_entity_attribute + + + eav_entity_type + + + catalog_category_entity_url_key + + + poll + + + poll_answer + + + poll_store + + + poll_vote + + + sales_recurring_profile + + + sales_recurring_profile_order + + + tag + + + tag_properties + + + tag_relation + + + tag_summary + + + weee_discount + + + catalogsearch_result + + + log_visitor + + + log_visitor_info + + + log_visitor_online + + + core_config_data + + + s_*b_*_* + + + catalog_product_flat_* + + + catalog_category_flat_* + + + catalog_category_flat_store_* + + + googleoptimizer_code + + + core_resource + + + cron_schedule + + + admin_user + + + admin_role + + + admin_rule + + + admin_role + + + admin_rule + + + catalogrule_affected_product + + + catalog_product_super_attribute_pricing + + + core_website + + + catalog_product_entity_group_price + + + catalog_product_entity_tier_price + + + permission_block + + + permission_variable + + + googlebase_attributes + + + googlebase_items + + + googlebase_types + + + customer_flowpassword + + + catalogsearch_query + search_query + + + core_variable + variable + + + core_variable_value + variable_value + + + core_email_template + email_template + + + core_store + store + + + core_store_group + store_group + + + core_translate + translation + + + core_session + session + + + coupon_aggregated + salesrule_coupon_aggregated + + + coupon_aggregated_order + salesrule_coupon_aggregated_order + + + coupon_aggregated_updated + salesrule_coupon_aggregated_updated + + + sales_flat_order + sales_order + + + sales_flat_creditmemo + sales_creditmemo + + + sales_flat_creditmemo_comment + sales_creditmemo_comment + + + sales_flat_creditmemo_item + sales_creditmemo_item + + + sales_flat_invoice + sales_invoice + + + sales_flat_invoice_comment + sales_invoice_comment + + + sales_flat_invoice_item + sales_invoice_item + + + sales_flat_order_address + sales_order_address + + + sales_flat_order_item + sales_order_item + + + sales_flat_order_payment + sales_order_payment + + + sales_flat_order_status_history + sales_order_status_history + + + sales_flat_quote + quote + + + sales_flat_quote_address + quote_address + + + sales_flat_quote_address_item + quote_address_item + + + sales_flat_quote_item + quote_item + + + sales_flat_quote_item_option + quote_item_option + + + sales_flat_quote_payment + quote_payment + + + sales_flat_quote_shipping_rate + quote_shipping_rate + + + sales_flat_shipment + sales_shipment + + + sales_flat_shipment_comment + sales_shipment_comment + + + sales_flat_shipment_item + sales_shipment_item + + + sales_flat_shipment_track + sales_shipment_track + + + core_directory_storage + media_storage_directory_storage + + + core_file_storage + media_storage_file_storage + + + sales_billing_agreement + paypal_billing_agreement + + + sales_billing_agreement_order + paypal_billing_agreement_order + + + + + cms_page.root_template + cms_page.page_layout + + + sales_flat_order.hidden_tax_amount + sales_order.discount_tax_compensation_amount + + + sales_flat_order.base_hidden_tax_amount + sales_order.base_discount_tax_compensation_amount + + + sales_flat_order.shipping_hidden_tax_amount + sales_order.shipping_discount_tax_compensation_amount + + + sales_flat_order.base_shipping_hidden_tax_amnt + sales_order.base_shipping_discount_tax_compensation_amnt + + + sales_flat_order.hidden_tax_invoiced + sales_order.discount_tax_compensation_invoiced + + + sales_flat_order.base_hidden_tax_invoiced + sales_order.base_discount_tax_compensation_invoiced + + + sales_flat_order.hidden_tax_refunded + sales_order.discount_tax_compensation_refunded + + + sales_flat_order.base_hidden_tax_refunded + sales_order.base_discount_tax_compensation_refunded + + + sales_flat_creditmemo.hidden_tax_amount + sales_creditmemo.discount_tax_compensation_amount + + + sales_flat_creditmemo.base_hidden_tax_amount + sales_creditmemo.base_discount_tax_compensation_amount + + + sales_flat_creditmemo.shipping_hidden_tax_amount + sales_creditmemo.shipping_discount_tax_compensation_amount + + + sales_flat_creditmemo.base_shipping_hidden_tax_amnt + sales_creditmemo.base_shipping_discount_tax_compensation_amnt + + + sales_flat_creditmemo_item.hidden_tax_amount + sales_creditmemo_item.discount_tax_compensation_amount + + + sales_flat_creditmemo_item.base_hidden_tax_amount + sales_creditmemo_item.base_discount_tax_compensation_amount + + + sales_flat_invoice.hidden_tax_amount + sales_invoice.discount_tax_compensation_amount + + + sales_flat_invoice.base_hidden_tax_amount + sales_invoice.base_discount_tax_compensation_amount + + + sales_flat_invoice.shipping_hidden_tax_amount + sales_invoice.shipping_discount_tax_compensation_amount + + + sales_flat_invoice.base_shipping_hidden_tax_amnt + sales_invoice.base_shipping_discount_tax_compensation_amnt + + + sales_flat_invoice_item.hidden_tax_amount + sales_invoice_item.discount_tax_compensation_amount + + + sales_flat_invoice_item.base_hidden_tax_amount + sales_invoice_item.base_discount_tax_compensation_amount + + + sales_flat_order_item.hidden_tax_amount + sales_order_item.discount_tax_compensation_amount + + + sales_flat_order_item.base_hidden_tax_amount + sales_order_item.base_discount_tax_compensation_amount + + + sales_flat_order_item.hidden_tax_invoiced + sales_order_item.discount_tax_compensation_invoiced + + + sales_flat_order_item.base_hidden_tax_invoiced + sales_order_item.base_discount_tax_compensation_invoiced + + + sales_flat_order_item.hidden_tax_refunded + sales_order_item.discount_tax_compensation_refunded + + + sales_flat_order_item.base_hidden_tax_refunded + sales_order_item.base_discount_tax_compensation_refunded + + + sales_flat_order_item.hidden_tax_canceled + sales_order_item.discount_tax_compensation_canceled + + + sales_flat_order_payment.cc_last4 + sales_order_payment.cc_last_4 + + + sales_flat_quote_payment.cc_last4 + quote_payment.cc_last_4 + + + sales_flat_quote_address.hidden_tax_amount + quote_address.discount_tax_compensation_amount + + + sales_flat_quote_address.base_hidden_tax_amount + quote_address.base_discount_tax_compensation_amount + + + sales_flat_quote_address.shipping_hidden_tax_amount + quote_address.shipping_discount_tax_compensation_amount + + + sales_flat_quote_address.base_shipping_hidden_tax_amnt + quote_address.base_shipping_discount_tax_compensation_amnt + + + sales_flat_quote_address_item.hidden_tax_amount + quote_address_item.discount_tax_compensation_amount + + + sales_flat_quote_address_item.base_hidden_tax_amount + quote_address_item.base_discount_tax_compensation_amount + + + sales_flat_quote_item.hidden_tax_amount + quote_item.discount_tax_compensation_amount + + + sales_flat_quote_item.base_hidden_tax_amount + quote_item.base_discount_tax_compensation_amount + + + catalog_category_entity_datetime.entity_id + catalog_category_entity_datetime.row_id + + + catalog_category_entity_decimal.entity_id + catalog_category_entity_decimal.row_id + + + catalog_category_entity_int.entity_id + catalog_category_entity_int.row_id + + + catalog_category_entity_text.entity_id + catalog_category_entity_text.row_id + + + catalog_category_entity_varchar.entity_id + catalog_category_entity_varchar.row_id + + + catalog_product_entity_datetime.entity_id + catalog_product_entity_datetime.row_id + + + catalog_product_entity_decimal.entity_id + catalog_product_entity_decimal.row_id + + + catalog_product_entity_gallery.entity_id + catalog_product_entity_gallery.row_id + + + catalog_product_entity_int.entity_id + catalog_product_entity_int.row_id + + + catalog_product_entity_text.entity_id + catalog_product_entity_text.row_id + + + catalog_product_entity_varchar.entity_id + catalog_product_entity_varchar.row_id + + + catalogrule_customer_group.rule_id + catalogrule_customer_group.row_id + + + catalogrule_website.rule_id + catalogrule_website.row_id + + + salesrule_customer_group.rule_id + salesrule_customer_group.row_id + + + salesrule_product_attribute.rule_id + salesrule_product_attribute.row_id + + + salesrule_website.rule_id + salesrule_website.row_id + + + cms_block_store.block_id + cms_block_store.row_id + + + cms_page_store.page_id + cms_page_store.row_id + + + catalog_product_entity_tier_price.entity_id + catalog_product_entity_tier_price.row_id + + + catalog_category_entity_varchar.value + + + + + + + catalog_category_entity_varchar.value + + + + + + + + catalog_category_entity_varchar.value + + + + + + + catalog_category_entity_text.value + + + + + + + catalog_product_entity_varchar.value + + + + + + + catalog_product_entity_varchar.value + + + + + + + + cms_page.root_template + + + + + + + cms_block.content + + + + cms_page.content + + + + newsletter_template.template_text + + + + core_email_template.template_text + + + + widget_instance.instance_type + + + + catalogrule.conditions_serialized + + + + catalogrule.actions_serialized + + + + salesrule.conditions_serialized + + + + salesrule.actions_serialized + + + + sales_flat_order_item.weee_tax_applied + + + + sales_flat_quote_item.weee_tax_applied + + + + sales_flat_creditmemo_item.weee_tax_applied + + + + sales_flat_invoice_item.weee_tax_applied + + + + rating_option_vote.remote_ip_long + + + + sendfriend_log.ip + + + + catalog_product_entity_media_gallery.value_id + + + + catalogrule.rule_id + + + + + + salesrule.rule_id + + + + + + catalog_category_entity.entity_id + + + + + + catalog_product_entity.entity_id + + + + + + cms_block.block_id + + + + + + cms_page.page_id + + + + + + catalogsearch_query.synonym_for + + + + admin_rule.role_type + + + admin_rule.assert_id + + + core_website.is_staging + + + core_website.master_login + + + core_website.master_password + + + core_website.visibility + + + sales_order_tax.hidden + + + sales_flat_order.paypal_ipn_customer_notified + + + sales_flat_order_item.is_nominal + + + sales_flat_order_payment.paybox_request_number + + + weee_tax.entity_type_id + + + catalog_category_entity.entity_type_id + + + catalog_category_entity_datetime.entity_type_id + + + catalog_category_entity_decimal.entity_type_id + + + catalog_category_entity_int.entity_type_id + + + catalog_category_entity_text.entity_type_id + + + catalog_category_entity_varchar.entity_type_id + + + catalog_product_entity.entity_type_id + + + catalog_product_entity_datetime.entity_type_id + + + catalog_product_entity_decimal.entity_type_id + + + catalog_product_entity_gallery.entity_type_id + + + catalog_product_entity_media_gallery.entity_id + + + catalog_product_entity_int.entity_type_id + + + catalog_product_entity_text.entity_type_id + + + catalog_product_entity_varchar.entity_type_id + + + sales_flat_creditmemo.cybersource_token + + + sales_flat_invoice.cybersource_token + + + sales_flat_order_payment.ideal_transaction_checked + + + sales_flat_order_payment.cybersource_token + + + sales_flat_order_payment.ideal_issuer_title + + + sales_flat_order_payment.paybox_question_number + + + sales_flat_order_payment.ideal_issuer_id + + + sales_flat_order_payment.flo2cash_account_id + + + sales_flat_quote_payment.cybersource_token + + + sales_flat_quote_payment.ideal_issuer_id + + + sales_flat_quote_payment.ideal_issuer_list + + + sales_flat_quote_payment.paypal_payer_id + + + sales_flat_quote_payment.paypal_payer_status + + + sales_flat_quote_payment.paypal_correlation_id + + + cms_page.layout_update_xml + + + cms_page.custom_layout_update_xml + + + widget_instance.package_theme + + + newsletter_template.template_text_preprocessed + + + catalogsearch_query.synonym_for + + + catalogrule.sub_is_enable + + + catalogrule.sub_simple_action + + + catalogrule.sub_discount_amount + + + catalogrule_product.sub_simple_action + + + catalogrule_product.sub_discount_amount + + + sales_flat_invoice.customer_id + + + sales_flat_invoice.invoice_status_id + + + sales_flat_invoice.invoice_type + + + sales_flat_invoice.is_virtual + + + sales_flat_invoice.real_order_id + + + sales_flat_invoice.total_due + + + sales_flat_invoice.total_paid + + + sales_flat_invoice_item.shipment_id + + + sales_flat_order.base_custbalance_amount + + + sales_flat_order.currency_base_id + + + sales_flat_order.currency_code + + + sales_flat_order.currency_rate + + + sales_flat_order.custbalance_amount + + + sales_flat_order.is_hold + + + sales_flat_order.is_multi_payment + + + sales_flat_order.real_order_id + + + sales_flat_order.tax_percent + + + sales_flat_order.tracking_numbers + + + sales_flat_order_address.address_id + + + sales_flat_order_address.gift_message_id + + + sales_flat_order_address.tax_id + + + sales_flat_order_payment.amount + + + sales_flat_order_payment.cc_raw_request + + + sales_flat_order_payment.cc_raw_response + + + sales_flat_order_payment.customer_payment_id + + + sales_bestsellers_aggregated_daily.product_type_id + + + sales_bestsellers_aggregated_monthly.product_type_id + + + sales_bestsellers_aggregated_yearly.product_type_id + + + sales_flat_quote_payment.cc_exp_month + + + weee_tax.state + + + sendfriend_log.ip + + + rating_option_vote.remote_ip_long + + + oauth_consumer.callback_url + + + oauth_consumer.rejected_callback_url + + + oauth_token.callback_url + + + + + + + customer_entity + + + customer_entity_datetime + + + customer_entity_decimal + + + customer_entity_int + + + customer_entity_text + + + customer_entity_varchar + + + customer_address_entity + + + customer_address_entity_datetime + + + customer_address_entity_decimal + + + customer_address_entity_int + + + customer_address_entity_text + + + customer_address_entity_varchar + + + ui_bookmark + + + migration_backup_* + + + googleoptimizer_code + + + indexer_state + + + integration + + + mview_state + + + theme + + + theme_file + + + vde_theme_change + + + admin_system_messages + + + catalog_url_rewrite_product_category + + + customer_visitor + + + url_rewrite + + + layout_update + + + layout_link + + + catalog_product_flat_* + + + catalog_category_flat_* + + + catalogindex_eav + + + catalog_eav_attribute + + + catalogsearch_fulltext_index_default + + + customer_eav_attribute + + + customer_eav_attribute_website + + + catalog_product_index_eav + + + catalog_product_index_eav_decimal + + + catalog_product_index_eav_decimal_idx + + + catalog_product_index_eav_decimal_tmp + + + catalog_product_index_eav_idx + + + catalog_product_index_eav_tmp + + + catalog_category_product_index_tmp + + + eav_attribute + + + eav_attribute_group + + + eav_attribute_set + + + eav_entity_attribute + + + eav_entity_type + + + authorization_role + + + authorization_rule + + + setup_module + + + cache + + + cache_tag + + + customer_log + + + flag + + + log_customer + + + log_quote + + + log_summary_type + + + log_summary + + + log_url + + + log_url_info + + + quote_id_mask + + + session + + + sales_sequence_profile + + + sales_sequence_meta + + + sequence_invoice_* + + + sequence_creditmemo_* + + + sequence_order_* + + + sequence_shipment* + + + sequence_rma_item_* + + + catalogsearch_recommendations + + + enterprise_admin_passwords + + + magento_banner + + + magento_banner_catalogrule + + + magento_banner_content + + + magento_banner_customersegment + + + magento_banner_salesrule + + + magento_catalogevent_event + + + magento_catalogevent_event_image + + + magento_catalogpermissions + + + magento_catalogpermissions_index + + + magento_catalogpermissions_index_product + + + magento_catalogpermissions_index_product_tmp + + + magento_catalogpermissions_index_tmp + + + magento_customerbalance + + + magento_customerbalance_history + + + magento_customercustomattributes_sales_flat_order + + + magento_customercustomattributes_sales_flat_order_address + + + magento_customercustomattributes_sales_flat_quote + + + magento_customercustomattributes_sales_flat_quote_address + + + magento_customersegment_customer + + + magento_customersegment_event + + + magento_customersegment_segment + + + magento_customersegment_website + + + magento_giftcard_amount + + + magento_giftcardaccount + + + magento_giftcardaccount_history + + + magento_giftcardaccount_pool + + + magento_giftregistry_data + + + magento_giftregistry_entity + + + magento_giftregistry_item + + + magento_giftregistry_item_option + + + magento_giftregistry_label + + + magento_giftregistry_person + + + magento_giftregistry_type + + + magento_giftregistry_type_info + + + magento_giftwrapping + + + magento_giftwrapping_store_attributes + + + magento_giftwrapping_website + + + magento_invitation + + + magento_invitation_status_history + + + magento_invitation_track + + + magento_logging_event + + + magento_logging_event_changes + + + magento_reminder_rule + + + magento_reminder_rule_coupon + + + magento_reminder_rule_log + + + magento_reminder_rule_website + + + magento_reminder_template + + + magento_reward + + + magento_reward_history + + + magento_reward_rate + + + magento_reward_salesrule + + + magento_rma + + + magento_rma_grid + + + sales_creditmemo_grid + + + sales_invoice_grid + + + sales_order_grid + + + sales_shipment_grid + + + magento_rma_item_eav_attribute + + + magento_rma_item_eav_attribute_website + + + magento_rma_item_entity + + + magento_rma_item_entity_datetime + + + magento_rma_item_entity_decimal + + + magento_rma_item_entity_int + + + magento_rma_item_entity_text + + + magento_rma_item_entity_varchar + + + magento_rma_item_form_attribute + + + magento_rma_shipping_label + + + magento_rma_status_history + + + magento_sales_creditmemo_grid_archive + + + magento_sales_invoice_grid_archive + + + magento_sales_order_grid_archive + + + store_website + + + support_report + + + magento_sales_shipment_grid_archive + + + magento_scheduled_operations + + + magento_targetrule + + + magento_targetrule_customersegment + + + magento_targetrule_index + + + magento_targetrule_index_crosssell + + + magento_targetrule_index_crosssell_product + + + magento_targetrule_index_related + + + magento_targetrule_index_related_product + + + magento_targetrule_index_upsell + + + magento_targetrule_index_upsell_product + + + magento_targetrule_product + + + magento_versionscms_hierarchy_lock + + + magento_versionscms_hierarchy_metadata + + + magento_versionscms_hierarchy_node + + + magento_versionscms_increment + + + magento_versionscms_page_revision + + + magento_versionscms_page_version + + + paypal_billing_agreement + + + paypal_billing_agreement_order + + + eav_attribute_option_swatch + + + import_history + + + catalogsearch_fulltext_scope* + + + log_visitor_info + + + log_visitor_online + + + reporting_module_status + + + reporting_orders + + + reporting_system_updates + + + reporting_users + + + reporting_counts + + + queue + + + queue_message + + + queue_message_status + + + admin_passwords + + + support_backup + + + support_backup_item + + + catalog_product_entity_media_gallery_value_to_entity + + + catalog_product_entity_media_gallery_value_video + + + catalog_product_entity_tier_price + + + customer_grid_flat + + + visual_merchandiser_rule + + + oauth_token_request_log + + + design_config_grid_flat + + + admin_user_session + + + magento_salesrule_filter + + + multiinventory_warehouse + + + password_reset_request_event + + + queue_lock + + + quote_preview + + + search_synonyms + + + sequence_catalog_category + + + sequence_catalogrule + + + sequence_cms_block + + + sequence_cms_page + + + sequence_product + + + sequence_salesrule + + + staging_update + + + vault_payment_token + + + vault_payment_token_order_payment_link + + + + + admin_user.interface_locale + + + + + + cataloginventory_stock.website_id + + + + + + cataloginventory_stock_item.website_id + + + + + + rating.is_active + + + + + + authorization_role.user_type + + + + + + sales_order_tax_item.amount + + + + + + sales_order_tax_item.base_amount + + + + + + sales_order_tax_item.real_amount + + + + + + sales_order_tax_item.real_base_amount + + + + + + sales_order_tax_item.taxable_item_type + + + + + + oauth_token.user_type + + + + + + widget_instance.theme_id + + + + + + sales_order_status_state.visible_on_front + + + + catalog_product_entity_media_gallery_value.entity_id + + + + catalog_category_entity.row_id + + + + + + catalog_product_entity.row_id + + + + + + catalogrule.row_id + + + + + + cms_block.row_id + + + + + + cms_page.row_id + + + + + + salesrule.row_id + + + + + + catalog_product_entity_media_gallery_value.entity_id + + + catalog_product_entity_media_gallery.media_type + + + catalog_product_entity_media_gallery.disabled + + + catalog_product_entity_media_gallery_value.record_id + + + admin_user.interface_locale + + + rating.is_active + + + sales_creditmemo.send_email + + + sales_creditmemo.customer_note + + + sales_creditmemo.customer_note_notify + + + sales_invoice.send_email + + + sales_invoice.customer_note + + + sales_invoice.customer_note_notify + + + sales_shipment.send_email + + + sales_shipment.customer_note + + + sales_shipment.customer_note_notify + + + sales_creditmemo_item.tax_ratio + + + sales_invoice_item.tax_ratio + + + authorization_role.user_type + + + cataloginventory_stock.website_id + + + cataloginventory_stock_item.website_id + + + oauth_nonce.consumer_id + + + oauth_token.user_type + + + sales_order_status_state.visible_on_front + + + widget_instance.theme_id + + + sales_order_tax_item.amount + + + sales_order_tax_item.base_amount + + + sales_order_tax_item.real_amount + + + sales_order_tax_item.real_base_amount + + + sales_order_tax_item.associated_item_id + + + sales_order_tax_item.taxable_item_type + + + sales_creditmemo_grid.updated_at + + + sales_invoice_grid.updated_at + + + sales_shipment_grid.updated_at + + + sales_order.send_email + + + admin_user.failures_num + + + admin_user.first_failure + + + admin_user.lock_expires + + + cms_page.published_revision_id + + + cms_page.website_root + + + cms_page.under_version_control + + + quote.customer_balance_amount_used + + + quote.base_customer_bal_amount_used + + + quote.use_customer_balance + + + quote.gift_cards + + + quote.gift_cards_amount + + + quote.base_gift_cards_amount + + + quote.gift_cards_amount_used + + + quote.base_gift_cards_amount_used + + + quote.gw_id + + + quote.gw_allow_gift_receipt + + + quote.gw_add_card + + + quote.gw_base_price + + + quote.gw_price + + + quote.gw_items_base_price + + + quote.gw_items_price + + + quote.gw_card_base_price + + + quote.gw_card_price + + + quote.gw_base_tax_amount + + + quote.gw_tax_amount + + + quote.gw_items_base_tax_amount + + + quote.gw_items_tax_amount + + + quote.gw_card_base_tax_amount + + + quote.gw_card_tax_amount + + + quote.use_reward_points + + + quote.reward_points_balance + + + quote.base_reward_currency_amount + + + quote.reward_currency_amount + + + quote_address.base_customer_balance_amount + + + quote_address.customer_balance_amount + + + quote_address.gift_cards_amount + + + quote_address.base_gift_cards_amount + + + quote_address.gift_cards + + + quote_address.used_gift_cards + + + quote_address.gw_id + + + quote_address.gw_allow_gift_receipt + + + quote_address.gw_add_card + + + quote_address.gw_base_price + + + quote_address.gw_price + + + quote_address.gw_items_base_price + + + quote_address.gw_items_price + + + quote_address.gw_card_base_price + + + quote_address.gw_card_price + + + quote_address.gw_base_tax_amount + + + quote_address.gw_tax_amount + + + quote_address.gw_items_base_tax_amount + + + quote_address.gw_items_tax_amount + + + quote_address.gw_card_base_tax_amount + + + quote_address.gw_card_tax_amount + + + quote_address.reward_points_balance + + + quote_address.base_reward_currency_amount + + + quote_address.reward_currency_amount + + + quote_address.giftregistry_item_id + + + quote_address_item.gw_id + + + quote_address_item.gw_base_price + + + quote_address_item.gw_price + + + quote_address_item.gw_base_tax_amount + + + quote_address_item.gw_tax_amount + + + quote_item.gw_id + + + quote_item.gw_base_price + + + quote_item.gw_price + + + quote_item.gw_base_tax_amount + + + quote_item.gw_tax_amount + + + quote_item.event_id + + + quote_item.giftregistry_item_id + + + sales_creditmemo.base_customer_balance_amount + + + sales_creditmemo.customer_balance_amount + + + sales_creditmemo.bs_customer_bal_total_refunded + + + sales_creditmemo.customer_bal_total_refunded + + + sales_creditmemo.base_gift_cards_amount + + + sales_creditmemo.gift_cards_amount + + + sales_creditmemo.gw_base_price + + + sales_creditmemo.gw_price + + + sales_creditmemo.gw_items_base_price + + + sales_creditmemo.gw_items_price + + + sales_creditmemo.gw_card_base_price + + + sales_creditmemo.gw_card_price + + + sales_creditmemo.gw_base_tax_amount + + + sales_creditmemo.gw_tax_amount + + + sales_creditmemo.gw_items_base_tax_amount + + + sales_creditmemo.gw_items_tax_amount + + + sales_creditmemo.gw_card_base_tax_amount + + + sales_creditmemo.gw_card_tax_amount + + + sales_creditmemo.base_reward_currency_amount + + + sales_creditmemo.reward_currency_amount + + + sales_creditmemo.reward_points_balance + + + sales_creditmemo.reward_points_balance_refund + + + sales_invoice.base_customer_balance_amount + + + sales_invoice.customer_balance_amount + + + sales_invoice.base_gift_cards_amount + + + sales_invoice.gift_cards_amount + + + sales_invoice.gw_base_price + + + sales_invoice.gw_price + + + sales_invoice.gw_items_base_price + + + sales_invoice.gw_items_price + + + sales_invoice.gw_card_base_price + + + sales_invoice.gw_card_price + + + sales_invoice.gw_base_tax_amount + + + sales_invoice.gw_tax_amount + + + sales_invoice.gw_items_base_tax_amount + + + sales_invoice.gw_items_tax_amount + + + sales_invoice.gw_card_base_tax_amount + + + sales_invoice.gw_card_tax_amount + + + sales_invoice.base_reward_currency_amount + + + sales_invoice.reward_currency_amount + + + sales_invoice.reward_points_balance + + + sales_order.base_customer_balance_amount + + + sales_order.customer_balance_amount + + + sales_order.base_customer_balance_invoiced + + + sales_order.customer_balance_invoiced + + + sales_order.base_customer_balance_refunded + + + sales_order.customer_balance_refunded + + + sales_order.bs_customer_bal_total_refunded + + + sales_order.customer_bal_total_refunded + + + sales_order.gift_cards + + + sales_order.base_gift_cards_amount + + + sales_order.gift_cards_amount + + + sales_order.base_gift_cards_invoiced + + + sales_order.gift_cards_invoiced + + + sales_order.base_gift_cards_refunded + + + sales_order.gift_cards_refunded + + + sales_order.gw_id + + + sales_order.gw_allow_gift_receipt + + + sales_order.gw_add_card + + + sales_order.gw_base_price + + + sales_order.gw_price + + + sales_order.gw_items_base_price + + + sales_order.gw_items_price + + + sales_order.gw_card_base_price + + + sales_order.gw_card_price + + + sales_order.gw_base_tax_amount + + + sales_order.gw_tax_amount + + + sales_order.gw_items_base_tax_amount + + + sales_order.gw_items_tax_amount + + + sales_order.gw_card_base_tax_amount + + + sales_order.gw_card_tax_amount + + + sales_order.gw_base_price_invoiced + + + sales_order.gw_price_invoiced + + + sales_order.gw_items_base_price_invoiced + + + sales_order.gw_items_price_invoiced + + + sales_order.gw_card_base_price_invoiced + + + sales_order.gw_card_price_invoiced + + + sales_order.gw_base_tax_amount_invoiced + + + sales_order.gw_tax_amount_invoiced + + + sales_order.gw_items_base_tax_invoiced + + + sales_order.gw_items_tax_invoiced + + + sales_order.gw_card_base_tax_invoiced + + + sales_order.gw_card_tax_invoiced + + + sales_order.gw_base_price_refunded + + + sales_order.gw_price_refunded + + + sales_order.gw_items_base_price_refunded + + + sales_order.gw_items_price_refunded + + + sales_order.gw_card_base_price_refunded + + + sales_order.gw_card_price_refunded + + + sales_order.gw_base_tax_amount_refunded + + + sales_order.gw_tax_amount_refunded + + + sales_order.gw_items_base_tax_refunded + + + sales_order.gw_items_tax_refunded + + + sales_order.gw_card_base_tax_refunded + + + sales_order.gw_card_tax_refunded + + + sales_order.reward_points_balance + + + sales_order.base_reward_currency_amount + + + sales_order.reward_currency_amount + + + sales_order.base_rwrd_crrncy_amt_invoiced + + + sales_order.rwrd_currency_amount_invoiced + + + sales_order.base_rwrd_crrncy_amnt_refnded + + + sales_order.rwrd_crrncy_amnt_refunded + + + sales_order.reward_points_balance_refund + + + sales_order_address.giftregistry_item_id + + + sales_order_item.qty_returned + + + sales_order_item.gw_id + + + sales_order_item.gw_base_price + + + sales_order_item.gw_price + + + sales_order_item.gw_base_tax_amount + + + sales_order_item.gw_tax_amount + + + sales_order_item.gw_base_price_invoiced + + + sales_order_item.gw_price_invoiced + + + sales_order_item.gw_base_tax_amount_invoiced + + + sales_order_item.gw_tax_amount_invoiced + + + sales_order_item.gw_base_price_refunded + + + sales_order_item.gw_price_refunded + + + sales_order_item.gw_base_tax_amount_refunded + + + sales_order_item.gw_tax_amount_refunded + + + sales_order_item.event_id + + + sales_order_item.giftregistry_item_id + + + wishlist.name + + + wishlist.visibility + + + checkout_agreement.mode + + + cataloginventory_stock_item.deferred_stock_update + + + cataloginventory_stock_item.use_config_deferred_stock_update + + + quote.gw_base_price_incl_tax + + + quote.gw_price_incl_tax + + + quote.gw_items_base_price_incl_tax + + + quote.gw_items_price_incl_tax + + + quote.gw_card_base_price_incl_tax + + + quote.gw_card_price_incl_tax + + + quote_address.gw_base_price_incl_tax + + + quote_address.gw_price_incl_tax + + + quote_address.gw_items_base_price_incl_tax + + + quote_address.gw_items_price_incl_tax + + + quote_address.gw_card_base_price_incl_tax + + + quote_address.gw_card_price_incl_tax + + + sales_order.gw_base_price_incl_tax + + + sales_order.gw_price_incl_tax + + + sales_order.gw_items_base_price_incl_tax + + + sales_order.gw_items_price_incl_tax + + + sales_order.gw_card_base_price_incl_tax + + + sales_order.gw_card_price_incl_tax + + + catalog_category_entity.created_in + + + catalog_category_entity.updated_in + + + catalog_product_entity.created_in + + + catalog_product_entity.updated_in + + + catalogrule.created_in + + + catalogrule.updated_in + + + cms_block.created_in + + + cms_block.updated_in + + + cms_page.created_in + + + cms_page.updated_in + + + salesrule.created_in + + + salesrule.updated_in + + + catalog_category_entity.row_id + + + catalog_category_product.entity_id + + + catalog_product_entity.row_id + + + catalog_product_entity_media_gallery_value.row_id + + + catalogrule.row_id + + + cms_block.row_id + + + cms_page.row_id + + + salesrule.row_id + + + cms_page.meta_title + + + quote_payment.cc_exp_month + + + weee_tax.state + + + sendfriend_log.ip + + + rating_option_vote.remote_ip_long + + + oauth_consumer.callback_url + + + oauth_consumer.rejected_callback_url + + + oauth_token.callback_url + + + + diff --git a/etc/ee-to-ee/1.14.3.3/config.xml.dist b/etc/ee-to-ee/1.14.3.3/config.xml.dist new file mode 100644 index 000000000..87eac3264 --- /dev/null +++ b/etc/ee-to-ee/1.14.3.3/config.xml.dist @@ -0,0 +1,172 @@ + + + + + + Migration\Step\Settings\Integrity + Migration\Step\Settings\Data + + + Migration\Step\Stores\Integrity + Migration\Step\Stores\Data + Migration\Step\Stores\Volume + + + + + Migration\Step\DataIntegrity\Integrity + + + Migration\Step\Eav\Integrity + Migration\Step\Eav\Data + Migration\Step\Eav\Volume + + + Migration\Step\CustomCustomerAttributes\Integrity + Migration\Step\CustomCustomerAttributes\Data + Migration\Step\CustomCustomerAttributes\Volume + + + Migration\Step\Customer\Integrity + Migration\Step\Customer\Data + Migration\Step\Customer\Volume + + + Migration\Step\Map\Integrity + Migration\Step\Map\Data + Migration\Step\Map\Volume + + + Migration\Step\UrlRewrite\Version11410to2000 + Migration\Step\UrlRewrite\Version11410to2000 + Migration\Step\UrlRewrite\Version11410to2000 + + + Migration\Step\Log\Integrity + Migration\Step\Log\Data + Migration\Step\Log\Volume + + + Migration\Step\Ratings\Integrity + Migration\Step\Ratings\Data + Migration\Step\Ratings\Volume + + + Migration\Step\SalesOrder\Integrity + Migration\Step\SalesOrder\Data + Migration\Step\SalesOrder\Volume + + + Migration\Step\ConfigurablePrices\Integrity + Migration\Step\ConfigurablePrices\Data + Migration\Step\ConfigurablePrices\Volume + + + Migration\Step\OrderGridsEE\Integrity + Migration\Step\OrderGridsEE\Data + Migration\Step\OrderGridsEE\Volume + + + Migration\Step\TierPrice\Integrity + Migration\Step\TierPrice\Data + Migration\Step\TierPrice\Volume + + + Migration\Step\SalesIncrement\Integrity + Migration\Step\SalesIncrement\Data + Migration\Step\SalesIncrement\Volume + + + Migration\Step\VisualMerchandiser\Integrity + Migration\Step\VisualMerchandiser\Data + Migration\Step\VisualMerchandiser\Volume + + + Migration\Step\PostProcessing\Data + + + + + Migration\Step\CustomCustomerAttributes\Delta + Migration\Step\CustomCustomerAttributes\Volume + + + Migration\Step\Customer\Delta + Migration\Step\Customer\Volume + + + Migration\Step\Map\Delta + + + Migration\Step\Log\Delta + Migration\Step\Log\Volume + + + Migration\Step\SalesOrder\Delta + Migration\Step\SalesOrder\Volume + + + Migration\Step\OrderGridsEE\Delta + Migration\Step\OrderGridsEE\Volume + + + Migration\Step\SalesIncrement\Delta + Migration\Step\SalesIncrement\Volume + + + + + + + + + + etc/ee-to-ee/1.14.3.3/map.xml.dist + etc/ee-to-ee/map-eav.xml.dist + etc/ee-to-ee/eav-document-groups.xml.dist + etc/ee-to-ee/eav-attribute-groups.xml.dist + etc/ee-to-ee/map-log.xml.dist + etc/ee-to-ee/log-document-groups.xml.dist + etc/ee-to-ee/settings.xml.dist + etc/ee-to-ee/map-customer.xml.dist + etc/ee-to-ee/customer-document-groups.xml.dist + etc/ee-to-ee/customer-attribute-groups.xml.dist + etc/ee-to-ee/map-sales.xml.dist + etc/ee-to-ee/deltalog.xml.dist + etc/ee-to-ee/customer-attr-map.xml.dist + etc/ee-to-ee/customer-attr-document-groups.xml.dist + etc/ee-to-ee/order-grids-document-groups.xml.dist + etc/ee-to-ee/class-map.xml.dist + etc/ee-to-ee/visual_merchandiser_map.xml.dist + etc/ee-to-ee/visual_merchandiser_document_groups.xml.dist + etc/ee-to-ee/visual_merchandiser_attribute_groups.xml.dist + etc/ee-to-ee/map-document-groups.xml.dist + etc/ee-to-ee/1.14.3.3/map-tier-price.xml.dist + + 0 + + 0 + + + 0 + migration.log + %percent%% [%bar%] Remaining Time: %remaining% + 1 + ee-to-ee + 1.14.3.3 + SET NAMES utf8; + SET NAMES utf8; + + + diff --git a/etc/ee-to-ee/1.14.3.3/map-tier-price.xml.dist b/etc/ee-to-ee/1.14.3.3/map-tier-price.xml.dist new file mode 100644 index 000000000..db03f1ff0 --- /dev/null +++ b/etc/ee-to-ee/1.14.3.3/map-tier-price.xml.dist @@ -0,0 +1,25 @@ + + + + + + + catalog_product_entity_group_price.is_percent + + + catalog_product_entity_tier_price.entity_id + catalog_product_entity_tier_price.row_id + + + catalog_product_entity_group_price.entity_id + catalog_product_entity_group_price.row_id + + + + + diff --git a/etc/ee-to-ee/1.14.3.3/map.xml.dist b/etc/ee-to-ee/1.14.3.3/map.xml.dist new file mode 100644 index 000000000..0f0f0768c --- /dev/null +++ b/etc/ee-to-ee/1.14.3.3/map.xml.dist @@ -0,0 +1,2566 @@ + + + + + + + googleshopping_attributes + + + googleshopping_items + + + googleshopping_types + + + enterprise_sales_creditmemo_grid_archive + + + enterprise_sales_invoice_grid_archive + + + enterprise_sales_order_grid_archive + + + enterprise_sales_shipment_grid_archive + + + sales_flat_creditmemo_grid + + + sales_flat_invoice_grid + + + sales_flat_order_grid + + + sales_flat_shipment_grid + + + customer_entity + + + customer_entity_datetime + + + customer_entity_decimal + + + customer_entity_int + + + customer_entity_text + + + customer_entity_varchar + + + customer_address_entity + + + customer_address_entity_datetime + + + customer_address_entity_decimal + + + customer_address_entity_int + + + customer_address_entity_text + + + customer_address_entity_varchar + + + m2_cl_* + + + url_rewrite_m2* + + + admin_assert + + + api2_acl_attribute + + + api2_acl_role + + + api2_acl_rule + + + api2_acl_user + + + api_assert + + + api_role + + + api_rule + + + api_session + + + api_user + + + log_customer + + + log_quote + + + log_summary_type + + + log_summary + + + log_url + + + log_url_info + + + catalog_category_anc_categs_index_idx + + + catalog_category_anc_categs_index_tmp + + + catalog_category_anc_products_index_idx + + + catalog_category_anc_products_index_tmp + + + catalog_category_flat_cl + + + catalog_category_product_index + + + catalog_category_product_index_cl + + + catalog_category_product_index_enbl_idx + + + catalog_category_product_index_enbl_tmp + + + catalog_category_product_index_idx + + + catalog_category_product_index_tmp + + + catalog_product_enabled_index + + + catalog_product_flat_cl + + + cataloginventory_stock_status + + + cataloginventory_stock_status_idx + + + cataloginventory_stock_status_tmp + + + catalog_category_product_cat_cl + + + catalog_product_bundle_price_index + + + catalog_product_bundle_stock_index + + + catalog_product_index_group_price + + + catalog_product_index_price + + + catalog_product_index_price* + + + catalog_product_index_tier_price + + + catalog_product_index_website + + + catalogindex_aggregation + + + catalogindex_aggregation_tag + + + catalogindex_aggregation_to_tag + + + catalogindex_minimal_price + + + catalogindex_price + + + core_layout_update + + + core_layout_link + + + widget_instance_page_layout + + + enterprise_queue_queue + + + enterprise_queue_task + + + find_feed_import_codes + + + googlebase_attributes + + + googlebase_items + + + googlebase_types + + + googlecheckout_api_debug + + + ogone_api_debug + + + oscommerce_import + + + oscommerce_import_type + + + oscommerce_orders + + + oscommerce_orders_products + + + oscommerce_orders_status_history + + + oscommerce_orders_total + + + oscommerce_ref + + + paygate_authorizenet_debug + + + paypal_api_debug + + + paypaluk_api_debug + + + amazonpayments_api_debug + + + chronopay_api_debug + + + cybermut_api_debug + + + cybersource_api_debug + + + eway_api_debug + + + flo2cash_api_debug + + + ideal_api_debug + + + paybox_api_debug + + + paybox_question_number + + + protx_api_debug + + + social_facebook_actions + + + strikeiron_tax_rate + + + xmlconnect_application + + + xmlconnect_config_data + + + xmlconnect_history + + + xmlconnect_images + + + xmlconnect_notification_template + + + xmlconnect_queue + + + googlecheckout_notification + + + index_event + + + index_process + + + index_process_event + + + cataloginventory_stock_status_cl + + + catalogsearch_fulltext + + + catalogsearch_fulltext_cl + + + core_cache_tag + + + core_cache_option + + + core_cache + + + core_flag + + + core_email_queue + + + core_email_queue_recipients + + + merchandiser_category_values + + + merchandiser_vmbuild + + + dataflow_batch + + + dataflow_batch_export + + + dataflow_batch_import + + + dataflow_import_data + + + dataflow_profile + + + dataflow_profile_history + + + dataflow_session + + + core_url_rewrite + + + catalog_product_entity_url_key + + + catalogindex_eav + + + catalog_eav_attribute + + + customer_eav_attribute + + + catalog_product_index_eav + + + catalog_product_index_eav_decimal + + + catalog_product_index_eav_decimal_idx + + + catalog_product_index_eav_decimal_tmp + + + catalog_product_index_eav_idx + + + catalog_product_index_eav_tmp + + + eav_attribute + + + eav_attribute_group + + + eav_attribute_set + + + eav_entity_attribute + + + eav_entity_type + + + catalog_category_entity_url_key + + + poll + + + poll_answer + + + poll_store + + + poll_vote + + + sales_recurring_profile + + + sales_recurring_profile_order + + + tag + + + tag_properties + + + tag_relation + + + tag_summary + + + weee_discount + + + catalogsearch_result + + + log_visitor + + + log_visitor_info + + + log_visitor_online + + + core_config_data + + + s_*b_*_* + + + catalog_product_flat_* + + + catalog_category_flat_* + + + catalog_category_flat_store_* + + + googleoptimizer_code + + + core_resource + + + cron_schedule + + + admin_user + + + enterprise_admin_passwords + + + admin_role + + + admin_rule + + + sales_flat_order + + + admin_role + + + admin_rule + + + enterprise_url_rewrite + + + enterprise_url_rewrite_category_cl + + + enterprise_url_rewrite_product_cl + + + enterprise_url_rewrite_redirect + + + enterprise_url_rewrite_redirect_cl + + + enterprise_url_rewrite_redirect_rewrite + + + enterprise_catalog_category_rewrite + + + enterprise_catalog_product_rewrite + + + enterprise_catalogpermissions_index + + + enterprise_catalogpermissions_index_product + + + enterprise_rma_item_eav_attribute + + + enterprise_rma_item_eav_attribute_website + + + enterprise_customer_sales_flat_order + + + enterprise_customer_sales_flat_order_address + + + enterprise_customer_sales_flat_quote + + + enterprise_customer_sales_flat_quote_address + + + enterprise_targetrule_index + + + enterprise_targetrule_index_crosssell + + + enterprise_targetrule_index_crosssell_product + + + enterprise_targetrule_index_related + + + enterprise_targetrule_index_related_product + + + enterprise_targetrule_index_upsell + + + enterprise_targetrule_index_upsell_product + + + enterprise_staging + + + enterprise_staging_action + + + enterprise_staging_item + + + enterprise_staging_log + + + core_session + + + enterprise_staging_product_unlinked + + + enterprise_support_backup + + + enterprise_support_backup_item + + + enterprise_support_sysreport + + + enterprise_mview_event + + + enterprise_mview_metadata + + + enterprise_mview_metadata_event + + + enterprise_mview_metadata_group + + + enterprise_mview_subscriber + + + enterprise_index_multiplier + + + catalogrule_affected_product + + + catalog_product_super_attribute_pricing + + + core_website + + + catalog_product_entity_group_price + + + catalog_product_entity_tier_price + + + permission_block + + + permission_variable + + + enterprise_cms_page_revision + + + enterprise_cms_page_version + + + customer_flowpassword + + + catalogsearch_query + search_query + + + core_variable + variable + + + core_variable_value + variable_value + + + core_email_template + email_template + + + core_store + store + + + core_store_group + store_group + + + core_translate + translation + + + core_session + session + + + coupon_aggregated + salesrule_coupon_aggregated + + + coupon_aggregated_order + salesrule_coupon_aggregated_order + + + coupon_aggregated_updated + salesrule_coupon_aggregated_updated + + + sales_flat_creditmemo + sales_creditmemo + + + sales_flat_creditmemo_comment + sales_creditmemo_comment + + + sales_flat_creditmemo_item + sales_creditmemo_item + + + sales_flat_invoice + sales_invoice + + + sales_flat_invoice_comment + sales_invoice_comment + + + sales_flat_invoice_item + sales_invoice_item + + + sales_flat_order_address + sales_order_address + + + sales_flat_order_item + sales_order_item + + + sales_flat_order_payment + sales_order_payment + + + sales_flat_order_status_history + sales_order_status_history + + + sales_flat_quote + quote + + + sales_flat_quote_address + quote_address + + + sales_flat_quote_address_item + quote_address_item + + + sales_flat_quote_item + quote_item + + + sales_flat_quote_item_option + quote_item_option + + + sales_flat_quote_payment + quote_payment + + + sales_flat_quote_shipping_rate + quote_shipping_rate + + + sales_flat_shipment + sales_shipment + + + sales_flat_shipment_comment + sales_shipment_comment + + + sales_flat_shipment_item + sales_shipment_item + + + sales_flat_shipment_track + sales_shipment_track + + + sales_billing_agreement + paypal_billing_agreement + + + sales_billing_agreement_order + paypal_billing_agreement_order + + + enterprise_rma + magento_rma + + + enterprise_rma_item_entity + magento_rma_item_entity + + + enterprise_rma_item_entity_datetime + magento_rma_item_entity_datetime + + + enterprise_rma_item_entity_decimal + magento_rma_item_entity_decimal + + + enterprise_rma_item_entity_int + magento_rma_item_entity_int + + + enterprise_rma_item_entity_text + magento_rma_item_entity_text + + + enterprise_rma_item_entity_varchar + magento_rma_item_entity_varchar + + + enterprise_rma_item_form_attribute + magento_rma_item_form_attribute + + + enterprise_rma_shipping_label + magento_rma_shipping_label + + + enterprise_rma_status_history + magento_rma_status_history + + + enterprise_banner + magento_banner + + + enterprise_banner_catalogrule + magento_banner_catalogrule + + + enterprise_banner_content + magento_banner_content + + + enterprise_banner_customersegment + magento_banner_customersegment + + + enterprise_banner_salesrule + magento_banner_salesrule + + + enterprise_catalogevent_event + magento_catalogevent_event + + + enterprise_catalogevent_event_image + magento_catalogevent_event_image + + + enterprise_catalogpermissions + magento_catalogpermissions + + + enterprise_cms_hierarchy_lock + magento_versionscms_hierarchy_lock + + + enterprise_cms_hierarchy_metadata + magento_versionscms_hierarchy_metadata + + + enterprise_cms_hierarchy_node + magento_versionscms_hierarchy_node + + + enterprise_cms_increment + magento_versionscms_increment + + + enterprise_customerbalance + magento_customerbalance + + + enterprise_customerbalance_history + magento_customerbalance_history + + + enterprise_customersegment_customer + magento_customersegment_customer + + + enterprise_customersegment_event + magento_customersegment_event + + + enterprise_customersegment_segment + magento_customersegment_segment + + + enterprise_customersegment_website + magento_customersegment_website + + + enterprise_giftcard_amount + magento_giftcard_amount + + + enterprise_giftcardaccount + magento_giftcardaccount + + + enterprise_giftcardaccount_history + magento_giftcardaccount_history + + + enterprise_giftcardaccount_pool + magento_giftcardaccount_pool + + + enterprise_giftregistry_data + magento_giftregistry_data + + + enterprise_giftregistry_entity + magento_giftregistry_entity + + + enterprise_giftregistry_item + magento_giftregistry_item + + + enterprise_giftregistry_item_option + magento_giftregistry_item_option + + + enterprise_giftregistry_label + magento_giftregistry_label + + + enterprise_giftregistry_person + magento_giftregistry_person + + + enterprise_giftregistry_type + magento_giftregistry_type + + + enterprise_giftregistry_type_info + magento_giftregistry_type_info + + + enterprise_giftwrapping + magento_giftwrapping + + + enterprise_giftwrapping_store_attributes + magento_giftwrapping_store_attributes + + + enterprise_giftwrapping_website + magento_giftwrapping_website + + + enterprise_invitation + magento_invitation + + + enterprise_invitation_status_history + magento_invitation_status_history + + + enterprise_invitation_track + magento_invitation_track + + + enterprise_logging_event + magento_logging_event + + + enterprise_logging_event_changes + magento_logging_event_changes + + + enterprise_reminder_rule + magento_reminder_rule + + + enterprise_reminder_rule_coupon + magento_reminder_rule_coupon + + + enterprise_reminder_rule_log + magento_reminder_rule_log + + + enterprise_reminder_rule_website + magento_reminder_rule_website + + + enterprise_reminder_template + magento_reminder_template + + + enterprise_reward + magento_reward + + + enterprise_reward_history + magento_reward_history + + + enterprise_reward_rate + magento_reward_rate + + + enterprise_reward_salesrule + magento_reward_salesrule + + + enterprise_scheduled_operations + magento_scheduled_operations + + + enterprise_targetrule + magento_targetrule + + + enterprise_targetrule_customersegment + magento_targetrule_customersegment + + + enterprise_targetrule_product + magento_targetrule_product + + + core_directory_storage + media_storage_directory_storage + + + core_file_storage + media_storage_file_storage + + + enterprise_rma_grid + magento_rma_grid + + + enterprise_support_backup + support_backup + + + enterprise_support_backup_item + support_backup_item + + + + + cms_page.root_template + cms_page.page_layout + + + sales_flat_creditmemo.hidden_tax_amount + sales_creditmemo.discount_tax_compensation_amount + + + sales_flat_creditmemo.base_hidden_tax_amount + sales_creditmemo.base_discount_tax_compensation_amount + + + sales_flat_creditmemo.shipping_hidden_tax_amount + sales_creditmemo.shipping_discount_tax_compensation_amount + + + sales_flat_creditmemo.base_shipping_hidden_tax_amnt + sales_creditmemo.base_shipping_discount_tax_compensation_amnt + + + sales_flat_creditmemo_item.hidden_tax_amount + sales_creditmemo_item.discount_tax_compensation_amount + + + sales_flat_creditmemo_item.base_hidden_tax_amount + sales_creditmemo_item.base_discount_tax_compensation_amount + + + sales_flat_invoice.hidden_tax_amount + sales_invoice.discount_tax_compensation_amount + + + sales_flat_invoice.base_hidden_tax_amount + sales_invoice.base_discount_tax_compensation_amount + + + sales_flat_invoice.shipping_hidden_tax_amount + sales_invoice.shipping_discount_tax_compensation_amount + + + sales_flat_invoice.base_shipping_hidden_tax_amnt + sales_invoice.base_shipping_discount_tax_compensation_amnt + + + sales_flat_invoice_item.hidden_tax_amount + sales_invoice_item.discount_tax_compensation_amount + + + sales_flat_invoice_item.base_hidden_tax_amount + sales_invoice_item.base_discount_tax_compensation_amount + + + sales_flat_order_item.hidden_tax_amount + sales_order_item.discount_tax_compensation_amount + + + sales_flat_order_item.base_hidden_tax_amount + sales_order_item.base_discount_tax_compensation_amount + + + sales_flat_order_item.hidden_tax_invoiced + sales_order_item.discount_tax_compensation_invoiced + + + sales_flat_order_item.base_hidden_tax_invoiced + sales_order_item.base_discount_tax_compensation_invoiced + + + sales_flat_order_item.hidden_tax_refunded + sales_order_item.discount_tax_compensation_refunded + + + sales_flat_order_item.base_hidden_tax_refunded + sales_order_item.base_discount_tax_compensation_refunded + + + sales_flat_order_item.hidden_tax_canceled + sales_order_item.discount_tax_compensation_canceled + + + sales_flat_order_payment.cc_last4 + sales_order_payment.cc_last_4 + + + sales_flat_quote_payment.cc_last4 + quote_payment.cc_last_4 + + + sales_flat_quote_address.hidden_tax_amount + quote_address.discount_tax_compensation_amount + + + sales_flat_quote_address.base_hidden_tax_amount + quote_address.base_discount_tax_compensation_amount + + + sales_flat_quote_address.shipping_hidden_tax_amount + quote_address.shipping_discount_tax_compensation_amount + + + sales_flat_quote_address.base_shipping_hidden_tax_amnt + quote_address.base_shipping_discount_tax_compensation_amnt + + + sales_flat_quote_address_item.hidden_tax_amount + quote_address_item.discount_tax_compensation_amount + + + sales_flat_quote_address_item.base_hidden_tax_amount + quote_address_item.base_discount_tax_compensation_amount + + + sales_flat_quote_item.hidden_tax_amount + quote_item.discount_tax_compensation_amount + + + sales_flat_quote_item.base_hidden_tax_amount + quote_item.base_discount_tax_compensation_amount + + + catalog_category_entity_datetime.entity_id + catalog_category_entity_datetime.row_id + + + catalog_category_entity_decimal.entity_id + catalog_category_entity_decimal.row_id + + + catalog_category_entity_int.entity_id + catalog_category_entity_int.row_id + + + catalog_category_entity_text.entity_id + catalog_category_entity_text.row_id + + + catalog_category_entity_varchar.entity_id + catalog_category_entity_varchar.row_id + + + catalog_product_entity_datetime.entity_id + catalog_product_entity_datetime.row_id + + + catalog_product_entity_decimal.entity_id + catalog_product_entity_decimal.row_id + + + catalog_product_entity_gallery.entity_id + catalog_product_entity_gallery.row_id + + + catalog_product_entity_int.entity_id + catalog_product_entity_int.row_id + + + catalog_product_entity_text.entity_id + catalog_product_entity_text.row_id + + + catalog_product_entity_varchar.entity_id + catalog_product_entity_varchar.row_id + + + catalogrule_customer_group.rule_id + catalogrule_customer_group.row_id + + + catalogrule_website.rule_id + catalogrule_website.row_id + + + salesrule_customer_group.rule_id + salesrule_customer_group.row_id + + + salesrule_product_attribute.rule_id + salesrule_product_attribute.row_id + + + salesrule_website.rule_id + salesrule_website.row_id + + + cms_block_store.block_id + cms_block_store.row_id + + + cms_page_store.page_id + cms_page_store.row_id + + + catalog_product_entity_tier_price.entity_id + catalog_product_entity_tier_price.row_id + + + enterprise_giftcard_amount.entity_id + magento_giftcard_amount.row_id + + + catalog_category_entity_varchar.value + + + + + + + catalog_category_entity_varchar.value + + + + + + + catalog_category_entity_text.value + + + + + + + catalog_product_entity_varchar.value + + + + + + + cms_page.root_template + + + + + + + cms_block.content + + + + cms_page.content + + + + newsletter_template.template_text + + + + core_email_template.template_text + + + + widget_instance.instance_type + + + + catalogrule.conditions_serialized + + + + catalogrule.actions_serialized + + + + salesrule.conditions_serialized + + + + salesrule.actions_serialized + + + + enterprise_targetrule.conditions_serialized + + + + enterprise_targetrule.actions_serialized + + + + enterprise_reminder_rule.conditions_serialized + + + + enterprise_reminder_rule.condition_sql + + + + enterprise_customersegment_segment.conditions_serialized + + + + enterprise_customersegment_segment.condition_sql + + + + + + sales_flat_order_item.weee_tax_applied + + + + sales_flat_quote_item.weee_tax_applied + + + + sales_flat_creditmemo_item.weee_tax_applied + + + + sales_flat_invoice_item.weee_tax_applied + + + + enterprise_logging_event.ip + + + + enterprise_logging_event.x_forwarded_ip + + + + rating_option_vote.remote_ip_long + + + + sendfriend_log.ip + + + + catalog_product_entity_media_gallery.value_id + + + + enterprise_giftregistry_type.meta_xml + + + + catalogrule.rule_id + + + + + + salesrule.rule_id + + + + + + catalog_category_entity.entity_id + + + + + + catalog_product_entity.entity_id + + + + + + cms_block.block_id + + + + + + cms_page.page_id + + + + + + catalogsearch_query.synonym_for + + + + admin_rule.role_type + + + admin_rule.assert_id + + + core_website.is_staging + + + core_website.master_login + + + core_website.master_password + + + core_website.visibility + + + sales_order_tax.hidden + + + sales_flat_order.reward_points_balance_refunded + + + sales_flat_order.reward_salesrule_points + + + sales_flat_order_item.is_nominal + + + sales_flat_order_payment.paybox_request_number + + + weee_tax.entity_type_id + + + catalog_category_entity.entity_type_id + + + catalog_category_entity_datetime.entity_type_id + + + catalog_category_entity_decimal.entity_type_id + + + catalog_category_entity_int.entity_type_id + + + catalog_category_entity_text.entity_type_id + + + catalog_category_entity_varchar.entity_type_id + + + catalog_product_entity.entity_type_id + + + catalog_product_entity_datetime.entity_type_id + + + catalog_product_entity_decimal.entity_type_id + + + catalog_product_entity_gallery.entity_type_id + + + catalog_product_entity_media_gallery.entity_id + + + catalog_product_entity_int.entity_type_id + + + catalog_product_entity_text.entity_type_id + + + catalog_product_entity_varchar.entity_type_id + + + sales_flat_creditmemo.cybersource_token + + + sales_flat_invoice.cybersource_token + + + sales_flat_order_payment.ideal_transaction_checked + + + sales_flat_order_payment.cybersource_token + + + sales_flat_order_payment.ideal_issuer_title + + + sales_flat_order_payment.paybox_question_number + + + sales_flat_order_payment.ideal_issuer_id + + + sales_flat_order_payment.flo2cash_account_id + + + sales_flat_quote_payment.cybersource_token + + + sales_flat_quote_payment.ideal_issuer_id + + + sales_flat_quote_payment.ideal_issuer_list + + + sales_flat_quote_payment.paypal_payer_id + + + sales_flat_quote_payment.paypal_payer_status + + + sales_flat_quote_payment.paypal_correlation_id + + + cms_page.layout_update_xml + + + cms_page.custom_layout_update_xml + + + widget_instance.package_theme + + + enterprise_rma_item_entity.entity_type_id + + + enterprise_rma_item_entity.attribute_set_id + + + enterprise_rma_item_entity_datetime.entity_type_id + + + enterprise_rma_item_entity_decimal.entity_type_id + + + enterprise_rma_item_entity_int.entity_type_id + + + enterprise_rma_item_entity_text.entity_type_id + + + enterprise_rma_item_entity_varchar.entity_type_id + + + enterprise_giftcard_amount.entity_type_id + + + enterprise_targetrule.use_customer_segment + + + enterprise_targetrule_product.store_id + + + newsletter_template.template_text_preprocessed + + + enterprise_giftregistry_person.middlename + + + sales_flat_quote.base_customer_balance_virtual_amount + + + catalogsearch_query.synonym_for + + + catalogrule.sub_is_enable + + + catalogrule.sub_simple_action + + + catalogrule.sub_discount_amount + + + catalogrule_product.sub_simple_action + + + catalogrule_product.sub_discount_amount + + + cms_page.published_revision_id + + + cms_page.under_version_control + + + sales_flat_invoice.customer_id + + + sales_flat_invoice.invoice_status_id + + + sales_flat_invoice.invoice_type + + + sales_flat_invoice.is_virtual + + + sales_flat_invoice.real_order_id + + + sales_flat_invoice.total_due + + + sales_flat_invoice.total_paid + + + sales_flat_invoice_item.shipment_id + + + sales_flat_order.base_custbalance_amount + + + sales_flat_order.currency_base_id + + + sales_flat_order.currency_code + + + sales_flat_order.currency_rate + + + sales_flat_order.custbalance_amount + + + sales_flat_order.is_hold + + + sales_flat_order.is_multi_payment + + + sales_flat_order.real_order_id + + + sales_flat_order.tax_percent + + + sales_flat_order.tracking_numbers + + + sales_flat_order_address.address_id + + + sales_flat_order_address.gift_message_id + + + sales_flat_order_address.tax_id + + + sales_flat_order_payment.amount + + + sales_flat_order_payment.cc_raw_request + + + sales_flat_order_payment.cc_raw_response + + + sales_flat_order_payment.customer_payment_id + + + sales_bestsellers_aggregated_daily.product_type_id + + + sales_bestsellers_aggregated_monthly.product_type_id + + + sales_bestsellers_aggregated_yearly.product_type_id + + + sales_flat_quote_payment.cc_exp_month + + + weee_tax.state + + + enterprise_banner.is_ga_enabled + + + enterprise_logging_event.ip + + + enterprise_logging_event.x_forwarded_ip + + + rating_option_vote.remote_ip_long + + + sendfriend_log.ip + + + enterprise_catalogevent_event.date_start + + + enterprise_catalogevent_event.date_end + + + oauth_token.callback_url + + + oauth_consumer.callback_url + + + oauth_consumer.rejected_callback_url + + + enterprise_reminder_rule.from_date + + + enterprise_reminder_rule.to_date + + + + + + + ui_bookmark + + + migration_backup_* + + + googleoptimizer_code + + + indexer_state + + + integration + + + mview_state + + + theme + + + theme_file + + + vde_theme_change + + + admin_system_messages + + + catalog_url_rewrite_product_category + + + customer_visitor + + + url_rewrite + + + layout_update + + + layout_link + + + catalog_product_flat_* + + + catalog_category_flat_* + + + catalogindex_eav + + + catalog_eav_attribute + + + catalogsearch_fulltext_index_default + + + customer_eav_attribute + + + customer_eav_attribute_website + + + catalog_product_index_eav + + + catalog_product_index_eav_decimal + + + catalog_product_index_eav_decimal_idx + + + catalog_product_index_eav_decimal_tmp + + + catalog_product_index_eav_idx + + + catalog_product_index_eav_tmp + + + catalog_category_product_index_tmp + + + eav_attribute + + + eav_attribute_group + + + eav_attribute_set + + + eav_entity_attribute + + + eav_entity_type + + + authorization_role + + + authorization_rule + + + setup_module + + + sales_order + + + cache + + + cache_tag + + + customer_log + + + flag + + + log_customer + + + log_quote + + + log_summary_type + + + log_summary + + + log_url + + + log_url_info + + + quote_id_mask + + + session + + + sales_sequence_profile + + + sales_sequence_meta + + + sequence_invoice_* + + + sequence_creditmemo_* + + + sequence_order_* + + + sequence_shipment* + + + sequence_rma_item_* + + + magento_rma_item_eav_attribute + + + magento_rma_item_eav_attribute_website + + + magento_catalogpermissions_index + + + magento_catalogpermissions_index_product + + + magento_catalogpermissions_index_product_tmp + + + magento_catalogpermissions_index_tmp + + + magento_customercustomattributes_sales_flat_order + + + magento_customercustomattributes_sales_flat_order_address + + + magento_customercustomattributes_sales_flat_quote + + + magento_customercustomattributes_sales_flat_quote_address + + + magento_targetrule_index + + + magento_targetrule_index_crosssell + + + magento_targetrule_index_crosssell_product + + + magento_targetrule_index_related + + + magento_targetrule_index_related_product + + + magento_targetrule_index_upsell + + + magento_targetrule_index_upsell_product + + + quote_id_mask + + + eav_attribute_option_swatch + + + import_history + + + magento_sales_creditmemo_grid_archive + + + magento_sales_invoice_grid_archive + + + magento_sales_order_grid_archive + + + magento_sales_shipment_grid_archive + + + sales_creditmemo_grid + + + sales_invoice_grid + + + sales_order_grid + + + sales_shipment_grid + + + catalogsearch_fulltext_scope* + + + customer_entity + + + customer_entity_datetime + + + customer_entity_decimal + + + customer_entity_int + + + customer_entity_text + + + customer_entity_varchar + + + customer_address_entity + + + customer_address_entity_datetime + + + customer_address_entity_decimal + + + customer_address_entity_int + + + customer_address_entity_text + + + customer_address_entity_varchar + + + store_website + + + support_report + + + log_visitor_info + + + log_visitor_online + + + reporting_module_status + + + reporting_orders + + + reporting_system_updates + + + reporting_users + + + reporting_counts + + + queue + + + queue_message + + + queue_message_status + + + catalog_product_entity_media_gallery_value_to_entity + + + catalog_product_entity_media_gallery_value_video + + + catalog_product_entity_tier_price + + + customer_grid_flat + + + visual_merchandiser_rule + + + admin_passwords + + + oauth_token_request_log + + + design_config_grid_flat + + + admin_user_session + + + magento_salesrule_filter + + + multiinventory_warehouse + + + password_reset_request_event + + + queue_lock + + + quote_preview + + + search_synonyms + + + sequence_catalog_category + + + sequence_catalogrule + + + sequence_cms_block + + + sequence_cms_page + + + sequence_product + + + sequence_salesrule + + + staging_update + + + vault_payment_token + + + vault_payment_token_order_payment_link + + + + + admin_user.interface_locale + + + + + + cataloginventory_stock.website_id + + + + + + cataloginventory_stock_item.website_id + + + + + + rating.is_active + + + + + + authorization_role.user_type + + + + + + sales_order_tax_item.amount + + + + + + sales_order_tax_item.base_amount + + + + + + sales_order_tax_item.real_amount + + + + + + sales_order_tax_item.real_base_amount + + + + + + sales_order_tax_item.taxable_item_type + + + + + + oauth_token.user_type + + + + + + widget_instance.theme_id + + + + + + sales_order_status_state.visible_on_front + + + + magento_banner_content.banner_content + + + + catalog_product_entity_media_gallery_value.entity_id + + + + catalog_category_entity.row_id + + + + + + catalog_product_entity.row_id + + + + + + catalogrule.row_id + + + + + + cms_block.row_id + + + + + + cms_page.row_id + + + + + + salesrule.row_id + + + + + + magento_catalogevent_event.status + + + + catalog_product_entity_media_gallery_value.entity_id + + + catalog_product_entity_media_gallery.media_type + + + catalog_product_entity_media_gallery.disabled + + + catalog_product_entity_media_gallery_value.record_id + + + admin_user.interface_locale + + + rating.is_active + + + sales_creditmemo.send_email + + + sales_creditmemo.customer_note + + + sales_creditmemo.customer_note_notify + + + sales_invoice.send_email + + + sales_invoice.customer_note + + + sales_invoice.customer_note_notify + + + sales_shipment.send_email + + + sales_shipment.customer_note + + + sales_shipment.customer_note_notify + + + sales_creditmemo_item.tax_ratio + + + sales_invoice_item.tax_ratio + + + authorization_role.user_type + + + cataloginventory_stock.website_id + + + cataloginventory_stock_item.website_id + + + oauth_nonce.consumer_id + + + oauth_token.user_type + + + sales_order_status_state.visible_on_front + + + widget_instance.theme_id + + + sales_order_tax_item.amount + + + sales_order_tax_item.base_amount + + + sales_order_tax_item.real_amount + + + sales_order_tax_item.real_base_amount + + + sales_order_tax_item.associated_item_id + + + sales_order_tax_item.taxable_item_type + + + magento_banner.is_ga_enabled + + + magento_banner.ga_creative + + + checkout_agreement.mode + + + cataloginventory_stock_item.deferred_stock_update + + + cataloginventory_stock_item.use_config_deferred_stock_update + + + quote.gw_base_price_incl_tax + + + quote.gw_price_incl_tax + + + quote.gw_items_base_price_incl_tax + + + quote.gw_items_price_incl_tax + + + quote.gw_card_base_price_incl_tax + + + quote.gw_card_price_incl_tax + + + quote_address.gw_base_price_incl_tax + + + quote_address.gw_price_incl_tax + + + quote_address.gw_items_base_price_incl_tax + + + quote_address.gw_items_price_incl_tax + + + quote_address.gw_card_base_price_incl_tax + + + quote_address.gw_card_price_incl_tax + + + catalog_category_entity.created_in + + + catalog_category_entity.updated_in + + + catalog_product_entity.created_in + + + catalog_product_entity.updated_in + + + catalogrule.created_in + + + catalogrule.updated_in + + + cms_block.created_in + + + cms_block.updated_in + + + cms_page.created_in + + + cms_page.updated_in + + + salesrule.created_in + + + salesrule.updated_in + + + catalog_category_entity.row_id + + + catalog_category_product.entity_id + + + catalog_product_entity.row_id + + + catalog_product_entity_media_gallery_value.row_id + + + catalogrule.row_id + + + cms_block.row_id + + + cms_page.row_id + + + salesrule.row_id + + + cms_page.meta_title + + + magento_catalogevent_event.status + + + quote_payment.cc_exp_month + + + weee_tax.state + + + magento_logging_event.ip + + + magento_logging_event.x_forwarded_ip + + + rating_option_vote.remote_ip_long + + + sendfriend_log.ip + + + magento_catalogevent_event.date_start + + + magento_catalogevent_event.date_end + + + oauth_consumer.callback_url + + + oauth_consumer.rejected_callback_url + + + oauth_token.callback_url + + + magento_reminder_rule.from_date + + + magento_reminder_rule.to_date + + + + diff --git a/src/Migration/Step/Eav/Data.php b/src/Migration/Step/Eav/Data.php index a083e2940..4667c8199 100644 --- a/src/Migration/Step/Eav/Data.php +++ b/src/Migration/Step/Eav/Data.php @@ -17,6 +17,7 @@ use Migration\ResourceModel\Document; use Migration\ResourceModel\RecordFactory; use Migration\ResourceModel\Source; +use Migration\Step\Eav\Model\IgnoredAttributes; /** * Class Data @@ -99,6 +100,11 @@ class Data implements StageInterface, RollbackInterface */ protected $initialData; + /** + * @var IgnoredAttributes + */ + protected $ignoredAttributes; + /** * @var ProgressBar\LogLevelProcessor */ @@ -147,6 +153,7 @@ class Data implements StageInterface, RollbackInterface * @param Helper $helper * @param RecordFactory $factory * @param InitialData $initialData + * @param IgnoredAttributes $ignoredAttributes * @param ProgressBar\LogLevelProcessor $progress */ public function __construct( @@ -157,6 +164,7 @@ public function __construct( Helper $helper, RecordFactory $factory, InitialData $initialData, + IgnoredAttributes $ignoredAttributes, ProgressBar\LogLevelProcessor $progress ) { $this->source = $source; @@ -166,6 +174,7 @@ public function __construct( $this->helper = $helper; $this->factory = $factory; $this->initialData = $initialData; + $this->ignoredAttributes = $ignoredAttributes; $this->progress = $progress; } @@ -176,7 +185,6 @@ public function __construct( public function perform() { $this->progress->start($this->getIterationsCount()); - $this->initialData->init(); $this->migrateEntityTypes(); $this->migrateAttributeSetsAndGroups(); $this->changeOldAttributeSetIdsInEntityTypes(['customer', 'customer_address']); @@ -408,7 +416,7 @@ protected function migrateAttributes() $this->map->getDocumentMap($sourceDocName, MapInterface::TYPE_SOURCE) ); $this->destination->backupDocument($destinationDocument->getName()); - $sourceRecords = $this->helper->clearIgnoredAttributes($this->initialData->getAttributes('source')); + $sourceRecords = $this->ignoredAttributes->clearIgnoredAttributes($this->initialData->getAttributes('source')); $destinationRecords = $this->initialData->getAttributes('dest'); $recordsToSave = $destinationDocument->getRecords(); @@ -777,7 +785,9 @@ protected function migrateAttributesExtended() $this->destination->backupDocument($destinationDocument->getName()); $destinationRecords = $this->helper->getDestinationRecords($documentName, [$mappingField]); $recordsToSave = $destinationDocument->getRecords(); - foreach ($this->helper->getSourceRecords($documentName) as $recordData) { + $sourceRecords = $this->ignoredAttributes + ->clearIgnoredAttributes($this->helper->getSourceRecords($documentName)); + foreach ($sourceRecords as $recordData) { /** @var Record $sourceRecord */ $sourceRecord = $this->factory->create(['document' => $sourceDocument, 'data' => $recordData]); /** @var Record $destinationRecord */ diff --git a/src/Migration/Step/Eav/InitialData.php b/src/Migration/Step/Eav/InitialData.php index 2678d97df..a57c08867 100644 --- a/src/Migration/Step/Eav/InitialData.php +++ b/src/Migration/Step/Eav/InitialData.php @@ -68,15 +68,6 @@ public function __construct(MapFactory $mapFactory, Source $source, Destination $this->source = $source; $this->destination = $destination; $this->helper = $helper; - } - - /** - * Load EAV data before migration - * - * @return void - */ - public function init() - { $this->initAttributeSets(); $this->initAttributeGroups(); $this->initAttributes(); diff --git a/src/Migration/Step/Eav/Integrity/AttributeFrontendInput.php b/src/Migration/Step/Eav/Integrity/AttributeFrontendInput.php index e6d18cd40..c8a41525c 100644 --- a/src/Migration/Step/Eav/Integrity/AttributeFrontendInput.php +++ b/src/Migration/Step/Eav/Integrity/AttributeFrontendInput.php @@ -6,7 +6,7 @@ namespace Migration\Step\Eav\Integrity; use Migration\Step\Eav\Helper; -use Migration\Reader\MapInterface; +use Migration\Step\Eav\Model\IgnoredAttributes; /** * Class AttributeFrontendInput @@ -28,12 +28,19 @@ class AttributeFrontendInput */ private $attributeFieldName = 'frontend_input'; + /** + * @var IgnoredAttributes + */ + private $ignoredAttributes; + /** * @param Helper $helper + * @param IgnoredAttributes $ignoredAttributes */ - public function __construct(Helper $helper) + public function __construct(Helper $helper, IgnoredAttributes $ignoredAttributes) { $this->helper = $helper; + $this->ignoredAttributes = $ignoredAttributes; } /** @@ -44,7 +51,7 @@ public function __construct(Helper $helper) public function checkAttributeFrontendInput() { $sourceAttributes = $this->helper->getSourceRecords($this->attributeDocument); - $sourceAttributes = $this->helper->clearIgnoredAttributes($sourceAttributes); + $sourceAttributes = $this->ignoredAttributes->clearIgnoredAttributes($sourceAttributes); $emptyAttributes = $this->getFrontendInputEmptyAttributes($sourceAttributes); $incompatibleData = []; diff --git a/src/Migration/Step/Eav/Model/IgnoredAttributes.php b/src/Migration/Step/Eav/Model/IgnoredAttributes.php new file mode 100644 index 000000000..8c435fde4 --- /dev/null +++ b/src/Migration/Step/Eav/Model/IgnoredAttributes.php @@ -0,0 +1,65 @@ +helper = $helper; + $this->initialData = $initialData; + } + + /** + * Remove ignored attributes from source records + * + * @param array $sourceRecords + * @return array + */ + public function clearIgnoredAttributes($sourceRecords) + { + $attributesIgnoreIds = []; + $initialAttributes = $this->initialData->getAttributes('source'); + $ignoredAttributes = $this->helper->getAttributesGroupCodes('ignore'); + foreach ($ignoredAttributes as $attributeCode => $entityTypeIds) { + foreach ($initialAttributes as $attribute) { + if ($attribute['attribute_code'] == $attributeCode + && in_array($attribute['entity_type_id'], $entityTypeIds) + ) { + $attributesIgnoreIds[] = $attribute['attribute_id']; + } + } + } + foreach ($sourceRecords as $attrNum => $sourceAttribute) { + if (in_array($sourceAttribute['attribute_id'], $attributesIgnoreIds)) { + unset($sourceRecords[$attrNum]); + } + } + return $sourceRecords; + } +} diff --git a/src/Migration/Step/Eav/Volume.php b/src/Migration/Step/Eav/Volume.php index d0fbb66ba..2b3211983 100644 --- a/src/Migration/Step/Eav/Volume.php +++ b/src/Migration/Step/Eav/Volume.php @@ -10,6 +10,7 @@ use Migration\App\ProgressBar; use Migration\Reader\GroupsFactory; use Migration\ResourceModel\Destination; +use Migration\Step\Eav\Model\IgnoredAttributes; /** * Class Volume @@ -46,6 +47,11 @@ class Volume extends AbstractVolume */ protected $tableKeys; + /** + * @var IgnoredAttributes + */ + protected $ignoredAttributes; + /** * Eav Attributes that can be validated * @var array @@ -74,6 +80,7 @@ class Volume extends AbstractVolume /** * @param Helper $helper * @param InitialData $initialData + * @param IgnoredAttributes $ignoredAttributes * @param Logger $logger * @param ProgressBar\LogLevelProcessor $progress * @param GroupsFactory $groupsFactory @@ -82,12 +89,14 @@ class Volume extends AbstractVolume public function __construct( Helper $helper, InitialData $initialData, + IgnoredAttributes $ignoredAttributes, Logger $logger, ProgressBar\LogLevelProcessor $progress, GroupsFactory $groupsFactory, Destination $destination ) { $this->initialData = $initialData; + $this->ignoredAttributes = $ignoredAttributes; $this->helper = $helper; $this->progress = $progress; $this->groups = $groupsFactory->create('eav_document_groups_file'); @@ -178,7 +187,8 @@ protected function validateCustomConditions(array $attribute, array $conditions) */ protected function checkAttributesMismatch($attribute) { - $sourceAttributes = $this->helper->clearIgnoredAttributes($this->initialData->getAttributes('source')); + $sourceAttributes = $this->ignoredAttributes + ->clearIgnoredAttributes($this->initialData->getAttributes('source')); if (isset($sourceAttributes[$attribute['attribute_id']]) && ($sourceAttributes[$attribute['attribute_id']]['attribute_code'] != $attribute['attribute_code']) diff --git a/tests/integration/testsuite/Migration/Step/EAV/VolumeTest.php b/tests/integration/testsuite/Migration/Step/EAV/VolumeTest.php index 1612fb2f8..823124bac 100644 --- a/tests/integration/testsuite/Migration/Step/EAV/VolumeTest.php +++ b/tests/integration/testsuite/Migration/Step/EAV/VolumeTest.php @@ -29,6 +29,7 @@ public function setUp() $objectManager = \Migration\TestFramework\Helper::getInstance()->getObjectManager(); $objectManager->get('\Migration\Config')->init(dirname(__DIR__) . '/../_files/config.xml'); $initialData = $objectManager->get('Migration\Step\Eav\InitialData'); + $ignoredAttributes = $objectManager->get('Migration\Step\Eav\Model\IgnoredAttributes'); $this->data = $objectManager->create( 'Migration\Step\Eav\Data', [ @@ -39,6 +40,7 @@ public function setUp() 'Migration\Step\Eav\Volume', [ 'initialData' => $initialData, + 'ignoredAttributes' => $ignoredAttributes ] ); } diff --git a/tests/unit/testsuite/Migration/Step/Eav/InitialDataTest.php b/tests/unit/testsuite/Migration/Step/Eav/InitialDataTest.php index a7f14b4f8..583a3c738 100644 --- a/tests/unit/testsuite/Migration/Step/Eav/InitialDataTest.php +++ b/tests/unit/testsuite/Migration/Step/Eav/InitialDataTest.php @@ -57,25 +57,8 @@ public function setUp() $this->helper = $this->getMockBuilder('\Migration\Step\Eav\Helper')->disableOriginalConstructor() ->setMethods(['getSourceRecords', 'getDestinationRecords']) ->getMock(); - $this->initialData = new InitialData($mapFactory, $this->source, $this->destination, $this->helper); - } - /** - * @covers \Migration\Step\Eav\InitialData::Init - * @covers \Migration\Step\Eav\InitialData::initAttributes - * @covers \Migration\Step\Eav\InitialData::initAttributeSets - * @covers \Migration\Step\Eav\InitialData::initAttributeGroups - * @covers \Migration\Step\Eav\InitialData::getAttributes - * @covers \Migration\Step\Eav\InitialData::getAttributeSets - * @covers \Migration\Step\Eav\InitialData::getAttributeGroups - * @return void - */ - public function testInit() - { - $dataAttributes = [ - 'source' => ['id_1' => 'value_1','id_2' => 'value_2'], - 'dest' => ['id_1' => 'value_1','id_2' => 'value_2'] - ]; + $dataAttributes = $this->getDataAttributes(); $eavEntityTypes = [ 'source' => [ ['entity_type_id' => '1', 'entity_type_code' => 'customer'], @@ -101,10 +84,6 @@ public function testInit() ['eav_attribute', ['attribute_id'], $dataAttributes['source']], ['eav_entity_type', [], $eavEntityTypes['source']] ]); - $this->helper->expects($this->any())->method('clearIgnored')->willReturnMap([ - [$dataAttributes['source'], $dataAttributes['source']], - [$eavEntityTypes['source'], $eavEntityTypes['source']] - ]); $this->helper->expects($this->any())->method('getDestinationRecords')->willReturnMap( [ ['eav_attribute', ['entity_type_id', 'attribute_code'], $dataAttributes['dest']], @@ -113,11 +92,47 @@ public function testInit() ['eav_entity_type', [], $eavEntityTypes['dest']] ] ); - $this->initialData->init(); + + $this->initialData = new InitialData($mapFactory, $this->source, $this->destination, $this->helper); + } + + /** + * @return void + */ + public function testAttributes() + { + $dataAttributes = $this->getDataAttributes(); foreach ($dataAttributes as $resourceType => $resourceData) { $this->assertEquals($resourceData, $this->initialData->getAttributes($resourceType)); } + } + + /** + * @return void + */ + public function testAttributeSets() + { + $attributeSets = ['attr_set_1', 'attr_set_2']; $this->assertEquals($attributeSets, $this->initialData->getAttributeSets('dest')); + } + + /** + * @return void + */ + public function testAttributeGroups() + { + $attributeGroups = ['attr_group_1', 'attr_group_2']; $this->assertEquals($attributeGroups, $this->initialData->getAttributeGroups('dest')); } + + /** + * @return array + */ + private function getDataAttributes() + { + return [ + 'source' => ['id_1' => 'value_1','id_2' => 'value_2'], + 'dest' => ['id_1' => 'value_1','id_2' => 'value_2'] + ]; + } } diff --git a/tests/unit/testsuite/Migration/Step/Eav/Integrity/AttributeFrontendInputTest.php b/tests/unit/testsuite/Migration/Step/Eav/Integrity/AttributeFrontendInputTest.php index b68257c99..0a42af61c 100644 --- a/tests/unit/testsuite/Migration/Step/Eav/Integrity/AttributeFrontendInputTest.php +++ b/tests/unit/testsuite/Migration/Step/Eav/Integrity/AttributeFrontendInputTest.php @@ -7,6 +7,7 @@ use Magento\Framework\TestFramework\Unit\Helper\ObjectManager; use Migration\Step\Eav\Helper; +use Migration\Step\Eav\Model\IgnoredAttributes; /** * Class AttributeFrontendInputTest @@ -23,6 +24,11 @@ class AttributeFrontendInputTest extends \PHPUnit_Framework_TestCase */ protected $helper; + /** + * @var IgnoredAttributes|\PHPUnit_Framework_MockObject_MockObject + */ + private $ignoredAttributes; + /** * @return void */ @@ -32,10 +38,15 @@ protected function setUp() ->disableOriginalConstructor() ->setMethods(['getSourceRecords', 'getAttributesGroupCodes']) ->getMock(); + $this->ignoredAttributes = $this->getMockBuilder(IgnoredAttributes::class) + ->disableOriginalConstructor() + ->setMethods(['clearIgnoredAttributes']) + ->getMock(); $objectHelper = new ObjectManager($this); $this->model = $objectHelper->getObject(AttributeFrontendInput::class, [ - 'helper' => $this->helper + 'helper' => $this->helper, + 'ignoredAttributes' => $this->ignoredAttributes ]); } @@ -47,49 +58,55 @@ protected function setUp() */ public function testCheckAttributeGroupNames($groupCodes, $errorsCount) { + $sourceRecords = [ + [ + 'attribute_id' => '60', + 'entity_type_id' => '4', + 'attribute_code' => 'name', + 'frontend_input' => 'text' + ], [ + 'attribute_id' => '61', + 'entity_type_id' => '4', + 'attribute_code' => 'description', + 'frontend_input' => 'textarea' + ], [ + 'attribute_id' => '63', + 'entity_type_id' => '4', + 'attribute_code' => 'sku', + 'frontend_input' => 'text' + ], [ + 'attribute_id' => '169', + 'entity_type_id' => '4', + 'attribute_code' => 'group_price', + 'frontend_input' => null + ], + [ + 'attribute_id' => '70', + 'entity_type_id' => '4', + 'attribute_code' => 'manufacturer', + 'frontend_input' => 'select' + ], [ + 'attribute_id' => '84', + 'entity_type_id' => '4', + 'attribute_code' => 'status', + 'frontend_input' => 'select' + ], + [ + 'attribute_id' => '143', + 'entity_type_id' => '4', + 'attribute_code' => 'msrp_enabled', + 'frontend_input' => '' + ], + ]; $this->helper ->expects($this->any()) ->method('getSourceRecords') - ->willReturn([ - [ - 'attribute_id' => '60', - 'entity_type_id' => '4', - 'attribute_code' => 'name', - 'frontend_input' => 'text' - ], [ - 'attribute_id' => '61', - 'entity_type_id' => '4', - 'attribute_code' => 'description', - 'frontend_input' => 'textarea' - ], [ - 'attribute_id' => '63', - 'entity_type_id' => '4', - 'attribute_code' => 'sku', - 'frontend_input' => 'text' - ], [ - 'attribute_id' => '169', - 'entity_type_id' => '4', - 'attribute_code' => 'group_price', - 'frontend_input' => null - ], - [ - 'attribute_id' => '70', - 'entity_type_id' => '4', - 'attribute_code' => 'manufacturer', - 'frontend_input' => 'select' - ], [ - 'attribute_id' => '84', - 'entity_type_id' => '4', - 'attribute_code' => 'status', - 'frontend_input' => 'select' - ], - [ - 'attribute_id' => '143', - 'entity_type_id' => '4', - 'attribute_code' => 'msrp_enabled', - 'frontend_input' => '' - ], - ]); + ->willReturn($sourceRecords); + $this->ignoredAttributes + ->expects($this->any()) + ->method('clearIgnoredAttributes') + ->with($sourceRecords) + ->willReturn($sourceRecords); $this->helper->expects($this->any())->method('getAttributesGroupCodes')->willReturnMap($groupCodes); $this->assertCount($errorsCount, $this->model->checkAttributeFrontendInput()); @@ -103,25 +120,21 @@ public function getFixtureData() return [ [ [ - ['ignore', ['msrp_enabled' => ['4']]], ['frontend_input_empty_allowed', ['group_price' => ['4']]] ], - 0 + 1 ], [ [ - ['ignore', ['group_price' => ['4']]], ['frontend_input_empty_allowed', ['msrp_enabled' => ['4']]] ], - 0 + 1 ],[ [ - ['ignore', []], ['frontend_input_empty_allowed', []] ], 2 ],[ [ - ['ignore', ['msrp_enabled' => ['10']]], ['frontend_input_empty_allowed', ['group_price' => ['10']]] ], 2 diff --git a/tests/unit/testsuite/Migration/Step/Eav/Model/IgnoredAttributesTest.php b/tests/unit/testsuite/Migration/Step/Eav/Model/IgnoredAttributesTest.php new file mode 100644 index 000000000..ff9b95647 --- /dev/null +++ b/tests/unit/testsuite/Migration/Step/Eav/Model/IgnoredAttributesTest.php @@ -0,0 +1,86 @@ +helper = $this->getMockBuilder(\Migration\Step\Eav\Helper::class)->disableOriginalConstructor() + ->setMethods(['getAttributesGroupCodes']) + ->getMock(); + $this->initialData = $this->getMockBuilder(\Migration\Step\Eav\InitialData::class)->disableOriginalConstructor() + ->setMethods(['getAttributes']) + ->getMock(); + $this->ignoredAttributes = new IgnoredAttributes($this->helper, $this->initialData); + } + + /** + * @return void + */ + public function testClearIgnoredAttributes() + { + $allSourceRecords = [ + 0 => [ + 'attribute_code' => 'attribute_code_3_ignored', + 'entity_type_id' => 111, + 'attribute_id' => 54, + ], + 1 => [ + 'attribute_code' => 'attribute_code_1', + 'entity_type_id' => 1, + 'attribute_id' => 55, + ], + 2 => [ + 'attribute_code' => 'attribute_code_2', + 'entity_type_id' => 2, + 'attribute_id' => 56, + ] + ]; + $ignoredSourceRecords = ['attribute_code_3_ignored' => [111]]; + $clearedSourceRecords = [ + 1 => [ + 'attribute_code' => 'attribute_code_1', + 'entity_type_id' => 1, + 'attribute_id' => 55, + ], + 2 => [ + 'attribute_code' => 'attribute_code_2', + 'entity_type_id' => 2, + 'attribute_id' => 56, + ] + ]; + $this->initialData->expects($this->once())->method('getAttributes')->with('source') + ->willReturn($allSourceRecords); + $this->helper->expects($this->once())->method('getAttributesGroupCodes')->with('ignore') + ->willReturn($ignoredSourceRecords); + $this->assertEquals($clearedSourceRecords, $this->ignoredAttributes->clearIgnoredAttributes($allSourceRecords)); + } +} diff --git a/tests/unit/testsuite/Migration/Step/Eav/VolumeTest.php b/tests/unit/testsuite/Migration/Step/Eav/VolumeTest.php index 6bf7961f7..4a5e3b5c6 100644 --- a/tests/unit/testsuite/Migration/Step/Eav/VolumeTest.php +++ b/tests/unit/testsuite/Migration/Step/Eav/VolumeTest.php @@ -20,6 +20,11 @@ class VolumeTest extends \PHPUnit_Framework_TestCase */ protected $initialData; + /** + * @var \Migration\Step\Eav\Model\IgnoredAttributes|\PHPUnit_Framework_MockObject_MockObject + */ + private $ignoredAttributes; + /** * @var \Migration\Logger\Logger|\PHPUnit_Framework_MockObject_MockObject */ @@ -59,8 +64,7 @@ public function setUp() 'getDestinationRecords', 'getSourceRecordsCount', 'getDestinationRecordsCount', - 'deleteBackups', - 'clearIgnoredAttributes' + 'deleteBackups' ] )->getMock(); $this->logger = $this->getMockBuilder('\Migration\Logger\Logger')->disableOriginalConstructor() @@ -87,10 +91,15 @@ public function setUp() ->disableOriginalConstructor() ->setMethods(['getDocument']) ->getMock(); + $this->ignoredAttributes = $this->getMockBuilder(\Migration\Step\Eav\Model\IgnoredAttributes::class) + ->disableOriginalConstructor() + ->setMethods(['clearIgnoredAttributes']) + ->getMock(); $this->volume = new Volume( $this->helper, $this->initialData, + $this->ignoredAttributes, $this->logger, $this->progress, $groupsFactory, @@ -154,7 +163,7 @@ public function testPerform() $this->initialData->expects($this->once())->method('getAttributeGroups')->willReturn(1); $this->helper->expects($this->any())->method('getDestinationRecordsCount')->willReturn(2); $this->helper->expects($this->once())->method('deleteBackups'); - $this->helper->expects($this->any())->method('clearIgnoredAttributes')->with($eavAttributes) + $this->ignoredAttributes->expects($this->any())->method('clearIgnoredAttributes')->with($eavAttributes) ->willReturn($eavAttributes); $this->logger->expects($this->never())->method('addRecord');