mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-11-07 22:51:59 +01:00
db: schema fix for metadata.message_id and attachment.name
Signed-off-by: Janos SUTO <sj@acts.hu>
This commit is contained in:
parent
06b5954070
commit
7e2fdcaae2
@ -40,7 +40,7 @@ create table if not exists `metadata` (
|
||||
`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 @@ create table if not exists `attachment` (
|
||||
`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,
|
||||
|
Loading…
Reference in New Issue
Block a user