mirror of
https://bitbucket.org/jsuto/piler.git
synced 2025-06-12 23:37:02 +02:00
improved the format of the attachment pointer
This commit is contained in:
@ -77,8 +77,9 @@ create index `attachment_idx2` on `attachment`(`sig`);
|
||||
drop table if exists `tag`;
|
||||
create table if not exists `tag` (
|
||||
`id` bigint not null unique,
|
||||
`uid` int not null,
|
||||
`tag` char(255) default null
|
||||
);
|
||||
) ENGINE=InnoDB;
|
||||
|
||||
|
||||
drop table if exists `archiving_rule`;
|
||||
@ -95,6 +96,20 @@ create table if not exists `archiving_rule` (
|
||||
primary key (`id`)
|
||||
) ENGINE=InnoDB;
|
||||
|
||||
|
||||
drop table if exists `retention_rule`;
|
||||
create table if not exists `retention_rule` (
|
||||
`id` bigint unsigned not null auto_increment,
|
||||
|
||||
`subject` char(255) default null,
|
||||
|
||||
`days` int not null,
|
||||
|
||||
primary key (`id`)
|
||||
|
||||
) ENGINE=InnoDB;
|
||||
|
||||
|
||||
drop table if exists `counter`;
|
||||
create table if not exists `counter` (
|
||||
`rcvd` bigint unsigned default 0,
|
||||
@ -104,6 +119,7 @@ create table if not exists `counter` (
|
||||
|
||||
insert into `counter` values(0, 0, 0);
|
||||
|
||||
|
||||
drop table if exists `search`;
|
||||
create table if not exists `search` (
|
||||
`email` char(128) not null,
|
||||
|
Reference in New Issue
Block a user