Skip to content

Instantly share code, notes, and snippets.

@molotovbliss
Created February 8, 2016 10:07
Show Gist options
  • Save molotovbliss/aa6ba423fcf01cd6256f to your computer and use it in GitHub Desktop.
Save molotovbliss/aa6ba423fcf01cd6256f to your computer and use it in GitHub Desktop.
Drop all M2EPro Magento tables
# Generated with:
# SET SESSION group_concat_max_len = 999999999;
# SELECT CONCAT( 'DROP TABLE ', GROUP_CONCAT(table_name) , ';' )
# AS statement FROM information_schema.tables
# WHERE table_schema = 'databasename' AND table_name LIKE 'm2epro%';
DROP TABLE m2epro_account,
m2epro_amazon_account,
m2epro_amazon_category,
m2epro_amazon_category_specific,
m2epro_amazon_dictionary_category,
m2epro_amazon_dictionary_marketplace,
m2epro_amazon_dictionary_specific,
m2epro_amazon_item,
m2epro_amazon_listing,
m2epro_amazon_listing_other,
m2epro_amazon_listing_product,
m2epro_amazon_listing_product_variation,
m2epro_amazon_listing_product_variation_option,
m2epro_amazon_marketplace,
m2epro_amazon_order,
m2epro_amazon_order_item,
m2epro_amazon_processed_inventory,
m2epro_amazon_template_description,
m2epro_amazon_template_general,
m2epro_amazon_template_selling_format,
m2epro_amazon_template_synchronization,
m2epro_attribute_set,
m2epro_config,
m2epro_ebay_account,
m2epro_ebay_account_store_category,
m2epro_ebay_dictionary_category,
m2epro_ebay_dictionary_marketplace,
m2epro_ebay_dictionary_shipping,
m2epro_ebay_dictionary_shipping_category,
m2epro_ebay_feedback,
m2epro_ebay_feedback_template,
m2epro_ebay_item,
m2epro_ebay_listing,
m2epro_ebay_listing_other,
m2epro_ebay_listing_product,
m2epro_ebay_listing_product_variation,
m2epro_ebay_listing_product_variation_option,
m2epro_ebay_marketplace,
m2epro_ebay_message,
m2epro_ebay_order,
m2epro_ebay_order_external_transaction,
m2epro_ebay_order_item,
m2epro_ebay_template_description,
m2epro_ebay_template_general,
m2epro_ebay_template_general_calculated_shipping,
m2epro_ebay_template_general_payment,
m2epro_ebay_template_general_shipping,
m2epro_ebay_template_general_specific,
m2epro_ebay_template_selling_format,
m2epro_ebay_template_synchronization,
m2epro_listing,
m2epro_listing_category,
m2epro_listing_log,
m2epro_listing_other,
m2epro_listing_other_log,
m2epro_listing_product,
m2epro_listing_product_variation,
m2epro_listing_product_variation_option,
m2epro_lock_item,
m2epro_locked_object,
m2epro_marketplace,
m2epro_order,
m2epro_order_item,
m2epro_order_log,
m2epro_processing_request,
m2epro_product_change,
m2epro_synchronization_log,
m2epro_synchronization_run,
m2epro_template_description,
m2epro_template_general,
m2epro_template_selling_format,
m2epro_template_synchronization;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment