Merge r16263 from tags/rel_1_6_0_4 into rel_1_6_0
authordbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 28 Apr 2010 03:36:33 +0000 (03:36 +0000)
committerdbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 28 Apr 2010 03:36:33 +0000 (03:36 +0000)
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

Open-ILS/src/sql/Pg/1.6.0.3-1.6.0.4-upgrade-db.sql

index 5b2a49c..7e4e9d4 100644 (file)
@@ -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