diff --git a/lib/harmony/harmonydb/sql/20230712.sql b/lib/harmony/harmonydb/sql/20230712.sql index 37024b47116..168289f0900 100644 --- a/lib/harmony/harmonydb/sql/20230712.sql +++ b/lib/harmony/harmonydb/sql/20230712.sql @@ -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 (