added 'staff' column to indicate a staff-created hold note
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 13 Jul 2009 15:17:51 +0000 (15:17 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 13 Jul 2009 15:17:51 +0000 (15:17 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@13572 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/examples/fm_IDL.xml
Open-ILS/src/sql/Pg/090.schema.action.sql

index 4ab08d1..9294b8c 100644 (file)
@@ -2694,6 +2694,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA
                        <field reporter:label="Body" name="body" reporter:datatype="text"/>
                        <field reporter:label="Slip?" name="slip" reporter:datatype="bool"/>
                        <field reporter:label="Pub?" name="pub" reporter:datatype="bool"/>
+                       <field reporter:label="Staff?" name="staff" reporter:datatype="bool"/>
                </fields>
                <links>
                        <link field="hold" reltype="has_a" key="id" map="" class="ahr"/>
index 963906a..44b8de2 100644 (file)
@@ -305,7 +305,8 @@ CREATE TABLE action.hold_request_note (
     title  TEXT      NOT NULL,
     body   TEXT      NOT NULL,
     slip   BOOL      NOT NULL DEFAULT FALSE,
-    pub    BOOL      NOT NULL DEFAULT FALSE
+    pub    BOOL      NOT NULL DEFAULT FALSE,
+    staff  BOOL      NOT NULL DEFAULT FALSE  -- created by staff
 
 );
 CREATE INDEX ahrn_hold_idx ON action.hold_request_note (hold);