mirror of
https://github.com/FlipsideCrypto/arbitrum-models.git
synced 2026-02-06 18:46:45 +00:00
14 lines
324 B
SQL
14 lines
324 B
SQL
{% macro create_udfs() %}
|
|
{% if var("UPDATE_UDFS_AND_SPS") %}
|
|
{% set sql %}
|
|
CREATE schema if NOT EXISTS silver;
|
|
{{ create_js_hex_to_int() }};
|
|
{{ create_udf_hex_to_int(
|
|
schema = "public"
|
|
) }}
|
|
|
|
{% endset %}
|
|
{% do run_query(sql) %}
|
|
{% endif %}
|
|
{% endmacro %}
|