From 006ccef547ca10c38105c57c5c91a22ce7d29860 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Romain=20D=C3=A9nari=C3=A9?= Date: Mon, 4 Nov 2024 17:53:22 +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. --- .../changelog/agenda-rdbms.db.changelog.xml | 66 +++++++++++++------ 1 file changed, 47 insertions(+), 19 deletions(-) diff --git a/agenda-services/src/main/resources/db/changelog/agenda-rdbms.db.changelog.xml b/agenda-services/src/main/resources/db/changelog/agenda-rdbms.db.changelog.xml index 0b7e9db3b..e244e3c3f 100644 --- a/agenda-services/src/main/resources/db/changelog/agenda-rdbms.db.changelog.xml +++ b/agenda-services/src/main/resources/db/changelog/agenda-rdbms.db.changelog.xml @@ -25,6 +25,8 @@ + 9:b15bee7b054fbf642b28d722b3029b4d + 9:95ed708605e433081276ea894a20ecf2 @@ -33,31 +35,35 @@ - - + + - + + 9:070dbf24bf50b6695cd77c8ab5176d10 + 9:9e8cf87c8007c44375872eed6ee87ae8 - + - + + 9:65a1f4bc0c72aa10c3f6a40ea66b05f4 + 9:bb230b3cbf0b6676fb9daccf62b2b2e6 @@ -80,10 +86,10 @@ - + - - + + @@ -91,11 +97,12 @@ - + + 9:14a1e731d976df83d364a94f0ef5b031 @@ -111,11 +118,12 @@ - + + 9:f6417ec55733154121b59ac2c2421ce1 @@ -130,11 +138,12 @@ - + + 9:31580c5ea4069126f608eae1ffb737c6 @@ -150,11 +159,12 @@ - + + 9:44b847790369418e7c0cf746464ced8b @@ -167,11 +177,12 @@ - + + 9:065e51267af28fe824d62b1277aa81b9 @@ -189,7 +200,7 @@ - + @@ -249,8 +260,9 @@ + 9:7b49b943c80d4d54aca05e17a0e6fc6a - + @@ -366,6 +378,8 @@ + 9:40e26ee1656d821f32bdaf065b093a7e + 9:a13595b1e99e8e9f99a9d051ee479b77 @@ -373,12 +387,12 @@ - + - + @@ -393,14 +407,28 @@ + 9:aa4e6a42a00fdeb2b8dca9b771419fc4 - + + 9:486ea8fd17138980551cb9e228fabdd5 - + + + + + ALTER TABLE EXO_AGENDA_CALENDAR CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci; + ALTER TABLE EXO_AGENDA_REMOTE_PROVIDER CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci; + ALTER TABLE EXO_AGENDA_EVENT CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci; + ALTER TABLE EXO_AGENDA_RECURRENCE CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci; + ALTER TABLE EXO_AGENDA_CONFERENCE CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci; + ALTER TABLE EXO_AGENDA_ATTENDEE CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci; + ALTER TABLE EXO_AGENDA_REMINDER CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci; + +