[open-ils-commits] r11338 - in trunk/Open-ILS: examples src/sql/Pg

svn at svn.open-ils.org svn at svn.open-ils.org
Tue Nov 25 10:43:57 EST 2008


Author: miker
Date: 2008-11-25 10:43:56 -0500 (Tue, 25 Nov 2008)
New Revision: 11338

Modified:
   trunk/Open-ILS/examples/fm_IDL.xml
   trunk/Open-ILS/src/sql/Pg/005.schema.actors.sql
Log:
add a note field to ausp

Modified: trunk/Open-ILS/examples/fm_IDL.xml
===================================================================
--- trunk/Open-ILS/examples/fm_IDL.xml	2008-11-25 15:41:12 UTC (rev 11337)
+++ trunk/Open-ILS/examples/fm_IDL.xml	2008-11-25 15:43:56 UTC (rev 11338)
@@ -1734,6 +1734,7 @@
 			<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"/>

Modified: trunk/Open-ILS/src/sql/Pg/005.schema.actors.sql
===================================================================
--- trunk/Open-ILS/src/sql/Pg/005.schema.actors.sql	2008-11-25 15:41:12 UTC (rev 11337)
+++ trunk/Open-ILS/src/sql/Pg/005.schema.actors.sql	2008-11-25 15:43:56 UTC (rev 11338)
@@ -493,7 +493,8 @@
 	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 $$
 /*



More information about the open-ils-commits mailing list