summaryrefslogtreecommitdiffstats
path: root/modules-available/main
diff options
context:
space:
mode:
authorSimon Rettberg2022-09-20 09:19:43 +0200
committerSimon Rettberg2022-09-20 09:19:43 +0200
commit2e65b0656c25ad6d8eeadce98a7f9ba7c3cb5641 (patch)
tree352138f2a13341d1cafc9644d2918534a04aa6a7 /modules-available/main
parent[inc/main] one more syntax err. corr. -ADD main/install.inc.php (diff)
downloadslx-admin-2e65b0656c25ad6d8eeadce98a7f9ba7c3cb5641.tar.gz
slx-admin-2e65b0656c25ad6d8eeadce98a7f9ba7c3cb5641.tar.xz
slx-admin-2e65b0656c25ad6d8eeadce98a7f9ba7c3cb5641.zip
Revert "[inc/main] one more syntax err. corr. -ADD main/install.inc.php"
No need to introduce a syntax error. This reverts commit 04f52e75d410dfd8848298f50c173f638eab2a43.
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 87a434be..69c0da8f 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`,
- KEY (`subkey`),
+ ADD KEY (`subkey`),
ADD UNIQUE KEY `compound` (`name`, `subkey`)");
if ($ret === false) {
finalResponse(UPDATE_FAILED, 'Cannot add subkey to property_list: ' . Database::lastError());