zero-ppanel/sql/00002_init_basic_data.down.sql
shanshanzhong 9bdc593db4
Some checks failed
Build docker and publish / prepare (20.15.1) (push) Successful in 3s
Build docker and publish / build (map[dockerfile:deploy/Dockerfile.admin image_name:ppanel-admin name:admin]) (push) Failing after 1m37s
Build docker and publish / build (map[dockerfile:deploy/Dockerfile.api image_name:ppanel-api name:api]) (push) Failing after 1m42s
Build docker and publish / build (map[dockerfile:deploy/Dockerfile.node image_name:ppanel-node name:node]) (push) Failing after 1m42s
Build docker and publish / build (map[dockerfile:deploy/Dockerfile.queue image_name:ppanel-queue name:queue]) (push) Failing after 1m34s
Build docker and publish / build (map[dockerfile:deploy/Dockerfile.scheduler image_name:ppanel-scheduler name:scheduler]) (push) Failing after 1m39s
Build docker and publish / deploy (push) Has been skipped
Build docker and publish / notify (push) Successful in 2s
环境变量
2026-02-28 04:02:14 -08:00

31 lines
817 B
SQL

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;