delete_aj_report_init_example.sql 5.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. SET FOREIGN_KEY_CHECKS = 0;
  2. DROP TABLE IF EXISTS `aj_report_init`.`aj_report_access`;
  3. DROP TABLE IF EXISTS `aj_report_init`.`aj_report_barstack`;
  4. DROP TABLE IF EXISTS `aj_report_init`.`aj_report_common1`;
  5. DROP TABLE IF EXISTS `aj_report_init`.`aj_report_common2`;
  6. DROP TABLE IF EXISTS `aj_report_init`.`aj_report_common3`;
  7. DROP TABLE IF EXISTS `aj_report_init`.`aj_report_comparestack`;
  8. DROP TABLE IF EXISTS `aj_report_init`.`aj_report_devices`;
  9. DROP TABLE IF EXISTS `aj_report_init`.`aj_report_exper`;
  10. DROP TABLE IF EXISTS `aj_report_init`.`aj_report_fireacl`;
  11. DROP TABLE IF EXISTS `aj_report_init`.`aj_report_fireattack`;
  12. DROP TABLE IF EXISTS `aj_report_init`.`aj_report_mail`;
  13. DROP TABLE IF EXISTS `aj_report_init`.`aj_report_manus`;
  14. DROP TABLE IF EXISTS `aj_report_init`.`aj_report_nums`;
  15. DROP TABLE IF EXISTS `aj_report_init`.`aj_report_table`;
  16. DROP TABLE IF EXISTS `aj_report_init`.`aj_report_wifiamount`;
  17. DROP TABLE IF EXISTS `aj_report_init`.`aj_report_init`;
  18. DROP DATABASE `aj_report_init`;
  19. DELETE FROM `aj_report`.`gaea_report` WHERE `report_code` = 'log_ajreport';
  20. DELETE FROM `aj_report`.`gaea_report` WHERE `report_code` = 'car_ajreport';
  21. DELETE FROM `aj_report`.`gaea_report` WHERE `report_code` = 'acc_ajreport';
  22. DELETE FROM `aj_report`.`gaea_report` WHERE `report_code` = 'blank';
  23. DELETE FROM `aj_report`.`gaea_report` WHERE `report_code` = 'logistics_one';
  24. DELETE FROM `aj_report`.`gaea_report_dashboard` WHERE `report_code` = 'log_ajreport';
  25. DELETE FROM `aj_report`.`gaea_report_dashboard` WHERE `report_code` = 'car_ajreport';
  26. DELETE FROM `aj_report`.`gaea_report_dashboard` WHERE `report_code` = 'acc_ajreport';
  27. DELETE FROM `aj_report`.`gaea_report_dashboard` WHERE `report_code` = 'blank';
  28. DELETE FROM `aj_report`.`gaea_report_dashboard` WHERE `report_code` = 'test';
  29. DELETE FROM `aj_report`.`gaea_report_dashboard` WHERE `report_code` = 'logn_ajreport';
  30. DELETE FROM `aj_report`.`gaea_report_dashboard` WHERE `report_code` = 'logistics_one';
  31. DELETE FROM `aj_report`.`gaea_report_dashboard_widget` WHERE `report_code` = 'test';
  32. DELETE FROM `aj_report`.`gaea_report_dashboard_widget` WHERE `report_code` = 'acc_ajreport';
  33. DELETE FROM `aj_report`.`gaea_report_dashboard_widget` WHERE `report_code` = 'car_ajreport';
  34. DELETE FROM `aj_report`.`gaea_report_dashboard_widget` WHERE `report_code` = 'blank';
  35. DELETE FROM `aj_report`.`gaea_report_dashboard_widget` WHERE `report_code` = 'logn_ajreport';
  36. DELETE FROM `aj_report`.`gaea_report_dashboard_widget` WHERE `report_code` = 'logistics_one';
  37. DELETE FROM `aj_report`.`gaea_report_data_set` WHERE `set_code` = 'log_ajdevices';
  38. DELETE FROM `aj_report`.`gaea_report_data_set` WHERE `set_code` = 'log_ajfireacl';
  39. DELETE FROM `aj_report`.`gaea_report_data_set` WHERE `set_code` = 'log_ajattack';
  40. DELETE FROM `aj_report`.`gaea_report_data_set` WHERE `set_code` = 'log_ajmailfailtop5';
  41. DELETE FROM `aj_report`.`gaea_report_data_set` WHERE `set_code` = 'log_ajmailfail';
  42. DELETE FROM `aj_report`.`gaea_report_data_set` WHERE `set_code` = 'log_ajwifiamount';
  43. DELETE FROM `aj_report`.`gaea_report_data_set` WHERE `set_code` = 'car_ajpro';
  44. DELETE FROM `aj_report`.`gaea_report_data_set` WHERE `set_code` = 'car_ajsale';
  45. DELETE FROM `aj_report`.`gaea_report_data_set` WHERE `set_code` = 'car_ajproTop5';
  46. DELETE FROM `aj_report`.`gaea_report_data_set` WHERE `set_code` = 'car_ajsaleTop5';
  47. DELETE FROM `aj_report`.`gaea_report_data_set` WHERE `set_code` = 'car_ajunsale';
  48. DELETE FROM `aj_report`.`gaea_report_data_set` WHERE `set_code` = 'car_ajrework';
  49. DELETE FROM `aj_report`.`gaea_report_data_set` WHERE `set_code` = 'car_ajreturn';
  50. DELETE FROM `aj_report`.`gaea_report_data_set` WHERE `set_code` = 'acc_ajacc';
  51. DELETE FROM `aj_report`.`gaea_report_data_set` WHERE `set_code` = 'acc_ajregister';
  52. DELETE FROM `aj_report`.`gaea_report_data_set` WHERE `set_code` = 'acc_ajrt';
  53. DELETE FROM `aj_report`.`gaea_report_data_set` WHERE `set_code` = 'acc_ajqps';
  54. DELETE FROM `aj_report`.`gaea_report_data_set` WHERE `set_code` = 'acc_ajerror';
  55. DELETE FROM `aj_report`.`gaea_report_data_set` WHERE `set_code` = 'amount_1';
  56. DELETE FROM `aj_report`.`gaea_report_data_set` WHERE `set_code` = 'logis_1';
  57. DELETE FROM `aj_report`.`gaea_report_data_set` WHERE `set_code` = 'logis_2';
  58. DELETE FROM `aj_report`.`gaea_report_data_set` WHERE `set_code` = 'logis_3';
  59. DELETE FROM `aj_report`.`gaea_report_data_set` WHERE `set_code` = 'logis_table';
  60. DELETE FROM `aj_report`.`gaea_report_data_set` WHERE `set_code` = 'per';
  61. DELETE FROM `aj_report`.`gaea_report_data_set` WHERE `set_code` = 'barstack_ajreport';
  62. DELETE FROM `aj_report`.`gaea_report_data_set` WHERE `set_code` = 'compare_ajreport';
  63. DELETE FROM `aj_report`.`gaea_report_data_set` WHERE `set_code` = 'aj_report_city_total';
  64. DELETE FROM `aj_report`.`gaea_report_data_set` WHERE `set_code` = 'aj_report_single_city';
  65. DELETE FROM `aj_report`.`gaea_report_data_set` WHERE `set_code` = 'aj_report_city_select';
  66. DELETE FROM `aj_report`.`gaea_report_data_set_param` WHERE `set_code` = 'aj_report_city_total';
  67. DELETE FROM `aj_report`.`gaea_report_data_set_param` WHERE `set_code` = 'aj_report_single_city';
  68. DELETE FROM `aj_report`.`gaea_report_data_set_param` WHERE `set_code` = 'aj_report_city_select';
  69. DELETE FROM `aj_report`.`gaea_report_data_source` WHERE `source_code` = 'mysql_ajreport';
  70. SET FOREIGN_KEY_CHECKS = 1;