diff --git a/models/schema.yml b/models/schema.yml index ff0e323b3..f739b2723 100644 --- a/models/schema.yml +++ b/models/schema.yml @@ -34,6 +34,12 @@ models: - name: signup_date description: Date (UTC) of a customer's signup to the online shop. + data_tests: + - dbt_utils.equal_rowcount: + arguments: + compare_model: ref('orders') + config: + severity: error - name: orders description: This table has basic information about orders, as well as some derived facts based on payments config: