more schemas
This commit is contained in:
parent
5c64bf8b20
commit
ee0d60382d
1 changed files with 56 additions and 0 deletions
|
|
@ -203,3 +203,59 @@ models:
|
||||||
description: When was this record last updated.
|
description: When was this record last updated.
|
||||||
tests:
|
tests:
|
||||||
- not_null
|
- not_null
|
||||||
|
|
||||||
|
- name: dwh_extracted_at_utc
|
||||||
|
data_type: timestamp
|
||||||
|
description: Timestamp of when the record was read from source.
|
||||||
|
|
||||||
|
- name: stg_hubspot__deal_pipeline_stages
|
||||||
|
description: |
|
||||||
|
The different stages of deal pipelines.
|
||||||
|
tests:
|
||||||
|
- dbt_utils.unique_combination_of_columns:
|
||||||
|
combination_of_columns:
|
||||||
|
- id_deal_pipeline
|
||||||
|
- stage_name
|
||||||
|
columns:
|
||||||
|
- name: id_deal_pipeline
|
||||||
|
data_type: character varying
|
||||||
|
description: ID of the deal pipeline this stage belongs to.
|
||||||
|
tests:
|
||||||
|
- not_null
|
||||||
|
|
||||||
|
- name: id_stage
|
||||||
|
data_type: character varying
|
||||||
|
description: Unique ID for this stage.
|
||||||
|
tests:
|
||||||
|
- not_null
|
||||||
|
- unique
|
||||||
|
|
||||||
|
- name: stage_name
|
||||||
|
data_type: character varying
|
||||||
|
description: |
|
||||||
|
The name of this stage. There might be name collisions across
|
||||||
|
pipelines.
|
||||||
|
tests:
|
||||||
|
- not_null
|
||||||
|
|
||||||
|
- name: is_active
|
||||||
|
data_type: boolean
|
||||||
|
description: Flag indicating wheter the stage is currently active.
|
||||||
|
tests:
|
||||||
|
- not_null
|
||||||
|
|
||||||
|
- name: created_at_utc
|
||||||
|
data_type: timestamp
|
||||||
|
description: When was this record created.
|
||||||
|
tests:
|
||||||
|
- not_null
|
||||||
|
|
||||||
|
- name: updated_at_utc
|
||||||
|
data_type: timestamp
|
||||||
|
description: When was this record last updated.
|
||||||
|
tests:
|
||||||
|
- not_null
|
||||||
|
|
||||||
|
- name: dwh_extracted_at_utc
|
||||||
|
data_type: timestamp
|
||||||
|
description: Timestamp of when the record was read from source.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue