Merge pull request #2125 from filecoin-project/fix/cw-state-heights-index

chainwatch: state_heights_uindex is not unique
This commit is contained in:
Łukasz Magiera authored and GitHub committed 2020-06-24 14:55:42 +02:00
commit 7d9f9ba756
1 file changed
+1 -1
+1 -1
View File
@@ -118,7 +118,7 @@ create unique index if not exists block_cid_uindex
create materialized view if not exists state_heights
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);
create index if not exists state_heights_height_index