sp explicit target db

This commit is contained in:
Jack Forgash 2023-01-03 15:53:49 -06:00
parent 2ef0c250aa
commit 55ff27ec7b

View File

@ -1,7 +1,7 @@
{% macro create_get_nearblocks_fts() %}
{% set create_table %}
CREATE schema if NOT EXISTS bronze_api;
CREATE TABLE if NOT EXISTS bronze_api.nearblocks_fts(
CREATE schema if NOT EXISTS {{ target.database }}.bronze_api;
CREATE TABLE if NOT EXISTS {{ target.database }}.bronze_api.nearblocks_fts(
token_name STRING,
token_contract STRING,
token_data variant,