Added date of birth and kept age
This commit is contained in:
parent
5867b53e55
commit
35e4735720
2 changed files with 10 additions and 5 deletions
|
|
@ -43,6 +43,7 @@ select
|
||||||
then v.verification_value
|
then v.verification_value
|
||||||
else 'No Payment Validation Option'
|
else 'No Payment Validation Option'
|
||||||
end as selected_payment_option,
|
end as selected_payment_option,
|
||||||
|
u.date_of_birth,
|
||||||
extract(year from age(u.date_of_birth)) as age_of_guest,
|
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.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,
|
case when pt.waiver is true then true else false end as waiver,
|
||||||
|
|
|
||||||
|
|
@ -957,11 +957,11 @@ models:
|
||||||
- not_null
|
- not_null
|
||||||
- unique
|
- unique
|
||||||
|
|
||||||
- name: guestsuperhoguserid
|
- name: id_user_guest
|
||||||
data_type: character varying
|
data_type: character varying
|
||||||
description: Unique id value for the guest
|
description: Unique id value for the guest
|
||||||
|
|
||||||
- name: guestemailaddress
|
- name: guest_email
|
||||||
data_type: character varying
|
data_type: character varying
|
||||||
description: Guest email
|
description: Guest email
|
||||||
|
|
||||||
|
|
@ -990,15 +990,19 @@ models:
|
||||||
description:
|
description:
|
||||||
Date and time of last update of response
|
Date and time of last update of response
|
||||||
|
|
||||||
- name: selectedpaymentoption
|
- name: selected_payment_option
|
||||||
data_type: character varying
|
data_type: character varying
|
||||||
description: ""
|
description: ""
|
||||||
|
|
||||||
- name: ageofguest
|
- name: date_of_birth
|
||||||
data_type: numeric
|
data_type: numeric
|
||||||
description: ""
|
description: ""
|
||||||
|
|
||||||
- name: checkincover
|
- name: age_of_guest
|
||||||
|
data_type: numeric
|
||||||
|
description: ""
|
||||||
|
|
||||||
|
- name: check_in_cover
|
||||||
data_type: boolean
|
data_type: boolean
|
||||||
description: ""
|
description: ""
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue