1
0
mirror of https://gitlab.com/comunic/comunicapiv3 synced 2024-11-22 13:29:21 +00:00

Fix encoding in database structure

This commit is contained in:
Pierre HUBERT 2021-03-12 22:21:28 +01:00
parent d257951c59
commit 6b06da1a63

View File

@ -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;