sql upgrade script fix

This commit is contained in:
SJ 2015-06-02 13:18:05 +02:00
parent cdd78a5ad8
commit b992eb467d
2 changed files with 2 additions and 5 deletions

4
README
View File

@ -24,9 +24,9 @@ Features:
- AD / LDAP authentication - AD / LDAP authentication
- IMAP authentication - IMAP, POP3 authentication
- single sign-on - single sign-on (SSO)
- Google Apps support - Google Apps support

View File

@ -3,9 +3,6 @@
alter table archiving_rule add column `body` varchar(128) default null; alter table archiving_rule add column `body` varchar(128) default null;
alter table retention_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 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`); create unique index `entry` on retention_rule (`domain`,`from`,`to`,`subject`,`body`,`_size`,`size`,`attachment_name`,`attachment_type`,`_attachment_size`,`attachment_size`,`spam`);