added domain field to rules

This commit is contained in:
SJ
2013-07-31 09:10:26 +02:00
parent 3d3e1d777e
commit 7ea15b5b05
8 changed files with 52 additions and 17 deletions

View File

@ -105,6 +105,7 @@ create table if not exists `tag` (
create table if not exists `archiving_rule` (
`id` bigint unsigned not null auto_increment,
`domain` varchar(255) default null,
`from` char(128) default null,
`to` char(255) default null,
`subject` char(255) default null,
@ -122,6 +123,7 @@ create table if not exists `archiving_rule` (
create table if not exists `retention_rule` (
`id` bigint unsigned not null auto_increment,
`domain` varchar(255) default null,
`from` char(128) default null,
`to` char(255) default null,
`subject` char(255) default null,

View File

@ -4,6 +4,10 @@ alter table `audit` add column `domain` varchar(128) not null;
create index `audit_idx5` on `audit`(`domain`);
alter table archiving_rule add column domain varchar(255) default null;
alter table retention_rule add column domain varchar(255) default null;
create table if not exists `ldap` (
`id` int not null auto_increment primary key,
`description` varchar(255) not null,