aboutsummaryrefslogtreecommitdiffstats
path: root/install/update.php
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2017-07-08 20:29:02 +0200
committerMario Vavti <mario@mariovavti.com>2017-07-08 20:29:02 +0200
commit8dcdcd55e5c949ad7fed16d0edc92d0db3689470 (patch)
treecbe7d4a046d5a0801b39e0d7583281f784c834e2 /install/update.php
parent1fca4428282ada2e2d4b60a305fb770dcdfe2468 (diff)
downloadvolse-hubzilla-8dcdcd55e5c949ad7fed16d0edc92d0db3689470.tar.gz
volse-hubzilla-8dcdcd55e5c949ad7fed16d0edc92d0db3689470.tar.bz2
volse-hubzilla-8dcdcd55e5c949ad7fed16d0edc92d0db3689470.zip
remove if not exist clause on index creation - it seems to be supported in mariadb only
Diffstat (limited to 'install/update.php')
-rw-r--r--install/update.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/install/update.php b/install/update.php
index d3a726f6b..1406f2d1b 100644
--- a/install/update.php
+++ b/install/update.php
@@ -2920,7 +2920,7 @@ function update_r1191() {
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;"
);
- $r14 = q("CREATE UNIQUE INDEX if not exists path_property ON propertystorage (path(600), name(100));");
+ $r14 = q("CREATE UNIQUE INDEX path_property ON propertystorage (path(600), name(100));");
$r15 = q("CREATE TABLE if not exists users (
id INTEGER UNSIGNED NOT NULL PRIMARY KEY AUTO_INCREMENT,