[open-ils-commits] r13904 - in trunk/Open-ILS: examples src/sql/Pg (scottmk)

svn at svn.open-ils.org svn at svn.open-ils.org
Thu Aug 20 15:04:22 EDT 2009


Author: scottmk
Date: 2009-08-20 15:04:18 -0400 (Thu, 20 Aug 2009)
New Revision: 13904

Modified:
   trunk/Open-ILS/examples/fm_IDL.xml
   trunk/Open-ILS/src/sql/Pg/090.schema.action.sql
Log:
New column: action.hold_request.shelf_time

For altering an existing table:

ALTER TABLE action.hold_request
ADD COLUMN shelf_time TIMESTAMP WITH TIME ZONE;


Modified: trunk/Open-ILS/examples/fm_IDL.xml
===================================================================
--- trunk/Open-ILS/examples/fm_IDL.xml	2009-08-20 16:04:35 UTC (rev 13903)
+++ trunk/Open-ILS/examples/fm_IDL.xml	2009-08-20 19:04:18 UTC (rev 13904)
@@ -2655,6 +2655,7 @@
 			<field reporter:label="Eligible Copies" name="eligible_copies" oils_persist:virtual="true" reporter:datatype="link"/>
 			<field reporter:label="Currently Frozen" name="frozen" reporter:datatype="bool"/>
 			<field reporter:label="Thaw Date (if frozen)" name="thaw_date" reporter:datatype="timestamp"/>
+			<field reporter:label="Shelf Time" name="shelf_time" reporter:datatype="timestamp"/>
 			<field reporter:label="Cancelation cause" name="cancel_cause" reporter:datatype="link" />
 			<field reporter:label="Cancelation note" name="cancel_note" reporter:datatype="text" />
 			<field reporter:label="Notes" name="notes" reporter:datatype="link" oils_persist:virtual="true"/>

Modified: trunk/Open-ILS/src/sql/Pg/090.schema.action.sql
===================================================================
--- trunk/Open-ILS/src/sql/Pg/090.schema.action.sql	2009-08-20 16:04:35 UTC (rev 13903)
+++ trunk/Open-ILS/src/sql/Pg/090.schema.action.sql	2009-08-20 19:04:18 UTC (rev 13904)
@@ -298,7 +298,8 @@
 	phone_notify		TEXT,
 	email_notify		BOOL				NOT NULL DEFAULT TRUE,
 	frozen			BOOL				NOT NULL DEFAULT FALSE,
-	thaw_date		TIMESTAMP WITH TIME ZONE
+	thaw_date		TIMESTAMP WITH TIME ZONE,
+	shelf_date		IMESTAMP WITH TIME ZONE
 );
 
 CREATE INDEX hold_request_target_idx ON action.hold_request (target);



More information about the open-ils-commits mailing list