Advertisement
ran5000

Untitled

Nov 7th, 2012
166
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 4.03 KB | None | 0 0
  1. # ########################################################################
  2. # communit_pablo.admin_actions                                            
  3. # ########################################################################
  4.  
  5. # user_id_index is a left-prefix of user_id_action_type_index
  6. # Key definitions:
  7. #   KEY `user_id_index` (`account_id`),
  8. #   KEY `user_id_action_type_index` (`account_id`,`action_type`),
  9. # Column types:
  10. #         `account_id` int(11) default null
  11. #         `action_type` varchar(255) collate utf8_unicode_ci default null
  12. # To remove this duplicate index, execute:
  13. ALTER TABLE `communit_pablo`.`admin_actions` DROP INDEX `user_id_index`;
  14.  
  15. # ########################################################################
  16. # communit_pablo.job_logs                                                
  17. # ########################################################################
  18.  
  19. # job_user_and_type_index is a left-prefix of job_user_and_type_and_state_index
  20. # Key definitions:
  21. #   KEY `job_user_and_type_index` (`user_id`,`job_type`),
  22. #   KEY `job_user_and_type_and_state_index` (`user_id`,`job_type`,`workflow_state`),
  23. # Column types:
  24. #         `user_id` int(11) default null
  25. #         `job_type` varchar(50) collate utf8_unicode_ci default null
  26. #         `workflow_state` varchar(255) collate utf8_unicode_ci default null
  27. # To remove this duplicate index, execute:
  28. ALTER TABLE `communit_pablo`.`job_logs` DROP INDEX `job_user_and_type_index`;
  29.  
  30. # ########################################################################
  31. # communit_pablo.member_leads                                            
  32. # ########################################################################
  33.  
  34. # member_index is a left-prefix of unique
  35. # Key definitions:
  36. #   KEY `member_index` (`member_id`),
  37. #   UNIQUE KEY `unique` (`member_id`,`s_object_id`),
  38. # Column types:
  39. #         `member_id` int(11) not null
  40. #         `s_object_id` int(11) not null
  41. # To remove this duplicate index, execute:
  42. ALTER TABLE `communit_pablo`.`member_leads` DROP INDEX `member_index`;
  43.  
  44. # ########################################################################
  45. # communit_pablo.monitored_urls                                          
  46. # ########################################################################
  47.  
  48. # user_index is a left-prefix of unique_index
  49. # Key definitions:
  50. #   KEY `user_index` (`user_id`)
  51. #   UNIQUE KEY `unique_index` (`user_id`,`link_object_id`,`monitor_id`),
  52. # Column types:
  53. #         `user_id` int(11) not null
  54. #         `link_object_id` int(11) not null
  55. #         `monitor_id` int(11) not null
  56. # To remove this duplicate index, execute:
  57. ALTER TABLE `communit_pablo`.`monitored_urls` DROP INDEX `user_index`;
  58.  
  59. # ########################################################################
  60. # communit_pablo.s_filters                                                
  61. # ########################################################################
  62.  
  63. # user_id_index is a left-prefix of unique_index
  64. # Key definitions:
  65. #   KEY `user_id_index` (`user_id`)
  66. #   UNIQUE KEY `unique_index` (`user_id`,`filter_text`),
  67. # Column types:
  68. #         `user_id` int(11) default null
  69. #         `filter_text` varchar(255) character set utf8 collate utf8_bin default null
  70. # To remove this duplicate index, execute:
  71. ALTER TABLE `communit_pablo`.`s_filters` DROP INDEX `user_id_index`;
  72.  
  73. # ########################################################################
  74. # communit_pablo.twitter_status_cursors                                  
  75. # ########################################################################
  76.  
  77. # user_status_type_index is a left-prefix of unique_index
  78. # Key definitions:
  79. #   KEY `user_status_type_index` (`user_id`,`status_type`)
  80. #   UNIQUE KEY `unique_index` (`user_id`,`status_type`,`s_object_id`),
  81. # Column types:
  82. #         `user_id` int(11) not null
  83. #         `status_type` int(11) not null
  84. #         `s_object_id` int(11) default '0'
  85. # To remove this duplicate index, execute:
  86. ALTER TABLE `communit_pablo`.`twitter_status_cursors` DROP INDEX `user_status_type_index`;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement