diff --git a/models/staging/stripe/_stripe_sources.yml b/models/staging/stripe/_stripe_sources.yml index e6e3dcc..2d378fa 100644 --- a/models/staging/stripe/_stripe_sources.yml +++ b/models/staging/stripe/_stripe_sources.yml @@ -1,9 +1,13 @@ version: 2 +# The design of this source was heavily inspired by this post: +# https://discourse.getdbt.com/t/unioning-identically-structured-data-sources/921 + sources: - name: stripe_uk + description: Data from our Stripe UK account. schema: sync_stripe_uk - tables: + tables: &stripe_tables - name: balance_transactions identifier: balance_transactions description: | @@ -715,3 +719,7 @@ sources: - name: _airbyte_meta data_type: jsonb description: "{{ doc('_airbyte_meta_desc') }}" + - name: stripe_us + description: Data from our Stripe US account. + schema: sync_stripe_us + tables: *stripe_tables