diff --git a/db/zm_update-1.28.99.sql b/db/zm_update-1.28.99.sql index b9286dc24..c8d3adda5 100644 --- a/db/zm_update-1.28.99.sql +++ b/db/zm_update-1.28.99.sql @@ -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; diff --git a/web/api/.htaccess b/web/api/.htaccess index 6cc85be06..7139a2766 100644 --- a/web/api/.htaccess +++ b/web/api/.htaccess @@ -2,4 +2,5 @@ RewriteEngine on RewriteRule ^$ app/webroot/ [L] RewriteRule (.*) app/webroot/$1 [L] + RewriteBase /zm/api