add verification payment type

This commit is contained in:
Pablo Martin 2024-03-08 17:56:15 +01:00
parent 606eed9754
commit 999ae0dd10
2 changed files with 18 additions and 2 deletions

View file

@ -99,9 +99,9 @@ sources:
- name: CreatedUserId
data_type: character varying
quote: True
description: |
description: |
A user can be created by another user. If this user has been created by another user, this is the UUID of the creator.
Else, this is null.
tests:
- dbt_expectations.expect_column_values_to_match_regex:
@ -171,3 +171,5 @@ sources:
identifier: SuperhogUser
- name: VerificationToPayment
identifier: VerificationToPayment
- name: VerificationPaymentType
identifier: VerificationPaymentType

View file

@ -0,0 +1,14 @@
with
raw_verificationpaymenttype as (
select * from {{ source("core", "VerificationPaymentType") }}
),
stg_core__verification_payment_type as (
select
{{ adapter.quote("Id") }} as id_verification_payment_type,
{{ adapter.quote("Name") }} as verification_payment_type,
{{ adapter.quote("_airbyte_extracted_at") }} as dwh_extracted_date_utc
from raw_verificationpaymenttype
)
select *
from stg_core__verification_payment_type