[open-ils-commits] r14086 - trunk/Open-ILS/src/sql/Pg/upgrade (scottmk)

svn at svn.open-ils.org svn at svn.open-ils.org
Tue Sep 22 13:03:16 EDT 2009


Author: scottmk
Date: 2009-09-22 13:03:13 -0400 (Tue, 22 Sep 2009)
New Revision: 14086

Added:
   trunk/Open-ILS/src/sql/Pg/upgrade/0011.schema.circ-checkin-ws-and-scan-time.sql
Log:
Add upgrade script for changes previously committed, adding two columns
to action.circulation.

A    Open-ILS/src/sql/Pg/upgrade/0011.schema.circ-checkin-ws-and-scan-time.sql


Added: trunk/Open-ILS/src/sql/Pg/upgrade/0011.schema.circ-checkin-ws-and-scan-time.sql
===================================================================
--- trunk/Open-ILS/src/sql/Pg/upgrade/0011.schema.circ-checkin-ws-and-scan-time.sql	                        (rev 0)
+++ trunk/Open-ILS/src/sql/Pg/upgrade/0011.schema.circ-checkin-ws-and-scan-time.sql	2009-09-22 17:03:13 UTC (rev 14086)
@@ -0,0 +1,15 @@
+BEGIN
+
+INSERT INTO config.upgrade_log (version) VALUES ('0011.schema.circ-checkin-ws-and-scan-time.sql');
+
+ALTER TABLE action.circulation
+ADD COLUMN checkin_workstation INT
+	REFERENCES actor.workstation(id)
+	ON DELETE SET NULL
+	DEFERRABLE INITIALLY DEFERRED;
+
+ALTER TABLE action.circulation
+ADD COLUMN checkin_scan_time TIMESTAMPTZ;
+
+COMMIT;
+



More information about the open-ils-commits mailing list