SET FOREIGN_KEY_CHECKS = 0;

TRUNCATE TABLE `ads`;
TRUNCATE TABLE `announcement`;
TRUNCATE TABLE `auth_method`;
TRUNCATE TABLE `coupon`;
TRUNCATE TABLE `document`;
TRUNCATE TABLE `nodes`;
TRUNCATE TABLE `order`;
TRUNCATE TABLE `payment`;
TRUNCATE TABLE `redemption_code`;
TRUNCATE TABLE `redemption_record`;
TRUNCATE TABLE `server`;
TRUNCATE TABLE `servers`;
TRUNCATE TABLE `subscribe`;
TRUNCATE TABLE `subscribe_application`;
TRUNCATE TABLE `system`;
TRUNCATE TABLE `system_logs`;
TRUNCATE TABLE `task`;
TRUNCATE TABLE `ticket`;
TRUNCATE TABLE `ticket_follow`;
TRUNCATE TABLE `traffic_log`;
TRUNCATE TABLE `user`;
TRUNCATE TABLE `user_auth_methods`;
TRUNCATE TABLE `user_device`;
TRUNCATE TABLE `user_device_online_record`;
TRUNCATE TABLE `user_subscribe`;
TRUNCATE TABLE `withdrawals`;

SET FOREIGN_KEY_CHECKS = 1;
