introduced a new group management feature

This commit is contained in:
SJ
2014-07-05 17:09:38 +02:00
parent d79b1f97c7
commit bdae1bab9d
11 changed files with 113 additions and 24 deletions

View File

@ -224,9 +224,9 @@ create table if not exists `group` (
create table if not exists `group_user` (
`id` bigint unsigned not null,
`uid` int unsigned not null,
`email` char(128) not null,
key `group_user_idx` (`id`),
key `group_user_idx2` (`uid`)
key `group_user_idx2` (`email`)
) ENGINE=InnoDB;

View File

@ -36,3 +36,13 @@ create unique index `entry` on archiving_rule (`domain`,`from`,`to`,`subject`,`_
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
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;