commit wip (id_incident duplicates have to check)

This commit is contained in:
Joaquin Ossa 2025-02-21 16:40:53 +01:00
parent 725f2a54c3
commit 1b853a9503

View file

@ -60,25 +60,29 @@ models:
data_type: timestamp without time zone data_type: timestamp without time zone
description: "Timestamp when the incident was created." description: "Timestamp when the incident was created."
data_tests: data_tests:
- not_null - not_null:
where: "document_version <> 'OldClaimToIncidentModel'"
- name: created_date_date - name: created_date_date
data_type: date data_type: date
description: "Date when the incident was created." description: "Date when the incident was created."
data_tests: data_tests:
- not_null - not_null:
where: "document_version <> 'OldClaimToIncidentModel'"
- name: updated_at_date - name: updated_at_date
data_type: timestamp without time zone data_type: timestamp without time zone
description: "Timestamp when the incident was last updated." description: "Timestamp when the incident was last updated."
data_tests: data_tests:
- not_null - not_null:
where: "document_version <> 'OldClaimToIncidentModel'"
- name: updated_date_date - name: updated_date_date
data_type: date data_type: date
description: "Date when the incident was last updated." description: "Date when the incident was last updated."
data_tests: data_tests:
- not_null - not_null:
where: "document_version <> 'OldClaimToIncidentModel'"
- name: id_user_host - name: id_user_host
data_type: text data_type: text
@ -95,7 +99,8 @@ models:
data_type: text data_type: text
description: "Name of the host account." description: "Name of the host account."
data_tests: data_tests:
- not_null - not_null:
where: "document_version <> 'OldClaimToIncidentModel'"
- name: host_email - name: host_email
data_type: text data_type: text
@ -107,13 +112,15 @@ models:
data_type: text data_type: text
description: "Last name of the host." description: "Last name of the host."
data_tests: data_tests:
- not_null - not_null:
where: "document_version <> 'OldClaimToIncidentModel'"
- name: host_first_name - name: host_first_name
data_type: text data_type: text
description: "First name of the host." description: "First name of the host."
data_tests: data_tests:
- not_null - not_null:
where: "document_version <> 'OldClaimToIncidentModel'"
- name: host_phone_code - name: host_phone_code
data_type: text data_type: text
@ -131,25 +138,29 @@ models:
data_type: text data_type: text
description: "Superhog code that uniquely identifies a single guest." description: "Superhog code that uniquely identifies a single guest."
data_tests: data_tests:
- not_null - not_null:
where: "document_version <> 'OldClaimToIncidentModel'"
- name: guest_email - name: guest_email
data_type: text data_type: text
description: "Email of the guest." description: "Email of the guest."
data_tests: data_tests:
- not_null - not_null:
where: "document_version <> 'OldClaimToIncidentModel'"
- name: guest_last_name - name: guest_last_name
data_type: text data_type: text
description: "Last name of the guest." description: "Last name of the guest."
data_tests: data_tests:
- not_null - not_null:
where: "document_version <> 'OldClaimToIncidentModel'"
- name: guest_first_name - name: guest_first_name
data_type: text data_type: text
description: "First name of the guest." description: "First name of the guest."
data_tests: data_tests:
- not_null - not_null:
where: "document_version <> 'OldClaimToIncidentModel'"
- name: guest_phone_code - name: guest_phone_code
data_type: text data_type: text
@ -279,7 +290,8 @@ models:
data_type: text data_type: text
description: "Superhog unique booking ID" description: "Superhog unique booking ID"
data_tests: data_tests:
- not_null - not_null:
where: "document_version <> 'OldClaimToIncidentModel'"
- name: booking_status - name: booking_status
data_type: text data_type: text