diff --git a/models/example/schema.yml b/models/example/schema.yml index 27044b57b..1def38f06 100644 --- a/models/example/schema.yml +++ b/models/example/schema.yml @@ -1,21 +1,23 @@ - version: 2 - models: - name: my_first_dbt_model - description: "A starter dbt model" + description: A starter dbt model columns: - name: id - description: "The primary key for this table" + description: The primary key for this table tests: - unique - not_null - - name: my_second_dbt_model - description: "A starter dbt model" + description: A starter dbt model columns: - name: id - description: "The primary key for this table" + description: The primary key for this table tests: - unique - not_null + - unique: + config: + severity: error + meta: + description: The ID column in the my_second_dbt_model table should contain only unique values