place test in proper folder

This commit is contained in:
Pablo Martin 2024-06-14 14:27:20 +02:00
parent 3a66358338
commit 589656d1bf

View file

@ -0,0 +1,6 @@
{% test not_negative_or_zero(model, column_name) %}
with validation as (select {{ column_name }} as value from {{ model }})
select *
from validation
where value <= 0
{% endtest %}