mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-11-08 05:11:59 +01:00
metadata scheme change to enable partitioning
This commit is contained in:
parent
7286eea90a
commit
654a5700fa
@ -51,7 +51,7 @@ create table if not exists `metadata` (
|
|||||||
`digest` char(64) not null,
|
`digest` char(64) not null,
|
||||||
`bodydigest` char(64) not null,
|
`bodydigest` char(64) not null,
|
||||||
`vcode` char(64) default null,
|
`vcode` char(64) default null,
|
||||||
primary key (`id`), unique(`message_id`)
|
primary key (`id`)
|
||||||
) Engine=InnoDB;
|
) Engine=InnoDB;
|
||||||
|
|
||||||
create index metadata_idx on metadata(`piler_id`);
|
create index metadata_idx on metadata(`piler_id`);
|
||||||
|
@ -6,3 +6,6 @@ create table if not exists `domain_user` (
|
|||||||
key `domain_user_idx2` (`uid`)
|
key `domain_user_idx2` (`uid`)
|
||||||
) ENGINE=InnoDB;
|
) ENGINE=InnoDB;
|
||||||
|
|
||||||
|
|
||||||
|
alter table metadata drop index message_id;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user