chainwatch: state_heights_uindex is not unique

This commit is contained in:
Łukasz Magiera 2020-06-24 14:34:53 +02:00
parent f1e686f706
commit 358b36bc66

View File

@ -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