From: dbs Date: Wed, 28 Apr 2010 03:36:33 +0000 (+0000) Subject: Merge r16263 from tags/rel_1_6_0_4 into rel_1_6_0 X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=79ed70d0234812749b1d92d7662dcfb3f212681c;p=Evergreen.git Merge r16263 from tags/rel_1_6_0_4 into rel_1_6_0 Correct "materialized.simple_record" to "reporter.materialized_simple_record" git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_6_0@16327 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/src/sql/Pg/1.6.0.3-1.6.0.4-upgrade-db.sql b/Open-ILS/src/sql/Pg/1.6.0.3-1.6.0.4-upgrade-db.sql index 5b2a49cc96..7e4e9d46e3 100644 --- a/Open-ILS/src/sql/Pg/1.6.0.3-1.6.0.4-upgrade-db.sql +++ b/Open-ILS/src/sql/Pg/1.6.0.3-1.6.0.4-upgrade-db.sql @@ -93,10 +93,10 @@ SELECT r.id, -- Now rebuild the materialized simple record table that was built on reporter.old_super_simple_record -- If you're using Slony, delete instead of truncate! ---DELETE FROM materialized.simple_record; -TRUNCATE TABLE materialized.simple_record; +--DELETE FROM reporter.materialized_simple_record; +TRUNCATE TABLE reporter.materialized_simple_record; -INSERT INTO materialized.simple_record +INSERT INTO reporter.materialized_simple_record SELECT * FROM reporter.old_super_simple_record; -- Replace the billable transaction summary view with one that is more cautious about NULL values