mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-12-25 21:40:13 +01:00
29 lines
1.6 KiB
SQL
29 lines
1.6 KiB
SQL
|
|
alter table `user_settings` add column `ga_enabled` int default 0;
|
|
alter table `user_settings` add column `ga_secret` varchar(255) default null;
|
|
|
|
create index metadata_idx9 on metadata(`sent`);
|
|
|
|
alter table archiving_rule change column `from` `from` varchar(128) default null;
|
|
alter table archiving_rule change column `to` `to` varchar(128) default null;
|
|
alter table archiving_rule change column `subject` `subject` varchar(128) default null;
|
|
alter table retention_rule change column `from` `from` varchar(128) default null;
|
|
alter table retention_rule change column `to` `to` varchar(128) default null;
|
|
alter table retention_rule change column `subject` `subject` 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 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`);
|
|
|
|
|
|
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_distributionlist_attr varchar(128) default null;
|
|
alter table ldap add column ldap_distributionlist_objectclass varchar(128) default null;
|
|
|