chainwatch: Fix message index creation

This commit is contained in:
Łukasz Magiera 2020-03-09 19:18:30 +01:00
parent 70552e3e0d
commit 946fff39a6
2 changed files with 4 additions and 3 deletions

View File

@ -78,7 +78,8 @@ var runCmd = &cli.Command{
return err
}
log.Info("Remote version: %s", v.Version)
log.Infof("Remote version: %s", v.Version)
maxBatch := cctx.Int("max-batch")

View File

@ -175,10 +175,10 @@ create table if not exists messages
create unique index if not exists messages_cid_uindex
on messages (cid);
create index messages_from_index
create index if not exists messages_from_index
on messages ("from");
create index messages_to_index
create index if not exists messages_to_index
on messages ("to");
create table if not exists block_messages