mirror of
https://bitbucket.org/jsuto/piler.git
synced 2025-06-12 23:37:02 +02:00
introduced a new group management feature
This commit is contained in:
@ -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;
|
||||
|
||||
|
||||
|
@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user