per user folder feature initial commit

Change-Id: I4b1b90ac0e79e9886eb803dcc28171a5a07f2eda
Signed-off-by: SJ <sj@acts.hu>
This commit is contained in:
SJ
2016-07-27 22:55:43 +02:00
parent 2abdc19f7d
commit 397904fde7
10 changed files with 125 additions and 14 deletions

View File

@ -297,9 +297,12 @@ create table if not exists `folder_extra` (
create table if not exists `folder_message` (
folder_id bigint not null,
id bigint not null,
unique(folder_id, id)
`id` bigint unsigned auto_increment not null,
`folder_id` bigint not null,
`message_id` bigint not null,
`uid` int not null,
unique(`folder_id`, `message_id`, `uid`),
key (`id`)
) ENGINE=InnoDB;