mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-12-24 18:40:13 +01:00
fixed sql upgrade script
This commit is contained in:
parent
925b108457
commit
fe78d817d4
@ -3,6 +3,9 @@
|
|||||||
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`);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user