updating some auditor tables that were causing problems in cstore with missing column...
authorphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 5 Aug 2010 04:46:38 +0000 (04:46 +0000)
committerphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 5 Aug 2010 04:46:38 +0000 (04:46 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@17090 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/src/sql/Pg/002.schema.config.sql
Open-ILS/src/sql/Pg/upgrade/0362.schema.acq-serials-integration.sql [new file with mode: 0644]

index 55b5dee..71e795b 100644 (file)
@@ -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 (file)
index 0000000..4d63997
--- /dev/null
@@ -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;
+