Added date of birth and kept age

This commit is contained in:
Joaquin Ossa 2024-07-03 15:18:05 +02:00
parent 5867b53e55
commit 35e4735720
2 changed files with 10 additions and 5 deletions

View file

@ -43,6 +43,7 @@ select
then v.verification_value
else 'No Payment Validation Option'
end as selected_payment_option,
u.date_of_birth,
extract(year from age(u.date_of_birth)) as age_of_guest,
case when pt.checkincover is true then true else false end as check_in_cover,
case when pt.waiver is true then true else false end as waiver,

View file

@ -957,11 +957,11 @@ models:
- not_null
- unique
- name: guestsuperhoguserid
- name: id_user_guest
data_type: character varying
description: Unique id value for the guest
- name: guestemailaddress
- name: guest_email
data_type: character varying
description: Guest email
@ -990,15 +990,19 @@ models:
description:
Date and time of last update of response
- name: selectedpaymentoption
- name: selected_payment_option
data_type: character varying
description: ""
- name: ageofguest
- name: date_of_birth
data_type: numeric
description: ""
- name: checkincover
- name: age_of_guest
data_type: numeric
description: ""
- name: check_in_cover
data_type: boolean
description: ""