chainwatch: Fix message index creation
This commit is contained in:
parent
70552e3e0d
commit
946fff39a6
@ -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")
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user