diff options
-rw-r--r-- | modules-available/main/install.inc.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules-available/main/install.inc.php b/modules-available/main/install.inc.php index 69c0da8f..87a434be 100644 --- a/modules-available/main/install.inc.php +++ b/modules-available/main/install.inc.php @@ -126,7 +126,7 @@ if (!tableHasColumn('user', 'serverid')) { if (!tableHasColumn('property_list', 'subkey')) { $ret = Database::exec("ALTER TABLE property_list ADD COLUMN `subkey` int(10) unsigned NOT NULL AUTO_INCREMENT AFTER `name`, - ADD KEY (`subkey`), + KEY (`subkey`), ADD UNIQUE KEY `compound` (`name`, `subkey`)"); if ($ret === false) { finalResponse(UPDATE_FAILED, 'Cannot add subkey to property_list: ' . Database::lastError()); |