Adding missing field in S&P models

This commit is contained in:
Joaquin Ossa 2024-12-11 16:35:40 +01:00
parent a564afea3c
commit 34a5b0d86e
6 changed files with 17 additions and 8 deletions

View file

@ -30,6 +30,13 @@ models:
data_type: text
description: Identifier for the accommodation related to the booking.
- name: is_protected
data_type: boolean
description: |
Indicates if the booking is protected or not.
tests:
- not_null
- name: protection_type
data_type: text
description: Specific protection type for the request.

View file

@ -9,6 +9,7 @@ select
id_booking as id_booking,
id_user_partner as id_user_partner,
id_accommodation as id_accommodation,
is_protected as is_protected,
protection_type as protection_type,
protection_starting_level as protection_starting_level,
protection_basic_amount as protection_basic_amount,