mirror of
https://bitbucket.org/jsuto/piler.git
synced 2025-06-12 23:47:02 +02:00
improved multitenancy support
This commit is contained in:
@ -242,6 +242,14 @@ create table if not exists `group_email` (
|
||||
) ENGINE=InnoDB;
|
||||
|
||||
|
||||
create table if not exists `domain_user` (
|
||||
`domain` char(64) not null,
|
||||
`uid` int unsigned not null,
|
||||
key `domain_user_idx` (`domain`),
|
||||
key `domain_user_idx2` (`uid`)
|
||||
) ENGINE=InnoDB;
|
||||
|
||||
|
||||
create table if not exists `folder` (
|
||||
`id` int not null auto_increment,
|
||||
`parent_id` int default 0,
|
||||
|
8
util/db-upgrade-0.1.22-vs-0.1.23.sql
Normal file
8
util/db-upgrade-0.1.22-vs-0.1.23.sql
Normal file
@ -0,0 +1,8 @@
|
||||
|
||||
create table if not exists `domain_user` (
|
||||
`domain` char(64) not null,
|
||||
`uid` int unsigned not null,
|
||||
key `domain_user_idx` (`domain`),
|
||||
key `domain_user_idx2` (`uid`)
|
||||
) ENGINE=InnoDB;
|
||||
|
Reference in New Issue
Block a user