Skip to content

Commit

Permalink
Merge pull request #158 from clausherther/fix/get_tables_by_prefix_sq…
Browse files Browse the repository at this point in the history
…l_database

Adds database parameter
  • Loading branch information
drewbanin authored Sep 6, 2019
2 parents 733dcb9 + 5837f92 commit 6f2aae4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion macros/sql/get_tables_by_prefix_sql.sql
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{% macro get_tables_by_prefix_sql(schema, prefix, exclude='', database=target.database) %}
{{ adapter_macro('dbt_utils.get_tables_by_prefix_sql', schema, prefix, exclude) }}
{{ adapter_macro('dbt_utils.get_tables_by_prefix_sql', schema, prefix, exclude, database) }}
{% endmacro %}

{% macro default__get_tables_by_prefix_sql(schema, prefix, exclude='', database=target.database) %}
Expand Down

0 comments on commit 6f2aae4

Please sign in to comment.