mirror of
https://bitbucket.org/jsuto/piler.git
synced 2025-06-13 01:37:02 +02:00
improved the expert search
This commit is contained in:
@ -62,14 +62,6 @@ create index metadata_idx5 on metadata(`deleted`);
|
||||
create index metadata_idx6 on metadata(`arrived`);
|
||||
create index metadata_idx7 on metadata(`retained`);
|
||||
|
||||
drop table if exists `folder`;
|
||||
create table if not exists `folder` (
|
||||
`id` int not null auto_increment,
|
||||
`parent_id` int default 0,
|
||||
`name` char(64) not null unique,
|
||||
primary key (`id`)
|
||||
) Engine=InnoDB;
|
||||
|
||||
|
||||
drop table if exists `rcpt`;
|
||||
create table if not exists `rcpt` (
|
||||
@ -246,6 +238,21 @@ create table if not exists `group_email` (
|
||||
) ENGINE=InnoDB;
|
||||
|
||||
|
||||
create table if not exists `folder` (
|
||||
`id` int not null auto_increment,
|
||||
`parent_id` int default 0,
|
||||
`name` char(64) not null unique,
|
||||
primary key (`id`)
|
||||
) Engine=InnoDB;
|
||||
|
||||
|
||||
create table if not exists `notes` (
|
||||
`id` bigint unsigned not null,
|
||||
`note` text default null,
|
||||
key `notes_idx` (`id`)
|
||||
) ENGINE=InnoDB;
|
||||
|
||||
|
||||
create table if not exists `remote` (
|
||||
`remotedomain` char(64) not null primary key,
|
||||
`remotehost` char(64) not null,
|
||||
|
@ -1,6 +1,5 @@
|
||||
alter table `sph_index` add column `folder` int default 0;
|
||||
|
||||
drop table if exists `folder`;
|
||||
create table if not exists `folder` (
|
||||
`id` int not null auto_increment,
|
||||
`parent_id` int default 0,
|
||||
@ -8,4 +7,9 @@ create table if not exists `folder` (
|
||||
primary key (`id`)
|
||||
) Engine=InnoDB;
|
||||
|
||||
create table if not exists `notes` (
|
||||
`id` bigint unsigned not null,
|
||||
`note` text default null,
|
||||
key `notes_idx` (`id`)
|
||||
) ENGINE=InnoDB;
|
||||
|
||||
|
Reference in New Issue
Block a user