metadata scheme change to enable partitioning

This commit is contained in:
SJ 2013-01-10 11:32:19 +01:00
parent 7286eea90a
commit 654a5700fa
2 changed files with 4 additions and 1 deletions

View File

@ -51,7 +51,7 @@ create table if not exists `metadata` (
`digest` char(64) not null,
`bodydigest` char(64) not null,
`vcode` char(64) default null,
primary key (`id`), unique(`message_id`)
primary key (`id`)
) Engine=InnoDB;
create index metadata_idx on metadata(`piler_id`);

View File

@ -6,3 +6,6 @@ create table if not exists `domain_user` (
key `domain_user_idx2` (`uid`)
) ENGINE=InnoDB;
alter table metadata drop index message_id;