Skip to content

Commit

Permalink
add explicit ddl for drop statements instead of inheriting the defaul…
Browse files Browse the repository at this point in the history
…t from dbt-core
  • Loading branch information
mikealfare committed Aug 29, 2023
1 parent 17aae86 commit a31189e
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{% macro postgres__drop_materialized_view(relation) -%}
drop materialized view if exists {{ relation }} cascade
{%- endmacro %}
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{% macro postgres__drop_table(relation) -%}
drop table if exists {{ relation }} cascade
{%- endmacro %}
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{% macro postgres__drop_view(relation) -%}
drop view if exists {{ relation }} cascade
{%- endmacro %}

0 comments on commit a31189e

Please sign in to comment.