diff --git a/models/page_views/schema.yml b/models/page_views/schema.yml index 8be2834..c7ae1e3 100644 --- a/models/page_views/schema.yml +++ b/models/page_views/schema.yml @@ -13,10 +13,6 @@ models: tests: - not_null - - name: domain_sessionid - tests: - - not_null - - name: domain_sessionid tests: - not_null @@ -54,8 +50,10 @@ models: - name: snowplow_web_page_context tests: - - unique: - column_name: "concat(page_view_id, root_id)" + - dbt_utils.unique_combination_of_columns: + combination_of_columns: + - page_view_id + - root_id columns: - name: page_view_id