truncate.sql 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. TRUNCATE TABLE `dm_disease`;
  2. TRUNCATE TABLE `dm_hospital_dept`;
  3. TRUNCATE TABLE `dm_intervene_item_type`;
  4. TRUNCATE TABLE `dm_job`;
  5. TRUNCATE TABLE `dm_medicines`;
  6. TRUNCATE TABLE `dm_relationship`;
  7. TRUNCATE TABLE `dm_rsa`;
  8. TRUNCATE TABLE `dm_sequence`;
  9. TRUNCATE TABLE `dm_service`;
  10. TRUNCATE TABLE `dm_sports`;
  11. TRUNCATE TABLE `dm_sports_type`;
  12. TRUNCATE TABLE `wlyy_advert`;
  13. TRUNCATE TABLE `wlyy_chat_log`;
  14. TRUNCATE TABLE `wlyy_complaint_doctor`;
  15. TRUNCATE TABLE `wlyy_consult`;
  16. TRUNCATE TABLE `wlyy_consult_communication`;
  17. TRUNCATE TABLE `wlyy_consult_communication_reply`;
  18. TRUNCATE TABLE `wlyy_consult_movi`;
  19. TRUNCATE TABLE `wlyy_consult_movi_referral`;
  20. TRUNCATE TABLE `wlyy_consult_public`;
  21. TRUNCATE TABLE `wlyy_consult_public_reply`;
  22. TRUNCATE TABLE `wlyy_consult_team`;
  23. TRUNCATE TABLE `wlyy_consult_team_doctor`;
  24. TRUNCATE TABLE `wlyy_consult_team_log`;
  25. TRUNCATE TABLE `wlyy_doctor`;
  26. TRUNCATE TABLE `wlyy_doctor_address`;
  27. TRUNCATE TABLE `wlyy_doctor_comment`;
  28. TRUNCATE TABLE `wlyy_doctor_medical_records_part`;
  29. TRUNCATE TABLE `wlyy_doctor_medical_records_part_item`;
  30. TRUNCATE TABLE `wlyy_doctor_patient_group_info`;
  31. TRUNCATE TABLE `wlyy_doctor_scheduling`;
  32. TRUNCATE TABLE `wlyy_doctor_scheduling_times`;
  33. TRUNCATE TABLE `wlyy_doctor_service`;
  34. TRUNCATE TABLE `wlyy_doctor_statistics_comment`;
  35. TRUNCATE TABLE `wlyy_doctor_statistics_consult`;
  36. TRUNCATE TABLE `wlyy_doctor_team`;
  37. TRUNCATE TABLE `wlyy_doctor_team_info`;
  38. TRUNCATE TABLE `wlyy_followup_item_record`;
  39. TRUNCATE TABLE `wlyy_followup_item_record_answer`;
  40. TRUNCATE TABLE `wlyy_followup_item_record_question`;
  41. TRUNCATE TABLE `wlyy_followup_item_record_question_option`;
  42. TRUNCATE TABLE `wlyy_followup_plan`;
  43. TRUNCATE TABLE `wlyy_followup_plan_doctor`;
  44. TRUNCATE TABLE `wlyy_followup_plan_stage`;
  45. TRUNCATE TABLE `wlyy_followup_plan_stage_item`;
  46. TRUNCATE TABLE `wlyy_followup_plan_stage_item_question`;
  47. TRUNCATE TABLE `wlyy_followup_plan_stage_item_question_option`;
  48. TRUNCATE TABLE `wlyy_followup_plan_stage_target`;
  49. TRUNCATE TABLE `wlyy_followup_question`;
  50. TRUNCATE TABLE `wlyy_followup_question_option`;
  51. TRUNCATE TABLE `wlyy_followup_summary`;
  52. TRUNCATE TABLE `wlyy_followup_tc`;
  53. TRUNCATE TABLE `wlyy_followup_tc_option`;
  54. TRUNCATE TABLE `wlyy_followup_template`;
  55. TRUNCATE TABLE `wlyy_followup_template_plan`;
  56. TRUNCATE TABLE `wlyy_followup_template_question`;
  57. TRUNCATE TABLE `wlyy_followup_template_question_option`;
  58. TRUNCATE TABLE `wlyy_friends_log`;
  59. TRUNCATE TABLE `wlyy_group_chat_log`;
  60. TRUNCATE TABLE `wlyy_health_edu_article`;
  61. TRUNCATE TABLE `wlyy_health_edu_article_patient`;
  62. TRUNCATE TABLE `wlyy_health_news`;
  63. TRUNCATE TABLE `wlyy_inspect`;
  64. TRUNCATE TABLE `wlyy_inspect_info`;
  65. TRUNCATE TABLE `wlyy_intervene`;
  66. TRUNCATE TABLE `wlyy_medical_edu_article`;
  67. TRUNCATE TABLE `wlyy_medical_edu_article_read`;
  68. TRUNCATE TABLE `wlyy_medical_edu_category`;
  69. TRUNCATE TABLE `wlyy_medical_edu_setting`;
  70. TRUNCATE TABLE `wlyy_message`;
  71. TRUNCATE TABLE `wlyy_message_family_contract`;
  72. TRUNCATE TABLE `wlyy_message_health_index`;
  73. TRUNCATE TABLE `wlyy_orders`;
  74. TRUNCATE TABLE `wlyy_orders_detail`;
  75. TRUNCATE TABLE `wlyy_patient`;
  76. TRUNCATE TABLE `wlyy_patient_course`;
  77. TRUNCATE TABLE `wlyy_patient_device`;
  78. TRUNCATE TABLE `wlyy_patient_family`;
  79. TRUNCATE TABLE `wlyy_patient_friend`;
  80. TRUNCATE TABLE `wlyy_patient_gift`;
  81. TRUNCATE TABLE `wlyy_patient_group`;
  82. TRUNCATE TABLE `wlyy_patient_group_info`;
  83. TRUNCATE TABLE `wlyy_patient_health_guidance`;
  84. TRUNCATE TABLE `wlyy_patient_health_index`;
  85. TRUNCATE TABLE `wlyy_patient_health_record_diet`;
  86. TRUNCATE TABLE `wlyy_patient_health_record_medication`;
  87. TRUNCATE TABLE `wlyy_patient_health_record_sports`;
  88. TRUNCATE TABLE `wlyy_patient_health_standard`;
  89. TRUNCATE TABLE `wlyy_patient_inspection_suggest`;
  90. TRUNCATE TABLE `wlyy_patient_medical_records`;
  91. TRUNCATE TABLE `wlyy_patient_medical_records_item`;
  92. TRUNCATE TABLE `wlyy_patient_orders`;
  93. TRUNCATE TABLE `wlyy_patient_remind`;
  94. TRUNCATE TABLE `wlyy_patient_reservation`;
  95. TRUNCATE TABLE `wlyy_patient_reservation_doctors`;
  96. TRUNCATE TABLE `wlyy_patient_self_inspection`;
  97. TRUNCATE TABLE `wlyy_patient_self_inspection_item`;
  98. TRUNCATE TABLE `wlyy_patient_treatment`;
  99. TRUNCATE TABLE `wlyy_pharmacist`;
  100. TRUNCATE TABLE `wlyy_pharmacist_checked`;
  101. TRUNCATE TABLE `wlyy_points_gift`;
  102. TRUNCATE TABLE `wlyy_points_record`;
  103. TRUNCATE TABLE `wlyy_prescription`;
  104. TRUNCATE TABLE `wlyy_prescription_continue`;
  105. TRUNCATE TABLE `wlyy_prescription_info`;
  106. TRUNCATE TABLE `wlyy_prescription_template`;
  107. TRUNCATE TABLE `wlyy_prescription_template_info`;
  108. TRUNCATE TABLE `wlyy_referral`;
  109. TRUNCATE TABLE `wlyy_sign_contract`;
  110. TRUNCATE TABLE `wlyy_sign_family`;
  111. TRUNCATE TABLE `wlyy_sign_web`;
  112. TRUNCATE TABLE `wlyy_sms`;
  113. TRUNCATE TABLE `wlyy_token`;
  114. TRUNCATE TABLE `wlyy_wx_patient`;
  115. TRUNCATE TABLE `wx_access_token`;
  116. TRUNCATE TABLE `wx_jsapi_ticket`;
  117. TRUNCATE TABLE `wx_menu`;