Merge pull request #11472 from filecoin-project/fix/dbindex-readrefs

path index: dbindex: Fix sector_location schema
This commit is contained in:
Andrew Jackson (Ajax)
2023-12-01 12:24:03 -06:00
committed by GitHub
+4
View File
@@ -13,7 +13,11 @@ create table sector_location
primary key (miner_id, sector_num, sector_filetype, storage_id)
);
alter table lotus.sector_location
alter column read_refs set not null;
alter table lotus.sector_location
alter column read_refs set default 0;
create table storage_path
(