LP#1174359: follow-up on dropping the reporter.classic_item_list view
authorGalen Charlton <gmc@esilibrary.com>
Wed, 1 May 2013 19:01:30 +0000 (15:01 -0400)
committerGalen Charlton <gmc@esilibrary.com>
Wed, 1 May 2013 19:01:58 +0000 (15:01 -0400)
Add note for the benefit of any Evergreen admin who may
need to recreate that view.  Also, update the point schema
update script.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Open-ILS/src/sql/Pg/upgrade/0743.schema.remove_tsearch2.sql
Open-ILS/src/sql/Pg/version-upgrade/2.3-2.4.0RC-upgrade-db.sql

index 062e5a2..eab7d7d 100644 (file)
@@ -15,6 +15,11 @@ DROP FUNCTION IF EXISTS biblio.flatten_marc(text);
 -- These views depend on metabib.full_rec as well. Bye-bye!
 DROP VIEW IF EXISTS reporter.old_super_simple_record;
 DROP VIEW IF EXISTS reporter.simple_record;
+DROP VIEW IF EXISTS reporter.classic_item_list;
+
+\echo WARNING: The reporter.classic_item_list view was dropped if it existed.
+\echo If you use that view, please run the example.reporter-extension.sql script
+\echo to recreate it after rest of the schema upgrade is complete.
 
 -- Now we can drop metabib.full_rec.
 DROP VIEW IF EXISTS metabib.full_rec;
index 8c122c4..8d957db 100644 (file)
@@ -64,6 +64,10 @@ DROP VIEW IF EXISTS reporter.old_super_simple_record;
 DROP VIEW IF EXISTS reporter.simple_record;
 DROP VIEW IF EXISTS reporter.classic_item_list;
 
+\echo WARNING: The reporter.classic_item_list view was dropped if it existed.
+\echo If you use that view, please run the example.reporter-extension.sql script
+\echo to recreate it after rest of the schema upgrade is complete.
+
 -- Now we can drop metabib.full_rec.
 DROP VIEW IF EXISTS metabib.full_rec;