mirror of
https://bitbucket.org/jsuto/piler.git
synced 2025-07-02 05:33:18 +02:00
per user folder feature initial commit
Change-Id: I4b1b90ac0e79e9886eb803dcc28171a5a07f2eda Signed-off-by: SJ <sj@acts.hu>
This commit is contained in:
@ -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;
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user