mirror of
https://gitlab.com/comunic/comunicapiv3
synced 2024-11-22 21:39:21 +00:00
Fix encoding in database structure
This commit is contained in:
parent
d257951c59
commit
6b06da1a63
@ -78,12 +78,12 @@ CREATE TABLE `comunic_conversations_messages` (
|
|||||||
`conv_id` int DEFAULT NULL,
|
`conv_id` int DEFAULT NULL,
|
||||||
`user_id` int DEFAULT NULL,
|
`user_id` int DEFAULT NULL,
|
||||||
`time_sent` 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_path` varchar(255) DEFAULT NULL,
|
||||||
`file_size` int DEFAULT NULL,
|
`file_size` int DEFAULT NULL,
|
||||||
`file_name` varchar(255) DEFAULT NULL,
|
`file_name` varchar(255) DEFAULT NULL,
|
||||||
`file_thumbnail` 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`)
|
PRIMARY KEY (`id`)
|
||||||
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
|
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user