fix(editor): Fix mysql migration query for v1 banner (no-changelog) (#6669)

fix(editor): Fix mysql migration query for v1 banner
This commit is contained in:
Milorad FIlipović 2023-07-17 10:54:01 +02:00 committed by GitHub
parent 4240e76253
commit 028c899166
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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)`,
);
}