For altering an existing table:
ALTER TABLE action.hold_request
ADD COLUMN shelf_time TIMESTAMP WITH TIME ZONE;
git-svn-id: svn://svn.open-ils.org/ILS/trunk@13904
dcc99617-32d9-48b4-a31d-
7c20da2025e4
<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"/>
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);