Merge pull request #50 from FlipsideCrypto/add/streamline-schema-exists

add
This commit is contained in:
Austin 2024-09-25 16:59:09 -04:00 committed by GitHub
commit 15d75588e8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,13 +1,17 @@
{% macro create_streamline_udfs() %}
{% if var("UPDATE_UDFS_AND_SPS") %}
{% do run_query("CREATE SCHEMA IF NOT EXISTS streamline") %}
{{ create_udf_bulk_rest_api_v2() }}
{% endif %}
{% endmacro %}
{% macro create_evm_streamline_udfs() %}
{% if var("UPDATE_UDFS_AND_SPS") %}
{% do run_query("CREATE SCHEMA IF NOT EXISTS streamline") %}
{{ create_udf_bulk_rest_api_v2() }}
{{ create_udf_bulk_decode_logs() }}
{{ create_udf_bulk_decode_traces() }}
{% endif %}
{% endmacro %}
{% endmacro %}