feat(chainwatch): Add miner index on top_miners_by_base_reward view
This commit is contained in:
parent
7bfcff2c18
commit
c3cc2eea46
@ -64,7 +64,10 @@ create materialized view if not exists top_miners_by_base_reward as
|
||||
miner,
|
||||
total_reward
|
||||
from total_rewards_by_miner
|
||||
group by 2, 3
|
||||
group by 2, 3;
|
||||
|
||||
create index if not exists top_miners_by_base_reward_miner_index
|
||||
on top_miners_by_base_reward (miner);
|
||||
`); err != nil {
|
||||
return err
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user