From 180a13734dae249c54b234921613685b4ca317da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Romain=20D=C3=A9nari=C3=A9?= Date: Thu, 7 Nov 2024 16:27:44 +0100 Subject: [PATCH] fix: Update default charset and collation for mysql - EXO-75202 With mysql 8.4, the default charset and collation are updated from UTF to UTF8MB4. In addition NVARCHAR is now deprecated and replaced by VARCHAR. This commit adapt liquibase changes in order to apply this change. --- .../jcr-index.db.changelog-1.0.0.xml | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/exo.jcr.ext.services/src/main/resources/db/changelog/jcr-index.db.changelog-1.0.0.xml b/exo.jcr.ext.services/src/main/resources/db/changelog/jcr-index.db.changelog-1.0.0.xml index ecd57d54e6..e2ebc6240c 100644 --- a/exo.jcr.ext.services/src/main/resources/db/changelog/jcr-index.db.changelog-1.0.0.xml +++ b/exo.jcr.ext.services/src/main/resources/db/changelog/jcr-index.db.changelog-1.0.0.xml @@ -17,10 +17,10 @@ - + - + @@ -34,7 +34,7 @@ - + @@ -45,12 +45,12 @@ - + - + @@ -62,5 +62,10 @@ - - \ No newline at end of file + + + ALTER TABLE JCR_INDEXING_QUEUE CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci; + ALTER TABLE JCR_INDEXING_QUEUE_NODES CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci; + + +