From d257951c59169d11850486e0e907c712225e71fc Mon Sep 17 00:00:00 2001 From: Pierre HUBERT Date: Fri, 12 Mar 2021 22:20:25 +0100 Subject: [PATCH] Fix encoding --- docs/migration.sql | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/migration.sql b/docs/migration.sql index 303685a..605c6de 100644 --- a/docs/migration.sql +++ b/docs/migration.sql @@ -25,4 +25,8 @@ alter table comunic_conversations_list rename column last_active to last_activit alter table comunic_conversations_list add column color varchar(6), add column logo varchar(255), - add group_id int; \ No newline at end of file + add group_id int; + +-- Fix character encoding for messages +ALTER TABLE comunic_conversations_messages +CHANGE COLUMN `message` `message` TEXT CHARACTER SET 'utf8mb4' COLLATE 'utf8mb4_general_ci' NULL DEFAULT NULL ;