Skip to content

Commit

Permalink
Merge pull request #994 from huss/materialized
Browse files Browse the repository at this point in the history
add MATERIALIZED to drop in migration
  • Loading branch information
huss authored Sep 1, 2023
2 parents 6f84b07 + b6bb541 commit 3b90b86
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@


-- Drop view since exists and only create
DROP VIEW IF EXISTS daily_readings_unit;
DROP MATERIALIZED VIEW IF EXISTS daily_readings_unit;

CREATE MATERIALIZED VIEW IF NOT EXISTS
daily_readings_unit
Expand Down Expand Up @@ -133,7 +133,7 @@ daily_readings_unit


-- Drop view since exists and only create
DROP VIEW IF EXISTS hourly_readings_unit;
DROP MATERIALIZED VIEW IF EXISTS hourly_readings_unit;

CREATE MATERIALIZED VIEW IF NOT EXISTS
hourly_readings_unit
Expand Down

0 comments on commit 3b90b86

Please sign in to comment.