From 9435dc43ab1a14e506db1f4004fbd5596ecde422 Mon Sep 17 00:00:00 2001 From: scottmk Date: Fri, 18 Sep 2009 18:49:25 +0000 Subject: [PATCH] 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; git-svn-id: svn://svn.open-ils.org/ILS/trunk@14057 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/examples/fm_IDL.xml | 1 + Open-ILS/src/sql/Pg/090.schema.action.sql | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Open-ILS/examples/fm_IDL.xml b/Open-ILS/examples/fm_IDL.xml index 7a79309fc8..ae3052378e 100644 --- a/Open-ILS/examples/fm_IDL.xml +++ b/Open-ILS/examples/fm_IDL.xml @@ -2077,6 +2077,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA + diff --git a/Open-ILS/src/sql/Pg/090.schema.action.sql b/Open-ILS/src/sql/Pg/090.schema.action.sql index 8362f6ca7f..284b384f34 100644 --- a/Open-ILS/src/sql/Pg/090.schema.action.sql +++ b/Open-ILS/src/sql/Pg/090.schema.action.sql @@ -129,7 +129,8 @@ CREATE TABLE action.circulation ( 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; -- 2.11.0