diff --git a/lib/harmony/harmonydb/sql/20231217-sdr-pipeline.sql b/lib/harmony/harmonydb/sql/20231217-sdr-pipeline.sql index 3a75d8a96..31f103139 100644 --- a/lib/harmony/harmonydb/sql/20231217-sdr-pipeline.sql +++ b/lib/harmony/harmonydb/sql/20231217-sdr-pipeline.sql @@ -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, diff --git a/lib/harmony/harmonydb/sql/20240402-sdr-pipeline-ddo-deal-info.sql b/lib/harmony/harmonydb/sql/20240402-sdr-pipeline-ddo-deal-info.sql new file mode 100644 index 000000000..2230ef574 --- /dev/null +++ b/lib/harmony/harmonydb/sql/20240402-sdr-pipeline-ddo-deal-info.sql @@ -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;