LP#1831803: remove asset.refresh_opac_visible_copies_mat_view if it exists too
authorJeff Davis <jeff.davis@bc.libraries.coop>
Fri, 18 Oct 2019 19:26:03 +0000 (12:26 -0700)
committerGalen Charlton <gmc@equinoxOLI.org>
Fri, 5 Nov 2021 22:23:06 +0000 (18:23 -0400)
Signed-off-by: Jeff Davis <jeff.davis@bc.libraries.coop>
Signed-off-by: Jason Boyer <JBoyer@equinoxOLI.org>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>

Open-ILS/src/sql/Pg/upgrade/XXXX.schema.staged_search_cleanup.sql

index 7a6357f..f0fa5e1 100644 (file)
@@ -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;