Fixed the sph_index column types to handle non utf8 or broken utf8 data as well

Signed-off-by: Janos SUTO <sj@acts.hu>
This commit is contained in:
Janos SUTO 2022-01-04 14:21:34 +01:00
parent 4bd447b105
commit f1cc01b81f

View File

@ -9,9 +9,9 @@ create table if not exists `sph_counter` (
create table if not exists `sph_index` ( create table if not exists `sph_index` (
`id` bigint not null, `id` bigint not null,
`from` tinyblob default null, `from` tinyblob default null,
`to` text(8192) default null, `to` blob(8192) default null,
`fromdomain` char(255) default null, `fromdomain` tinyblob default null,
`todomain` text(512) default null, `todomain` blob(512) default null,
`subject` blob(512) default null, `subject` blob(512) default null,
`arrived` int unsigned not null, `arrived` int unsigned not null,
`sent` int unsigned not null, `sent` int unsigned not null,