Jump to content

(已解决)如何清空测试数据


lei

Recommended Posts

  • 1 month later...

清理customer, order相关表数据脚本

TRUNCATE TABLE `ps_customer`;   
TRUNCATE TABLE `ps_address`;   
TRUNCATE TABLE `ps_orders`;   
TRUNCATE TABLE `ps_order_detail`;   
TRUNCATE TABLE `ps_order_discount`;   
TRUNCATE TABLE `ps_order_history`;   
TRUNCATE TABLE `ps_message`;   
TRUNCATE TABLE `ps_cart`;   
TRUNCATE TABLE `ps_cart_product`;   
TRUNCATE TABLE `ps_cart_discount`;  

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...