From: phasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Date: Thu, 5 Aug 2010 04:46:38 +0000 (+0000)
Subject: updating some auditor tables that were causing problems in cstore with missing column... 
X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=ae311fe6db9ab56a162608cf89a1a8e647a663e4;p=evergreen%2Ftadl.git

updating some auditor tables that were causing problems in cstore with missing columns, but not sure how to reset the _lifecycle views

git-svn-id: svn://svn.open-ils.org/ILS/trunk@17090 dcc99617-32d9-48b4-a31d-7c20da2025e4
---

diff --git a/Open-ILS/src/sql/Pg/002.schema.config.sql b/Open-ILS/src/sql/Pg/002.schema.config.sql
index 55b5deec3d..71e795b058 100644
--- a/Open-ILS/src/sql/Pg/002.schema.config.sql
+++ b/Open-ILS/src/sql/Pg/002.schema.config.sql
@@ -68,7 +68,7 @@ CREATE TABLE config.upgrade_log (
     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,
diff --git a/Open-ILS/src/sql/Pg/upgrade/0362.schema.acq-serials-integration.sql b/Open-ILS/src/sql/Pg/upgrade/0362.schema.acq-serials-integration.sql
new file mode 100644
index 0000000000..4d639971ed
--- /dev/null
+++ b/Open-ILS/src/sql/Pg/upgrade/0362.schema.acq-serials-integration.sql
@@ -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;
+