diff options
author | Christian Rößler | 2022-09-19 14:35:37 +0200 |
---|---|---|
committer | Christian Rößler | 2022-09-19 14:35:37 +0200 |
commit | 04f52e75d410dfd8848298f50c173f638eab2a43 (patch) | |
tree | 21828ec8d5122d81d880dfc8fac177bd71b1daca /modules-available/main | |
parent | [inc/main] syntax err. corrected -ADD main/install.inc.php (diff) | |
download | slx-admin-04f52e75d410dfd8848298f50c173f638eab2a43.tar.gz slx-admin-04f52e75d410dfd8848298f50c173f638eab2a43.tar.xz slx-admin-04f52e75d410dfd8848298f50c173f638eab2a43.zip |
[inc/main] one more syntax err. corr. -ADD main/install.inc.php
Diffstat (limited to 'modules-available/main')
-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()); |