Revisions
-
standa revised this gist
Oct 1, 2015 . 1 changed file with 4 additions and 10 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,18 +1,12 @@ UPDATE customer_entity SET email=CONCAT(OLD_PASSWORD(email), '@example.com') WHERE email NOT LIKE '%aardvark%' AND email NOT LIKE '%keyup%' AND email NOT LIKE '%grec.cz'; UPDATE sales_flat_order_address SET email=CONCAT(OLD_PASSWORD(email), '@example.com'); UPDATE sales_flat_order SET customer_email=CONCAT(OLD_PASSWORD(customer_email), '@example.com'); UPDATE core_config_data SET value = REPLACE(value, 'www', 'staging') WHERE path LIKE '%base_url'; -
standa revised this gist
Jan 12, 2015 . 1 changed file with 7 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,12 +1,18 @@ -- example.com emails for all customers UPDATE customer_entity SET email='[email protected]' WHERE email NOT LIKE '%aardvark%' AND email NOT LIKE '%keyup%' AND email NOT LIKE '%grec.cz'; -- example.com emails for all orders UPDATE sales_flat_order_address SET email=NULL; UPDATE sales_flat_order SET customer_email=NULL; -- change magento domain to staging.* UPDATE core_config_data SET value = REPLACE(value, 'www', 'staging') WHERE path LIKE '%base_url'; -- disable email gateways UPDATE m_helpdesk_gateway SET is_active = 0 -
vojtagrec created this gist
Jul 16, 2013 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,12 @@ UPDATE customer_entity SET email='[email protected]' WHERE email NOT LIKE '%aardvark%' AND email NOT LIKE '%keyup%' AND email NOT LIKE '%grec.cz'; UPDATE sales_flat_order_address SET email=NULL; UPDATE sales_flat_order SET customer_email=NULL; UPDATE core_config_data SET value = REPLACE(value, 'www', 'staging') WHERE path LIKE '%base_url'; This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1 @@ nice -n16 php -dsuhosin.executor.include.whitelist="phar" n98-magerun.phar db:dump -s "am_notfound_* report_viewed_product_index @stripped"