From 8dcdcd55e5c949ad7fed16d0edc92d0db3689470 Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Sat, 8 Jul 2017 20:29:02 +0200 Subject: remove if not exist clause on index creation - it seems to be supported in mariadb only --- install/update.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'install') 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, -- cgit v1.2.3