[open-ils-commits] r16340 - in trunk/Open-ILS/src/sql/Pg: . upgrade (scottmk)
svn at svn.open-ils.org
svn at svn.open-ils.org
Wed Apr 28 17:28:51 EDT 2010
Author: scottmk
Date: 2010-04-28 17:28:45 -0400 (Wed, 28 Apr 2010)
New Revision: 16340
Added:
trunk/Open-ILS/src/sql/Pg/upgrade/0244.schema.acq-inv-item-hist-po-item.sql
Modified:
trunk/Open-ILS/src/sql/Pg/002.schema.config.sql
Log:
Add po_item column to auditor.acq_invoice_item_history.
M Open-ILS/src/sql/Pg/002.schema.config.sql
A Open-ILS/src/sql/Pg/upgrade/0244.schema.acq-inv-item-hist-po-item.sql
Modified: trunk/Open-ILS/src/sql/Pg/002.schema.config.sql
===================================================================
--- trunk/Open-ILS/src/sql/Pg/002.schema.config.sql 2010-04-28 21:14:40 UTC (rev 16339)
+++ trunk/Open-ILS/src/sql/Pg/002.schema.config.sql 2010-04-28 21:28:45 UTC (rev 16340)
@@ -60,7 +60,7 @@
install_date TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT NOW()
);
-INSERT INTO config.upgrade_log (version) VALUES ('0243'); -- Scott McKellar
+INSERT INTO config.upgrade_log (version) VALUES ('0244'); -- Scott McKellar
CREATE TABLE config.bib_source (
id SERIAL PRIMARY KEY,
Added: trunk/Open-ILS/src/sql/Pg/upgrade/0244.schema.acq-inv-item-hist-po-item.sql
===================================================================
--- trunk/Open-ILS/src/sql/Pg/upgrade/0244.schema.acq-inv-item-hist-po-item.sql (rev 0)
+++ trunk/Open-ILS/src/sql/Pg/upgrade/0244.schema.acq-inv-item-hist-po-item.sql 2010-04-28 21:28:45 UTC (rev 16340)
@@ -0,0 +1,8 @@
+BEGIN;
+
+INSERT INTO config.upgrade_log (version) VALUES ('0244'); -- Scott McKellar
+
+ALTER TABLE auditor.acq_invoice_item_history
+ ADD COLUMN po_item INT;
+
+COMMIT;
More information about the open-ils-commits
mailing list