From 6ad203b92f70fae7ecb9a90684e3b1662775690c Mon Sep 17 00:00:00 2001 From: Pablo Martin Date: Wed, 19 Jun 2024 18:18:38 +0200 Subject: [PATCH] add some comments --- models/staging/stripe/_stripe_sources.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/models/staging/stripe/_stripe_sources.yml b/models/staging/stripe/_stripe_sources.yml index 2d378fa..4b602a6 100644 --- a/models/staging/stripe/_stripe_sources.yml +++ b/models/staging/stripe/_stripe_sources.yml @@ -3,6 +3,12 @@ version: 2 # The design of this source was heavily inspired by this post: # https://discourse.getdbt.com/t/unioning-identically-structured-data-sources/921 +# It reads two different schemas (stripe_uk and stripe_us) that have exactly the +# same table structure. To save work, we use YAML anchors (see the funny syntax) +# under sources > stripe_uk > tables and sources > stripe_us > tables. +# Basically, if you change anything in the stripe_uk section, changes will +# happen in both schemas. + sources: - name: stripe_uk description: Data from our Stripe UK account. @@ -151,7 +157,9 @@ sources: "refund", "topup", "dispute", - "other_adjustment" + "other_adjustment", + "refund_failure", + "dispute_reversal" ] - name: _airbyte_raw_id data_type: character varying