From 1793b9ebbb3dcd0d3ea4e06846117fca762e823b Mon Sep 17 00:00:00 2001 From: Caio_Ribeiro Date: Tue, 26 Mar 2024 12:46:37 -0300 Subject: [PATCH] Add asset_id missing columns to both trustlines and offers stagings --- models/staging/stg_offers.sql | 2 ++ models/staging/stg_trust_lines.sql | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/models/staging/stg_offers.sql b/models/staging/stg_offers.sql index 4bd2702..de40c70 100644 --- a/models/staging/stg_offers.sql +++ b/models/staging/stg_offers.sql @@ -16,9 +16,11 @@ with , selling_asset_type , selling_asset_code , selling_asset_issuer + , selling_asset_id , buying_asset_type , buying_asset_code , buying_asset_issuer + , buying_asset_id , amount , pricen , priced diff --git a/models/staging/stg_trust_lines.sql b/models/staging/stg_trust_lines.sql index 2ca8556..5e8e70b 100644 --- a/models/staging/stg_trust_lines.sql +++ b/models/staging/stg_trust_lines.sql @@ -16,6 +16,7 @@ with , asset_type , asset_issuer , asset_code + , asset_id , liquidity_pool_id , balance , trust_line_limit @@ -35,4 +36,4 @@ with ) select * -from trust_lines +from trust_lines \ No newline at end of file