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 ;