mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-12-24 19:20:12 +01:00
fixed upgrade script
This commit is contained in:
parent
420f9a1c07
commit
a5b7f1f947
@ -14,12 +14,6 @@ alter table retention_rule change column `subject` `subject` varchar(128) defaul
|
|||||||
alter table archiving_rule add column `attachment_name` varchar(128) default null;
|
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 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`);
|
|
||||||
|
|
||||||
create unique index `entry` on retention_rule (`domain`,`from`,`to`,`subject`,`_size`,`size`,`attachment_name`,`attachment_type`,`_attachment_size`,`attachment_size`,`spam`);
|
|
||||||
|
|
||||||
|
|
||||||
alter table ldap add column ldap_mail_attr varchar(128) default null;
|
alter table ldap add column ldap_mail_attr varchar(128) default null;
|
||||||
alter table ldap add column ldap_account_objectclass varchar(128) default null;
|
alter table ldap add column ldap_account_objectclass varchar(128) default null;
|
||||||
alter table ldap add column ldap_distributionlist_attr varchar(128) default null;
|
alter table ldap add column ldap_distributionlist_attr varchar(128) default null;
|
||||||
@ -35,3 +29,7 @@ create table if not exists `autosearch` (
|
|||||||
) Engine=InnoDB;
|
) Engine=InnoDB;
|
||||||
|
|
||||||
|
|
||||||
|
create unique index `entry` on archiving_rule (`domain`,`from`,`to`,`subject`,`_size`,`size`,`attachment_name`,`attachment_type`,`_attachment_size`,`attachment_size`,`spam`);
|
||||||
|
|
||||||
|
create unique index `entry` on retention_rule (`domain`,`from`,`to`,`subject`,`_size`,`size`,`attachment_name`,`attachment_type`,`_attachment_size`,`attachment_size`,`spam`);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user