mirror of
https://bitbucket.org/jsuto/piler.git
synced 2025-06-13 03:07:02 +02:00
attachment name rule fix
This commit is contained in:
@ -7,3 +7,9 @@ create index metadata_idx9 on metadata(`sent`);
|
||||
alter table archiving_rule add column `attachment_name` varchar(128) default null;
|
||||
alter table retention_rule add column `attachment_name` varchar(128) default null;
|
||||
|
||||
alter table archiving_rule drop index `from`;
|
||||
create unique index `entry` on archiving_rule (`domain`,`from`,`to`,`subject`,`_size`,`size`,`attachment_name`,`attachment_type`,`_attachment_size`,`attachment_size`,`spam`);
|
||||
|
||||
alter table retention_rule drop index `entry`;
|
||||
create unique index `entry` on retention_rule (`domain`,`from`,`to`,`subject`,`_size`,`size`,`attachment_name`,`attachment_type`,`_attachment_size`,`attachment_size`,`spam`);
|
||||
|
||||
|
Reference in New Issue
Block a user