improved the format of the attachment pointer

This commit is contained in:
SJ
2011-12-06 11:29:36 +01:00
parent 67b6b44839
commit b8e321fc9d
3 changed files with 21 additions and 3 deletions

View File

@ -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,