Changed names for easier understanding

This commit is contained in:
Joaquin Ossa 2024-08-20 12:56:52 +02:00
parent c9fb99743a
commit 45f7f640ba
2 changed files with 4 additions and 4 deletions

View file

@ -46,8 +46,8 @@ select
and vr.is_verification_request_complete and vr.is_verification_request_complete
) as is_awaiting_check_in, ) as is_awaiting_check_in,
p.amount_in_txn_currency is not null as cover_was_purchased, p.amount_in_txn_currency is not null as cover_was_purchased,
av.validation_passed, av.validation_passed as address_validation_passed,
av.notes, av.notes as address_validation_notes,
( (
p.amount_in_txn_currency is null and vr.is_verification_request_complete p.amount_in_txn_currency is null and vr.is_verification_request_complete
) as cover_was_rejected, ) as cover_was_rejected,

View file

@ -204,13 +204,13 @@ models:
description: description:
"Boolean to indicate if the cover was purchased by the guest or not." "Boolean to indicate if the cover was purchased by the guest or not."
- name: validation_passed - name: address_validation_passed
data_type: boolean data_type: boolean
description: description:
"Boolean to indicate if the validation was approved or not. "Boolean to indicate if the validation was approved or not.
In case there was a problem with the validation it will be Null" In case there was a problem with the validation it will be Null"
- name: notes - name: address_validation_notes
data_type: character varying data_type: character varying
description: "Notes in case there was some problem with the validation." description: "Notes in case there was some problem with the validation."