2013-10-16 14:55:17 +02:00
|
|
|
|
|
|
|
alter table `user_settings` add column `ga_enabled` int default 0;
|
|
|
|
alter table `user_settings` add column `ga_secret` varchar(255) default null;
|
|
|
|
|
2013-10-19 10:39:10 +02:00
|
|
|
create index metadata_idx9 on metadata(`sent`);
|
|
|
|
|
2014-01-08 13:32:50 +01:00
|
|
|
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;
|
|
|
|
|
2013-11-11 11:34:00 +01:00
|
|
|
alter table archiving_rule add column `attachment_name` varchar(128) default null;
|
|
|
|
alter table retention_rule add column `attachment_name` varchar(128) default null;
|
2013-10-19 10:39:10 +02:00
|
|
|
|
2014-01-15 14:47:30 +01:00
|
|
|
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;
|
|
|
|
|
2014-04-24 10:18:29 +02:00
|
|
|
alter table google change column id id char(32) not null;
|
2014-01-16 23:02:23 +01:00
|
|
|
alter table google_imap change column id id char(32) not null primary key;
|
|
|
|
|
2014-01-24 14:23:49 +01:00
|
|
|
|
|
|
|
create table if not exists `autosearch` (
|
|
|
|
`id` int not null auto_increment primary key,
|
|
|
|
`query` varchar(512) not null
|
|
|
|
) Engine=InnoDB;
|
|
|
|
|
|
|
|
|
2014-05-05 15:26:42 +02:00
|
|
|
alter table `counter` add column `stored_size` bigint unsigned default 0;
|
|
|
|
|
|
|
|
|
2014-05-03 19:13:30 +02:00
|
|
|
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`);
|
|
|
|
|
2014-07-05 17:09:38 +02:00
|
|
|
-- 2014.07.05
|
|
|
|
drop table if exists `group_user`;
|
|
|
|
|
|
|
|
create table if not exists `group_user` (
|
|
|
|
`id` bigint unsigned not null,
|
|
|
|
`email` char(128) not null,
|
|
|
|
key `group_user_idx` (`id`),
|
|
|
|
key `group_user_idx2` (`email`)
|
|
|
|
) ENGINE=InnoDB;
|
|
|
|
|