Clean package repo for Gitea installs via packages.yml git URL. Co-authored-by: Cursor <cursoragent@cursor.com>
11 lines
356 B
SQL
11 lines
356 B
SQL
with
|
|
all_rows as (
|
|
select * from {{ ref('validate_ip') }}
|
|
)
|
|
|
|
select *,
|
|
case when {{ f2dq.valid_ip_v4('ip_address') }} then 1 else 0 end as valid_ip_v4,
|
|
case when {{ f2dq.valid_ip_v6('ip_address') }} then 1 else 0 end as valid_ip_v6,
|
|
case when {{ f2dq.valid_ip('ip_address') }} then 1 else 0 end as valid_ip
|
|
from all_rows
|