From 037e42d02de807e227ada11e469da96da4fa627e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Romain=20D=C3=A9nari=C3=A9?= Date: Thu, 7 Nov 2024 16:37:56 +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. Resolves Meeds-io/meeds#2564 --- .../push-notifications.db.changelog-1.0.0.xml | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/service/src/main/resources/db/changelog/push-notifications.db.changelog-1.0.0.xml b/service/src/main/resources/db/changelog/push-notifications.db.changelog-1.0.0.xml index 99e71b6d..ea9bd73f 100644 --- a/service/src/main/resources/db/changelog/push-notifications.db.changelog-1.0.0.xml +++ b/service/src/main/resources/db/changelog/push-notifications.db.changelog-1.0.0.xml @@ -33,17 +33,19 @@ Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + 9:d8b93b8958add435081f72f023a0ccfb + 9:b2e263d54f554c78747d2435d05de181 - + - + - + @@ -51,7 +53,7 @@ Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - + @@ -65,7 +67,12 @@ Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + + + ALTER TABLE MSG_DEVICES CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci; + + - \ No newline at end of file +