[open-ils-commits] r17090 - in trunk/Open-ILS/src/sql/Pg: . upgrade (phasefx)

svn at svn.open-ils.org svn at svn.open-ils.org
Thu Aug 5 00:46:42 EDT 2010


Author: phasefx
Date: 2010-08-05 00:46:38 -0400 (Thu, 05 Aug 2010)
New Revision: 17090

Added:
   trunk/Open-ILS/src/sql/Pg/upgrade/0362.schema.acq-serials-integration.sql
Modified:
   trunk/Open-ILS/src/sql/Pg/002.schema.config.sql
Log:
updating some auditor tables that were causing problems in cstore with missing columns, but not sure how to reset the _lifecycle views

Modified: trunk/Open-ILS/src/sql/Pg/002.schema.config.sql
===================================================================
--- trunk/Open-ILS/src/sql/Pg/002.schema.config.sql	2010-08-05 04:10:57 UTC (rev 17089)
+++ trunk/Open-ILS/src/sql/Pg/002.schema.config.sql	2010-08-05 04:46:38 UTC (rev 17090)
@@ -68,7 +68,7 @@
     install_date    TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT NOW()
 );
 
-INSERT INTO config.upgrade_log (version) VALUES ('0361'); -- phasefx
+INSERT INTO config.upgrade_log (version) VALUES ('0362'); -- phasefx
 
 CREATE TABLE config.bib_source (
 	id		SERIAL	PRIMARY KEY,

Added: trunk/Open-ILS/src/sql/Pg/upgrade/0362.schema.acq-serials-integration.sql
===================================================================
--- trunk/Open-ILS/src/sql/Pg/upgrade/0362.schema.acq-serials-integration.sql	                        (rev 0)
+++ trunk/Open-ILS/src/sql/Pg/upgrade/0362.schema.acq-serials-integration.sql	2010-08-05 04:46:38 UTC (rev 17090)
@@ -0,0 +1,11 @@
+BEGIN;
+
+INSERT INTO config.upgrade_log (version) VALUES ('0362'); -- phasefx
+
+ALTER TABLE auditor.acq_invoice_item_history ADD COLUMN target BIGINT;
+ALTER TABLE auditor.asset_copy_history ADD COLUMN cost NUMERIC(8,2);
+
+-- now what about the auditor.*_lifecycle views??
+
+COMMIT;
+



More information about the open-ils-commits mailing list