Created
February 5, 2016 10:20
-
-
Save core01/274898468346f89254d6 to your computer and use it in GitHub Desktop.
SQL query to drop current primary key and add one new
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
ALTER TABLE `modx_ms2_ingredient_remains` DROP PRIMARY KEY; | |
ALTER TABLE `modx_ms2_ingredient_remains` ADD `id` int(10) unsigned AUTO_INCREMENT primary key; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment