diff --git a/util/db-mysql.sql b/util/db-mysql.sql index f8fafdbf..9de729d2 100644 --- a/util/db-mysql.sql +++ b/util/db-mysql.sql @@ -8,7 +8,7 @@ create table if not exists `sph_counter` ( create table if not exists `sph_index` ( `id` bigint not null, - `from` char(255) default null, + `from` tinyblob default null, `to` text(8192) default null, `fromdomain` char(255) default null, `todomain` text(512) default null, @@ -27,7 +27,7 @@ create table if not exists `sph_index` ( create table if not exists `metadata` ( `id` bigint unsigned not null auto_increment, - `from` varchar(128) not null, + `from` varchar(255) not null, `fromdomain` varchar(64) not null, `subject` blob(512) default null, `spam` tinyint(1) default 0,