diff --git a/util/db-mysql.sql b/util/db-mysql.sql index 241b21b..f8fafdb 100644 --- a/util/db-mysql.sql +++ b/util/db-mysql.sql @@ -40,7 +40,7 @@ `direction` int default 0, `attachments` int default 0, `piler_id` char(36) not null, - `message_id` varchar(128) not null, + `message_id` varchar(255) not null, `reference` char(64) not null, `digest` char(64) not null, `bodydigest` char(64) not null, @@ -80,7 +80,7 @@ `id` bigint unsigned not null auto_increment, `piler_id` char(36) not null, `attachment_id` int not null, - `name` varchar(128) default null, + `name` tinyblob default null, `type` varchar(128) default null, `sig` char(64) not null, `size` int default 0,