Created
October 23, 2012 11:47
-
-
Save 228vit/3938347 to your computer and use it in GitHub Desktop.
Drop MYSQL index before delete any ref_id field
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SET FOREIGN_KEY_CHECKS = 0; ALTER TABLE `table` DROP INDEX `index_idx` ; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment