add a note field to ausp
authormiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 25 Nov 2008 15:43:56 +0000 (15:43 +0000)
committermiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 25 Nov 2008 15:43:56 +0000 (15:43 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@11338 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/examples/fm_IDL.xml
Open-ILS/src/sql/Pg/005.schema.actors.sql

index 3452f66..a02b34f 100644 (file)
@@ -1734,6 +1734,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA
                        <field name="staff" oils_obj:array_position="6" oils_persist:virtual="false" reporter:datatype="link"/>
                        <field name="standing_penalty" oils_obj:array_position="7" oils_persist:virtual="false" reporter:datatype="link"/>
                        <field name="org_unit" oils_obj:array_position="8" oils_persist:virtual="false" reporter:datatype="link"/>
+                       <field name="note" oils_obj:array_position="9" oils_persist:virtual="false" reporter:datatype="text"/>
                </fields>
                <links>
                        <link field="usr" reltype="has_a" key="id" map="" class="au"/>
index ceef438..782026c 100644 (file)
@@ -493,7 +493,8 @@ CREATE TABLE actor.usr_standing_penalty (
        usr                     INT     NOT NULL REFERENCES actor.usr (id) ON DELETE CASCADE DEFERRABLE INITIALLY DEFERRED,
        standing_penalty        INT     NOT NULL REFERENCES config.standing_penalty (id) ON DELETE CASCADE DEFERRABLE INITIALLY DEFERRED,
        staff                   INT     REFERENCES actor.usr (id) ON DELETE SET NULL DEFERRABLE INITIALLY DEFERRED,
-       set_date                TIMESTAMP WITH TIME ZONE        DEFAULT NOW()
+       set_date                TIMESTAMP WITH TIME ZONE        DEFAULT NOW(),
+       note                    TEXT
 );
 COMMENT ON TABLE actor.usr_standing_penalty IS $$
 /*