Fixed model, added created_date and checkout_date

This commit is contained in:
Joaquin Ossa 2024-09-03 17:05:13 +02:00
parent c24c875336
commit 7d8983e0dd
2 changed files with 48 additions and 24 deletions

View file

@ -21,7 +21,10 @@ models:
- name: id_booking
data_type: text
description: "unique Superhog generated id for a booking"
description:
"unique Superhog generated id for a booking.
note that this could be duplicated and both will be charged,
it's up to the user to no generate duplicate verifications"
- name: id_user_partner
data_type: text
@ -207,9 +210,6 @@ models:
data_type: date
description: "Date of creation of the verification in the system"
- name: created_date_utc
data_type: date
description: "Date of creation of the verification in the system"
- name: int_edeposit__verification_fees
description:
"This table shows all fee charges per verification for E-deposit.
@ -225,6 +225,15 @@ models:
- unique
- not_null
- name: id_booking
data_type: text
description:
"unique Superhog generated id for a booking.
note that this could be duplicated and both will be charged,
it's up to the user to no generate duplicate verifications"
tests:
- not_null
- name: currency
data_type: text
description: "currency in which the transaction actually happened"
@ -284,3 +293,15 @@ models:
- dbt_expectations.expect_column_values_to_be_between:
min_value: 0
strictly: false
- name: checkout_date_utc
data_type: date
description: "Date of checkout for the booking"
tests:
- not_null
- name: created_date_utc
data_type: date
description: "Date of creation of the verification in the system"
tests:
- not_null