From b82206dd6e8914bdc190495dd4181d1c76330d6b Mon Sep 17 00:00:00 2001 From: Jeff Davis Date: Fri, 18 Oct 2019 12:26:03 -0700 Subject: [PATCH] LP#1831803: remove asset.refresh_opac_visible_copies_mat_view if it exists too Signed-off-by: Jeff Davis Signed-off-by: Jason Boyer Signed-off-by: Galen Charlton --- Open-ILS/src/sql/Pg/upgrade/XXXX.schema.staged_search_cleanup.sql | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Open-ILS/src/sql/Pg/upgrade/XXXX.schema.staged_search_cleanup.sql b/Open-ILS/src/sql/Pg/upgrade/XXXX.schema.staged_search_cleanup.sql index 7a6357f323..f0fa5e1043 100644 --- a/Open-ILS/src/sql/Pg/upgrade/XXXX.schema.staged_search_cleanup.sql +++ b/Open-ILS/src/sql/Pg/upgrade/XXXX.schema.staged_search_cleanup.sql @@ -19,4 +19,6 @@ DROP FUNCTION search.query_parser_fts ( DROP TABLE asset.opac_visible_copies; +DROP FUNCTION IF EXISTS asset.refresh_opac_visible_copies_mat_view(); + COMMIT; -- 2.11.0