From 028c899166fee74ef256c6179e72d380d353f85f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Milorad=20FIlipovi=C4=87?= Date: Mon, 17 Jul 2023 10:54:01 +0200 Subject: [PATCH] fix(editor): Fix mysql migration query for v1 banner (no-changelog) (#6669) fix(editor): Fix mysql migration query for v1 banner --- .../migrations/mysqldb/1646992772331-CreateUserManagement.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/cli/src/databases/migrations/mysqldb/1646992772331-CreateUserManagement.ts b/packages/cli/src/databases/migrations/mysqldb/1646992772331-CreateUserManagement.ts index 4a7fabd312..c227f457c3 100644 --- a/packages/cli/src/databases/migrations/mysqldb/1646992772331-CreateUserManagement.ts +++ b/packages/cli/src/databases/migrations/mysqldb/1646992772331-CreateUserManagement.ts @@ -156,7 +156,7 @@ export class CreateUserManagement1646992772331 implements ReversibleMigration { ); await queryRunner.query( - `INSERT INTO ${tablePrefix}settings (\`key\`, value, loadOnStartup) VALUES ("ui.banners.dismissed", "[\"V1\"]", 1)`, + `INSERT INTO ${tablePrefix}settings (\`key\`, value, loadOnStartup) VALUES ("ui.banners.dismissed", JSON_ARRAY('V1'), 1)`, ); }