improved legal hold schema

This commit is contained in:
SJ 2015-04-05 13:18:35 +02:00
parent 1c57a4a1e4
commit d3e2a39210
2 changed files with 2 additions and 2 deletions

View File

@ -426,7 +426,7 @@ create table if not exists `autosearch` (
create table if not exists `legal_hold` (
email varchar(128) default not null
email varchar(128) unique not null
) Engine=InnoDB;

View File

@ -14,7 +14,7 @@ create unique index `entry` on retention_rule (`domain`,`from`,`to`,`subject`,`b
create index metadata_idx10 on metadata(`from`);
create table if not exists `legal_hold` (
email varchar(128) default not null
email varchar(128) unique not null
) Engine=InnoDB;