Skip to content

Commit

Permalink
chore: fix migration error
Browse files Browse the repository at this point in the history
  • Loading branch information
moshloop committed Nov 1, 2023
1 parent 0585ca3 commit 41da518
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions views/013_check_summary.sql
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
DROP FUNCTION IF EXISTS check_summary_for_component;
DROP VIEW IF EXISTS check_summary;
DROP MATERIALIZED VIEW IF EXISTS check_status_summary;
DROP VIEW IF EXISTS check_status_summary_aged;
@@ -110,8 +111,6 @@ CREATE OR REPLACE TRIGGER checks_last_transition_time BEFORE
UPDATE ON checks FOR EACH ROW WHEN (OLD.status IS DISTINCT FROM NEW.status)
EXECUTE PROCEDURE update_last_transition_time_for_check ();

-- Check summary by component
DROP FUNCTION IF EXISTS check_summary_for_component;

CREATE OR REPLACE FUNCTION check_summary_for_component(id uuid) RETURNS setof check_summary
AS $$

0 comments on commit 41da518

Please sign in to comment.