change "tests:" to "data_tests:"

This commit is contained in:
Pablo Martin 2025-01-13 16:00:35 +01:00
parent db1edf7a1c
commit c3c628aec4
29 changed files with 1565 additions and 1565 deletions

View file

@ -7,7 +7,7 @@ models:
- name: id_contact
data_type: character varying
description: "Unique id for each contact information."
tests:
data_tests:
- unique
- not_null
@ -22,37 +22,37 @@ models:
- name: properties
data_type: jsonb
description: "Json with all contact information for this record."
tests:
data_tests:
- not_null
- name: created_at_utc
data_type: timestamp with time zone
description: "Timestamp of when this record was created."
tests:
data_tests:
- not_null
- name: created_date_utc
data_type: timestamp without time zone
description: "Date of when this record was created."
tests:
data_tests:
- not_null
- name: updated_at_utc
data_type: timestamp with time zone
description: "Timestamp of when this record was last updated."
tests:
data_tests:
- not_null
- name: updated_date_utc
data_type: timestamp without time zone
description: "Date of when this record was last updated."
tests:
data_tests:
- not_null
- name: dwh_extracted_at_utc
data_type: timestamp with time zone
description: "Timestamp of when data was extracted to DWH."
tests:
data_tests:
- not_null
- name: stg_hubspot__form_submissions
@ -61,14 +61,14 @@ models:
- name: id_form
data_type: character varying
description: "Unique id for each form submission."
tests:
data_tests:
- not_null
- unique
- name: values
data_type: jsonb
description: "Json with value information for each form"
tests:
data_tests:
- not_null
- name: page_url
@ -78,31 +78,31 @@ models:
- name: submitted_at_utc
data_type: timestamp with time zone
description: "Timestamp of when this record was created."
tests:
data_tests:
- not_null
- name: submitted_date_utc
data_type: timestamp without time zone
description: "Date of when this record was created."
tests:
data_tests:
- not_null
- name: updated_at_utc
data_type: timestamp with time zone
description: "Timestamp of when this record was last updated."
tests:
data_tests:
- not_null
- name: updated_date_utc
data_type: timestamp without time zone
description: "Date of when this record was last updated."
tests:
data_tests:
- not_null
- name: dwh_extracted_at_utc
data_type: timestamp with time zone
description: "Timestamp of when data was extracted to DWH."
tests:
data_tests:
- not_null
- name: stg_hubspot__deal_pipelines
@ -115,33 +115,33 @@ models:
- name: id_deal_pipeline
data_type: character varying
description: "Unique id for each pipeline."
tests:
data_tests:
- not_null
- unique
- name: deal_pipeline_name
data_type: character varying
description: Name for the pipeline.
tests:
data_tests:
- not_null
- unique
- name: is_active
data_type: boolean
description: Flag indicating if the pipeline is currently active.
tests:
data_tests:
- not_null
- name: created_at_utc
data_type: timestamp
description: When was this record created.
tests:
data_tests:
- not_null
- name: updated_at_utc
data_type: timestamp
description: When was this record last updated.
tests:
data_tests:
- not_null
- name: dwh_extracted_at_utc
@ -151,7 +151,7 @@ models:
- name: stg_hubspot__deal_pipeline_stages
description: |
The different stages of deal pipelines.
tests:
data_tests:
- dbt_utils.unique_combination_of_columns:
combination_of_columns:
- id_deal_pipeline
@ -160,13 +160,13 @@ models:
- name: id_deal_pipeline
data_type: character varying
description: ID of the deal pipeline this stage belongs to.
tests:
data_tests:
- not_null
- name: id_stage
data_type: character varying
description: Unique ID for this stage.
tests:
data_tests:
- not_null
- unique
@ -175,25 +175,25 @@ models:
description: |
The name of this stage. There might be name collisions across
pipelines.
tests:
data_tests:
- not_null
- name: is_active
data_type: boolean
description: Flag indicating wheter the stage is currently active.
tests:
data_tests:
- not_null
- name: created_at_utc
data_type: timestamp
description: When was this record created.
tests:
data_tests:
- not_null
- name: updated_at_utc
data_type: timestamp
description: When was this record last updated.
tests:
data_tests:
- not_null
- name: dwh_extracted_at_utc
@ -212,7 +212,7 @@ models:
- name: id_deal
data_type: character varying
description: Unique ID for this deal.
tests:
data_tests:
- unique
- not_null