mirror of
https://github.com/FlipsideCrypto/solana-models.git
synced 2026-02-06 13:56:50 +00:00
* wip * get hourly prices for subset of solana tokens from cmc * add coin gecko prices * fix ref, upper symbol * do not create/update udfs/sps on run start by default
8 lines
264 B
SQL
8 lines
264 B
SQL
{% macro create_sps() %}
|
|
{% if var("UPDATE_UDFS_AND_SPS") %}
|
|
{% if target.database == 'SOLANA' %}
|
|
CREATE SCHEMA IF NOT EXISTS _internal;
|
|
{{ sp_create_prod_clone('_internal') }};
|
|
{% endif %}
|
|
{% endif %}
|
|
{% endmacro %} |