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
<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"/>
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;