[open-ils-commits] r14057 - in trunk/Open-ILS: examples src/sql/Pg (scottmk)
svn at svn.open-ils.org
svn at svn.open-ils.org
Fri Sep 18 14:49:30 EDT 2009
Author: scottmk
Date: 2009-09-18 14:49:25 -0400 (Fri, 18 Sep 2009)
New Revision: 14057
Modified:
trunk/Open-ILS/examples/fm_IDL.xml
trunk/Open-ILS/src/sql/Pg/090.schema.action.sql
Log:
Add new column checkin_scan_time to action.circulation,
and change IDL accordingly.
For changing an existing table:
ALTER TABLE action.circulation
ADD COLUMN checkin_scan_time TIMESTAMPTZ;
Modified: trunk/Open-ILS/examples/fm_IDL.xml
===================================================================
--- trunk/Open-ILS/examples/fm_IDL.xml 2009-09-18 18:40:08 UTC (rev 14056)
+++ trunk/Open-ILS/examples/fm_IDL.xml 2009-09-18 18:49:25 UTC (rev 14057)
@@ -2077,6 +2077,7 @@
<field reporter:label="Record Creation Date/Time" name="create_time" reporter:datatype="timestamp" />
<field reporter:label="Workstation" name="workstation" reporter:datatype="link"/>
<field reporter:label="Checkin Workstation" name="checkin_workstation" reporter:datatype="link"/>
+ <field reporter:label="Checkin Scan Date/Time" name="checkin_scan_time" reporter:datatype="timestamp" />
<field reporter:label="Transaction Billings" name="billings" oils_persist:virtual="true" reporter:datatype="link"/>
<field reporter:label="Transaction Payments" name="payments" oils_persist:virtual="true" reporter:datatype="link"/>
<field reporter:label="Base Transaction" name="billable_transaction" oils_persist:virtual="true" reporter:datatype="link"/>
Modified: trunk/Open-ILS/src/sql/Pg/090.schema.action.sql
===================================================================
--- trunk/Open-ILS/src/sql/Pg/090.schema.action.sql 2009-09-18 18:40:08 UTC (rev 14056)
+++ trunk/Open-ILS/src/sql/Pg/090.schema.action.sql 2009-09-18 18:49:25 UTC (rev 14057)
@@ -129,7 +129,8 @@
DEFERRABLE INITIALLY DEFERRED,
checkin_workstation INT REFERENCES actor.workstation(id)
ON DELETE SET NULL
- DEFERRABLE INITIALLY DEFERRED
+ DEFERRABLE INITIALLY DEFERRED,
+ checkin_scan_time TIMESTAMP WITH TIME ZONE
) INHERITS (money.billable_xact);
ALTER TABLE action.circulation ADD PRIMARY KEY (id);
CREATE INDEX circ_open_xacts_idx ON action.circulation (usr) WHERE xact_finish IS NULL;
More information about the open-ils-commits
mailing list