From 38387e00a0210656140b545e0e9369d12c12927a Mon Sep 17 00:00:00 2001 From: Eike Kettner Date: Wed, 20 Jan 2021 23:30:35 +0100 Subject: [PATCH] Fix mariadb migration --- .../db/migration/mariadb/V1.18.0__classifier_model.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/store/src/main/resources/db/migration/mariadb/V1.18.0__classifier_model.sql b/modules/store/src/main/resources/db/migration/mariadb/V1.18.0__classifier_model.sql index 59bec4b2..573dc9d1 100644 --- a/modules/store/src/main/resources/db/migration/mariadb/V1.18.0__classifier_model.sql +++ b/modules/store/src/main/resources/db/migration/mariadb/V1.18.0__classifier_model.sql @@ -24,7 +24,7 @@ update `classifier_setting` set `category_list_type` = 'whitelist'; update `classifier_setting` -set `categories` = concat('[`', category, '`]') +set `categories` = concat('["', `category`, '"]') where category is not null; update `classifier_setting`