Drop view before adding/replacing it. rel_3_0_beta1
authorChris Sharp <csharp@georgialibraries.org>
Tue, 19 Sep 2017 01:03:15 +0000 (21:03 -0400)
committerChris Sharp <csharp@georgialibraries.org>
Tue, 19 Sep 2017 01:03:15 +0000 (21:03 -0400)
Open-ILS/src/sql/Pg/version-upgrade/2.12.5-3.0-beta1-upgrade-db.sql

index 7c7f90e..26c8a74 100644 (file)
@@ -5,6 +5,9 @@ INSERT INTO config.upgrade_log (version, applied_to) VALUES ('3.0-beta1', :eg_ve
 
 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,