Added has_verification_request
This commit is contained in:
parent
361342af98
commit
c710de7117
4 changed files with 27 additions and 0 deletions
|
|
@ -10,6 +10,9 @@ with
|
||||||
select
|
select
|
||||||
bts.id_booking,
|
bts.id_booking,
|
||||||
bts.id_verification_request,
|
bts.id_verification_request,
|
||||||
|
case
|
||||||
|
when bts.id_verification_request is null then false else true
|
||||||
|
end as has_verification_request,
|
||||||
bts.id_accommodation,
|
bts.id_accommodation,
|
||||||
bts.id_user_product_bundle,
|
bts.id_user_product_bundle,
|
||||||
bts.id_deal,
|
bts.id_deal,
|
||||||
|
|
|
||||||
|
|
@ -4033,6 +4033,14 @@ models:
|
||||||
The identifier of the verification request. It acts as Foreign Key to
|
The identifier of the verification request. It acts as Foreign Key to
|
||||||
Verification Request table. It can be null.
|
Verification Request table. It can be null.
|
||||||
|
|
||||||
|
- name: has_verification_request
|
||||||
|
data_type: boolean
|
||||||
|
description: |
|
||||||
|
Flag to identify if the booking has a verification request or not.
|
||||||
|
Cannot be null.
|
||||||
|
data_tests:
|
||||||
|
- not_null
|
||||||
|
|
||||||
- name: id_accommodation
|
- name: id_accommodation
|
||||||
data_type: bigint
|
data_type: bigint
|
||||||
description:
|
description:
|
||||||
|
|
|
||||||
|
|
@ -5,6 +5,8 @@ with
|
||||||
|
|
||||||
select
|
select
|
||||||
b.id_booking as id_booking,
|
b.id_booking as id_booking,
|
||||||
|
b.id_verification_request as id_verification_request,
|
||||||
|
b.has_verification_request as has_verification_request,
|
||||||
b.id_deal as id_deal,
|
b.id_deal as id_deal,
|
||||||
d.main_deal_name as main_deal_name,
|
d.main_deal_name as main_deal_name,
|
||||||
hd.deal_name as hubspot_deal_name,
|
hd.deal_name as hubspot_deal_name,
|
||||||
|
|
|
||||||
|
|
@ -1250,6 +1250,20 @@ models:
|
||||||
- not_null
|
- not_null
|
||||||
- unique
|
- unique
|
||||||
|
|
||||||
|
- name: id_verification_request
|
||||||
|
data_type: bigint
|
||||||
|
description:
|
||||||
|
The identifier of the verification request. It acts as Foreign Key to
|
||||||
|
Verification Request table. It can be null.
|
||||||
|
|
||||||
|
- name: has_verification_request
|
||||||
|
data_type: boolean
|
||||||
|
description: |
|
||||||
|
Flag to identify if the booking has a verification request or not.
|
||||||
|
Cannot be null.
|
||||||
|
data_tests:
|
||||||
|
- not_null
|
||||||
|
|
||||||
- name: id_deal
|
- name: id_deal
|
||||||
data_type: string
|
data_type: string
|
||||||
description: |
|
description: |
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue