[open-ils-commits] r16592 - branches/rel_1_6/Open-ILS/src/sql/Pg (miker)

svn at svn.open-ils.org svn at svn.open-ils.org
Fri Jun 4 10:45:50 EDT 2010


Author: miker
Date: 2010-06-04 10:45:48 -0400 (Fri, 04 Jun 2010)
New Revision: 16592

Modified:
   branches/rel_1_6/Open-ILS/src/sql/Pg/1.6.0.3-1.6.0.4-upgrade-db.sql
Log:
forward port syntax corrections for 1.6.0.4 DB upgrade script

Modified: branches/rel_1_6/Open-ILS/src/sql/Pg/1.6.0.3-1.6.0.4-upgrade-db.sql
===================================================================
--- branches/rel_1_6/Open-ILS/src/sql/Pg/1.6.0.3-1.6.0.4-upgrade-db.sql	2010-06-04 14:41:42 UTC (rev 16591)
+++ branches/rel_1_6/Open-ILS/src/sql/Pg/1.6.0.3-1.6.0.4-upgrade-db.sql	2010-06-04 14:45:48 UTC (rev 16592)
@@ -94,9 +94,9 @@
 -- If you're using Slony, delete instead of truncate!
 
 --DELETE FROM materialized.simple_record;
-TRUNCATE TABLE 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
@@ -153,7 +153,7 @@
 
 -- And rebuild the materialized view that was built on money.billable_xact_summary
 TRUNCATE TABLE money.materialized_billable_xact_summary;
-INSERT INTO TABLE money.materialized_billable_xact_summary
+INSERT INTO money.materialized_billable_xact_summary
 	SELECT * FROM money.billable_xact_summary;
 
 -- Updated in-db circ and functions which return a matchpoint whenever possible, for override



More information about the open-ils-commits mailing list