summaryrefslogtreecommitdiffstats
path: root/modules-available/main
diff options
context:
space:
mode:
authorChristian Rößler2022-09-19 14:35:37 +0200
committerChristian Rößler2022-09-19 14:35:37 +0200
commit04f52e75d410dfd8848298f50c173f638eab2a43 (patch)
tree21828ec8d5122d81d880dfc8fac177bd71b1daca /modules-available/main
parent[inc/main] syntax err. corrected -ADD main/install.inc.php (diff)
downloadslx-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.php2
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());