|
@@ -1,65 +1,21 @@
|
|
|
--- Active: 1735094924500@@192.168.110.85@3306@xiaoding_test
|
|
|
+-- Active: 1735126617549@@192.168.110.85@3306@xiaoding_dev
|
|
|
|
|
|
/**
|
|
|
* 清空表数据
|
|
|
*/
|
|
|
|
|
|
+use xiaoding_dev;
|
|
|
-- 禁用外键检查
|
|
|
SET FOREIGN_KEY_CHECKS = 0;
|
|
|
+
|
|
|
+-- 代理相关表
|
|
|
TRUNCATE TABLE agent_info_records;
|
|
|
TRUNCATE TABLE agent_infos;
|
|
|
TRUNCATE TABLE agent_project;
|
|
|
TRUNCATE TABLE agent_project_cate;
|
|
|
TRUNCATE TABLE agent_real_auth_records;
|
|
|
-TRUNCATE TABLE member_address;
|
|
|
-TRUNCATE TABLE member_social_accounts;
|
|
|
-TRUNCATE TABLE member_users;
|
|
|
-TRUNCATE TABLE order_comments;
|
|
|
-TRUNCATE TABLE order_dist_records;
|
|
|
-TRUNCATE TABLE order_exc_records;
|
|
|
-TRUNCATE TABLE order_grab_records;
|
|
|
-TRUNCATE TABLE order_records;
|
|
|
-TRUNCATE TABLE project_cate;
|
|
|
-TRUNCATE TABLE shop_auth_records;
|
|
|
-TRUNCATE TABLE shop_coach_services;
|
|
|
-TRUNCATE TABLE shop_infos;
|
|
|
-TRUNCATE TABLE shop_services;
|
|
|
-TRUNCATE TABLE user_feedbacks;
|
|
|
-TRUNCATE TABLE wallet_payment_records;
|
|
|
-TRUNCATE TABLE wallet_refund_records;
|
|
|
-TRUNCATE TABLE wallet_split_records;
|
|
|
-TRUNCATE TABLE wallet_trans_records;
|
|
|
-TRUNCATE TABLE wallet_withdraw_records;
|
|
|
-TRUNCATE TABLE agent_info_records;
|
|
|
-TRUNCATE TABLE agent_project;
|
|
|
-TRUNCATE TABLE agent_project_cate;
|
|
|
-TRUNCATE TABLE agent_real_auth_records;
|
|
|
-TRUNCATE TABLE coupon_info;
|
|
|
-TRUNCATE TABLE member_address;
|
|
|
-TRUNCATE TABLE member_bad_behaviors;
|
|
|
-TRUNCATE TABLE member_social_accounts;
|
|
|
-TRUNCATE TABLE member_users;
|
|
|
-TRUNCATE TABLE order_comments;
|
|
|
-TRUNCATE TABLE order_dist_records;
|
|
|
-TRUNCATE TABLE order_exc_records;
|
|
|
-TRUNCATE TABLE order_grab_records;
|
|
|
-TRUNCATE TABLE order_records;
|
|
|
-TRUNCATE TABLE project_cate;
|
|
|
-TRUNCATE TABLE shop_auth_records;
|
|
|
-TRUNCATE TABLE shop_coach_services;
|
|
|
-TRUNCATE TABLE shop_infos;
|
|
|
-TRUNCATE TABLE shop_services;
|
|
|
-TRUNCATE TABLE user_feedbacks;
|
|
|
-TRUNCATE TABLE wallet_payment_records;
|
|
|
-TRUNCATE TABLE wallet_refund_records;
|
|
|
-TRUNCATE TABLE wallet_split_records;
|
|
|
-TRUNCATE TABLE wallet_trans_records;
|
|
|
-TRUNCATE TABLE wallet_withdraw_records;
|
|
|
-TRUNCATE TABLE agent_info_records;
|
|
|
-TRUNCATE TABLE agent_infos;
|
|
|
-TRUNCATE TABLE agent_project;
|
|
|
-TRUNCATE TABLE agent_project_cate;
|
|
|
-TRUNCATE TABLE agent_real_auth_records;
|
|
|
+
|
|
|
+-- 教练相关表
|
|
|
TRUNCATE TABLE coach_alerts;
|
|
|
TRUNCATE TABLE coach_comment_tags;
|
|
|
TRUNCATE TABLE coach_flow_orders;
|
|
@@ -74,18 +30,46 @@ TRUNCATE TABLE coach_schedules;
|
|
|
TRUNCATE TABLE coach_scores;
|
|
|
TRUNCATE TABLE coach_statistics;
|
|
|
TRUNCATE TABLE coach_users;
|
|
|
+
|
|
|
+-- 优惠券相关表
|
|
|
TRUNCATE TABLE coupon_info;
|
|
|
+
|
|
|
+-- 会员相关表
|
|
|
TRUNCATE TABLE member_address;
|
|
|
TRUNCATE TABLE member_bad_behaviors;
|
|
|
TRUNCATE TABLE member_social_accounts;
|
|
|
TRUNCATE TABLE member_users;
|
|
|
+
|
|
|
+-- 订单相关表
|
|
|
TRUNCATE TABLE order_comments;
|
|
|
TRUNCATE TABLE order_dist_records;
|
|
|
TRUNCATE TABLE order_exc_records;
|
|
|
TRUNCATE TABLE order_grab_records;
|
|
|
TRUNCATE TABLE order_records;
|
|
|
+
|
|
|
+-- 项目相关表
|
|
|
TRUNCATE TABLE project_cate;
|
|
|
-TRUNCATE TABLE setting_groups;;
|
|
|
+
|
|
|
+-- 商店相关表
|
|
|
+TRUNCATE TABLE shop_auth_records;
|
|
|
+TRUNCATE TABLE shop_coach_services;
|
|
|
+TRUNCATE TABLE shop_infos;
|
|
|
+TRUNCATE TABLE shop_services;
|
|
|
+
|
|
|
+-- 用户反馈表
|
|
|
+TRUNCATE TABLE user_feedbacks;
|
|
|
+
|
|
|
+-- 钱包相关表
|
|
|
+TRUNCATE TABLE wallet_payment_records;
|
|
|
+TRUNCATE TABLE wallet_refund_records;
|
|
|
+TRUNCATE TABLE wallet_split_records;
|
|
|
+TRUNCATE TABLE wallet_trans_records;
|
|
|
+TRUNCATE TABLE wallet_withdraw_records;
|
|
|
+
|
|
|
+-- 设置相关表
|
|
|
+TRUNCATE TABLE setting_groups;
|
|
|
+
|
|
|
+-- 启用外键检查
|
|
|
SET FOREIGN_KEY_CHECKS = 1;
|
|
|
|
|
|
|