Removed bookings_id so we have unique values for id_verification_request, added details as to how we classify the hosts
This commit is contained in:
parent
5efd91dfbb
commit
db04615039
2 changed files with 20 additions and 10 deletions
|
|
@ -950,6 +950,14 @@ models:
|
|||
This model contains information on verification requests
|
||||
and the category type of host that manages the associated
|
||||
booking.
|
||||
For PMS we use the id_integration from stg_core__booking,
|
||||
if it isn't Null then the host is PMS type.
|
||||
For OSL we use the id_one_step_link from stg_core__verification_request,
|
||||
similarly if it isn't Null then the host is OSL type.
|
||||
Finally if both id_integration and id_one_step_link are Null,
|
||||
then we classify them as API/MANUAL. (At this point we can't
|
||||
differentiate between these 2 categories so for now we keep
|
||||
them together)
|
||||
|
||||
columns:
|
||||
- name: id_verification_request
|
||||
|
|
@ -960,6 +968,7 @@ models:
|
|||
be associated to more than 1 booking
|
||||
tests:
|
||||
- not_null
|
||||
- unique
|
||||
|
||||
- name: id_user_guest
|
||||
data_type: character varying
|
||||
|
|
@ -975,15 +984,16 @@ models:
|
|||
description:
|
||||
Date of creation of the verification request
|
||||
|
||||
- name: id_booking
|
||||
data_type: bigint
|
||||
description:
|
||||
Id value for the booking
|
||||
|
||||
- name: source
|
||||
data_type: text
|
||||
description:
|
||||
Source type of host of the booking, this could be either;
|
||||
- PMS
|
||||
- OSL
|
||||
- API or Manual
|
||||
- API/MANUAL
|
||||
tests:
|
||||
- accepted_values:
|
||||
values:
|
||||
- 'PMS'
|
||||
- 'OSL'
|
||||
- 'API/MANUAL'
|
||||
Loading…
Add table
Add a link
Reference in a new issue