From: Chris Sharp Date: Wed, 1 Nov 2017 19:09:41 +0000 (-0400) Subject: Drop view before adding/replacing it. X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=3835c64380059d6b189a600040db2454dd172558;p=evergreen%2Fpines.git Drop view before adding/replacing it. --- diff --git a/Open-ILS/src/sql/Pg/version-upgrade/2.12.6-3.0.0-upgrade-db.sql b/Open-ILS/src/sql/Pg/version-upgrade/2.12.6-3.0.0-upgrade-db.sql index 263223d990..434061111a 100644 --- a/Open-ILS/src/sql/Pg/version-upgrade/2.12.6-3.0.0-upgrade-db.sql +++ b/Open-ILS/src/sql/Pg/version-upgrade/2.12.6-3.0.0-upgrade-db.sql @@ -23,6 +23,9 @@ INSERT INTO config.upgrade_log (version, applied_to) VALUES ('3.0.0', :eg_versio SELECT evergreen.upgrade_deps_block_check('1032', :eg_version); -- Bmagic/csharp/gmcharlt +-- PINES: drop view then replace +DROP VIEW IF EXISTS action.all_circulation_combined_types; + CREATE OR REPLACE VIEW action.all_circulation_combined_types AS SELECT acirc.id AS id, acirc.xact_start,