From 93a46643322f29143b27cfb5b92fd1b6dc6c171e Mon Sep 17 00:00:00 2001 From: Joaquin Ossa Date: Mon, 15 Jul 2024 08:54:11 +0200 Subject: [PATCH] Added booking_source to reporting model core__guest_satisfaction_responses --- .../core/core__guest_satisfaction_responses.sql | 1 + models/reporting/core/schema.yaml | 15 +++++++++++++++ 2 files changed, 16 insertions(+) diff --git a/models/reporting/core/core__guest_satisfaction_responses.sql b/models/reporting/core/core__guest_satisfaction_responses.sql index a848214..342bde7 100644 --- a/models/reporting/core/core__guest_satisfaction_responses.sql +++ b/models/reporting/core/core__guest_satisfaction_responses.sql @@ -7,6 +7,7 @@ select id_verification_request as id_verification_request, id_user_guest as id_user_guest, guest_email as guest_email, + verification_request_booking_source as verification_request_booking_source, experience_rating as experience_rating, guest_comments as guest_comments, is_contactable as is_contactable, diff --git a/models/reporting/core/schema.yaml b/models/reporting/core/schema.yaml index f154414..e12a0a7 100644 --- a/models/reporting/core/schema.yaml +++ b/models/reporting/core/schema.yaml @@ -806,6 +806,21 @@ models: data_type: character varying description: Guest email + - name: verification_request_booking_source + data_type: text + description: + Source type of host of the booking, this could be either; + - PMS + - OSL + - API/MANUAL + tests: + - not_null + - accepted_values: + values: + - 'PMS' + - 'OSL' + - 'API/MANUAL' + - name: experience_rating data_type: bigint description: