快速清空小京东V4.2单仓库演示数据

官方出品:鸿宇源码
官方论坛:hongyuvip.com
官方QQ群:90664526

执行SQL语句:(PC后台管理 => 数据库管理 => SQL查询 => 提交下面语句即可)
 
--
-- 清空会员有关数据:
--
TRUNCATE TABLE `ecs_users` ;
TRUNCATE TABLE `ecs_user_account` ;
TRUNCATE TABLE `ecs_user_bonus` ;
TRUNCATE TABLE `ecs_user_address` ;
TRUNCATE TABLE `ecs_pay_log` ;
TRUNCATE TABLE `ecs_order_info` ;
TRUNCATE TABLE `ecs_order_goods` ;
TRUNCATE TABLE `ecs_order_action` ;
TRUNCATE TABLE `ecs_feedback` ;
TRUNCATE TABLE `ecs_delivery_goods`;
TRUNCATE TABLE `ecs_delivery_order` ;
TRUNCATE TABLE `ecs_comment` ;
TRUNCATE TABLE `ecs_collect_goods` ;
TRUNCATE TABLE `ecs_back_goods` ;
TRUNCATE TABLE `ecs_back_order` ;
TRUNCATE TABLE `ecs_admin_log` ;
TRUNCATE TABLE `ecs_account_log` ;
TRUNCATE TABLE `ecs_cart` ;

--
-- 清空商品有关数据
--
TRUNCATE TABLE `ecs_goods` ;
TRUNCATE TABLE `ecs_goods_activity` ;
TRUNCATE TABLE `ecs_goods_activity` ;
TRUNCATE TABLE `ecs_goods_article` ;
TRUNCATE TABLE `ecs_goods_attr` ;
TRUNCATE TABLE `ecs_goods_cat` ;
TRUNCATE TABLE `ecs_goods_gallery` ;
TRUNCATE TABLE `ecs_goods_type` ;
TRUNCATE TABLE `ecs_group_goods` ;
TRUNCATE TABLE `ecs_keywords` ;
TRUNCATE TABLE `ecs_products` ;
TRUNCATE TABLE `ecs_brand` ;
TRUNCATE TABLE `ecs_card` ;
TRUNCATE TABLE `ecs_exchange_goods` ;
TRUNCATE TABLE `ecs_link_goods` ;
TRUNCATE TABLE `ecs_package_goods` ;

--
-- 清空分类有关数据
--
TRUNCATE TABLE `ecs_category` ;
TRUNCATE TABLE `ecs_cat_recommend` ;

--
-- 清空商品类型有关数据
--
TRUNCATE TABLE `ecs_attribute` ;
 

0 个评论

要回复文章请先登录注册