feat: curio: Add schemas for DDO deal support (#11805)
This commit is contained in:
parent
a40cced0d9
commit
23a3c74720
@ -115,6 +115,12 @@ create table sectors_sdr_initial_pieces (
|
||||
f05_deal_start_epoch bigint,
|
||||
f05_deal_end_epoch bigint,
|
||||
|
||||
-- ddo deal info
|
||||
-- added in 20240402-sdr-pipeline-ddo-deal-info.sql
|
||||
-- direct_start_epoch bigint,
|
||||
-- direct_end_epoch bigint,
|
||||
-- direct_piece_activation_manifest jsonb,
|
||||
|
||||
-- foreign key
|
||||
foreign key (sp_id, sector_number) references sectors_sdr_pipeline (sp_id, sector_number) on delete cascade,
|
||||
|
||||
|
@ -0,0 +1,8 @@
|
||||
ALTER TABLE sectors_sdr_initial_pieces
|
||||
ADD COLUMN direct_start_epoch BIGINT;
|
||||
|
||||
ALTER TABLE sectors_sdr_initial_pieces
|
||||
ADD COLUMN direct_end_epoch BIGINT;
|
||||
|
||||
ALTER TABLE sectors_sdr_initial_pieces
|
||||
ADD COLUMN direct_piece_activation_manifest JSONB;
|
Loading…
Reference in New Issue
Block a user