Files
school_compare/scripts/sql/drop_fact_parent_view.sql
T

6 lines
316 B
SQL
Raw Normal View History

-- Retire the Ofsted Parent View feature (schema v6).
-- The marts schema is dbt-owned; deleting the dbt model stops the table being
-- rebuilt but does not drop the existing relation, so apply this directly
-- against the staging and production marts databases.
DROP TABLE IF EXISTS marts.fact_parent_view CASCADE;