ClearData.sql 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. SET FOREIGN_KEY_CHECKS=0;
  2. TRUNCATE TABLE activity_enroll;
  3. TRUNCATE TABLE activity;
  4. TRUNCATE TABLE atlas_relationship;
  5. TRUNCATE TABLE atlas_scene;
  6. TRUNCATE TABLE atlas_relationship;
  7. TRUNCATE TABLE business_monitoring;
  8. TRUNCATE TABLE contract_resource;
  9. TRUNCATE TABLE contract;
  10. TRUNCATE TABLE data_requirement_data;
  11. # TRUNCATE TABLE dictionary;
  12. # TRUNCATE TABLE dictionary_group;
  13. TRUNCATE TABLE invoice;
  14. TRUNCATE TABLE key_word;
  15. TRUNCATE TABLE leave_message;
  16. # TRUNCATE TABLE menu;
  17. # TRUNCATE TABLE module_action;
  18. TRUNCATE TABLE news_content;
  19. TRUNCATE TABLE news;
  20. TRUNCATE TABLE notification;
  21. TRUNCATE TABLE offline_conference;
  22. TRUNCATE TABLE order_payment;
  23. TRUNCATE TABLE order_goods;
  24. TRUNCATE TABLE orders;
  25. TRUNCATE TABLE resource_follow;
  26. TRUNCATE TABLE resource_auth;
  27. TRUNCATE TABLE publish_setting;
  28. TRUNCATE TABLE publish_info;
  29. TRUNCATE TABLE requirement_follow;
  30. TRUNCATE TABLE requirement_data;
  31. TRUNCATE TABLE requirement_api;
  32. TRUNCATE TABLE requirement_microapp;
  33. TRUNCATE TABLE requirement_receive;
  34. TRUNCATE TABLE requirement;
  35. TRUNCATE TABLE resource_data;
  36. TRUNCATE TABLE resource_api_interface_input;
  37. TRUNCATE TABLE resource_api_interface_output;
  38. TRUNCATE TABLE resource_api_interface;
  39. TRUNCATE TABLE resource_api;
  40. TRUNCATE TABLE resource_microapp;
  41. TRUNCATE TABLE resource_view_times;
  42. TRUNCATE TABLE resource_sort;
  43. TRUNCATE TABLE resource;
  44. # TRUNCATE TABLE resource_catelog;
  45. # TRUNCATE TABLE data_catelog_item;
  46. # TRUNCATE TABLE data_catelog;
  47. TRUNCATE TABLE roadshow_requirement;
  48. TRUNCATE TABLE roadshow;
  49. # TRUNCATE TABLE running_monitoring;
  50. # TRUNCATE TABLE tag;
  51. # TRUNCATE TABLE organization;
  52. # TRUNCATE TABLE sector;
  53. TRUNCATE TABLE service_provider;
  54. # TRUNCATE TABLE user_account_transaction;
  55. # TRUNCATE TABLE user_account;
  56. # TRUNCATE TABLE user_auth_setting;
  57. # TRUNCATE TABLE user_company;
  58. # TRUNCATE TABLE user_personal
  59. # TRUNCATE TABLE user_security_code;
  60. # TRUNCATE TABLE user;
  61. SET FOREIGN_KEY_CHECKS=1;