Merge pull request #2125 from filecoin-project/fix/cw-state-heights-index
chainwatch: state_heights_uindex is not unique
This commit is contained in:
commit
7d9f9ba756
@ -118,7 +118,7 @@ create unique index if not exists block_cid_uindex
|
|||||||
create materialized view if not exists state_heights
|
create materialized view if not exists state_heights
|
||||||
as select distinct height, parentstateroot from blocks;
|
as select distinct height, parentstateroot from blocks;
|
||||||
|
|
||||||
create unique index if not exists state_heights_uindex
|
create index if not exists state_heights_index
|
||||||
on state_heights (height);
|
on state_heights (height);
|
||||||
|
|
||||||
create index if not exists state_heights_height_index
|
create index if not exists state_heights_height_index
|
||||||
|
Loading…
Reference in New Issue
Block a user