diff --git a/models/intermediate/core/int_edeposit__verifications.sql b/models/intermediate/core/int_edeposit__verifications.sql index ebb170f..8440f50 100644 --- a/models/intermediate/core/int_edeposit__verifications.sql +++ b/models/intermediate/core/int_edeposit__verifications.sql @@ -3,10 +3,13 @@ with select * from {{ ref("stg_edeposit__verifications") }} ) select + -- note that these ids are not the same as the ones found in Core DWH + -- they are completely unrelated id as id_verification, id_booking, id_user as id_user_host, id_listing as id_accommodation, + version, -- V1 for Guesty and V2 for E-deposit case when version = 'V1' then 'Guesty' when version = 'V2' then 'Edeposit' else null end as verification_source,