mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-11-08 00:41:59 +01:00
21 lines
766 B
SQL
21 lines
766 B
SQL
-- 2015.03.10
|
|
|
|
alter table archiving_rule add column `body` varchar(128) default null;
|
|
alter table retention_rule add column `body` varchar(128) default null;
|
|
|
|
--drop index entry on archiving_rule;
|
|
--drop index entry on retention_rule;
|
|
|
|
create unique index `entry` on archiving_rule (`domain`,`from`,`to`,`subject`,`body`,`_size`,`size`,`attachment_name`,`attachment_type`,`_attachment_size`,`attachment_size`,`spam`);
|
|
create unique index `entry` on retention_rule (`domain`,`from`,`to`,`subject`,`body`,`_size`,`size`,`attachment_name`,`attachment_type`,`_attachment_size`,`attachment_size`,`spam`);
|
|
|
|
-- 2015.03.29
|
|
|
|
create index metadata_idx10 on metadata(`from`);
|
|
|
|
create table if not exists `legal_hold` (
|
|
email varchar(128) unique not null
|
|
) Engine=InnoDB;
|
|
|
|
|