Skip to content

Commit

Permalink
fix drop primary key line.
Browse files Browse the repository at this point in the history
  • Loading branch information
connortechnology committed Jul 7, 2015
1 parent 8406818 commit 1328ba4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion db/zm_update-1.28.99.sql
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ SET @s = (SELECT IF(
AND column_name = 'Id'
) > 0,
"SELECT 'Column Id exists in States'",
"ALTER TABLE States ALTER Name DROP PRIMARY KEY;ALTER TABLE `States` ADD `Id` int(10) unsigned auto_increment NOT NULL PRIMARY KEY FIRST"
"ALTER TABLE States DROP PRIMARY KEY;ALTER TABLE `States` ADD `Id` int(10) unsigned auto_increment NOT NULL PRIMARY KEY FIRST"
));

PREPARE stmt FROM @s;
Expand Down

0 comments on commit 1328ba4

Please sign in to comment.