From 6b06da1a634b9f6b9a8afc9fae7ec4de0b2bfc5c Mon Sep 17 00:00:00 2001 From: Pierre HUBERT Date: Fri, 12 Mar 2021 22:21:28 +0100 Subject: [PATCH] Fix encoding in database structure --- docs/db_struct.sql | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/db_struct.sql b/docs/db_struct.sql index 591bf27..f202bb5 100644 --- a/docs/db_struct.sql +++ b/docs/db_struct.sql @@ -78,12 +78,12 @@ CREATE TABLE `comunic_conversations_messages` ( `conv_id` int DEFAULT NULL, `user_id` int DEFAULT NULL, `time_sent` int DEFAULT NULL, - `message` text, + `message` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci, `file_path` varchar(255) DEFAULT NULL, `file_size` int DEFAULT NULL, `file_name` varchar(255) DEFAULT NULL, `file_thumbnail` varchar(255) DEFAULT NULL, - `file_type` varchar(128) DEFAULT NULL, + `file_type` varchar(255) DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1;