[open-ils-commits] r8996 - in branches/acq-experiment/Open-ILS:
examples src/sql/Pg
svn at svn.open-ils.org
svn at svn.open-ils.org
Wed Mar 12 21:44:10 EDT 2008
Author: miker
Date: 2008-03-12 21:10:46 -0400 (Wed, 12 Mar 2008)
New Revision: 8996
Modified:
branches/acq-experiment/Open-ILS/examples/fm_IDL.xml
branches/acq-experiment/Open-ILS/src/sql/Pg/200.schema.acq.sql
Log:
adding owning_lib and location to lineitem_detail
Modified: branches/acq-experiment/Open-ILS/examples/fm_IDL.xml
===================================================================
--- branches/acq-experiment/Open-ILS/examples/fm_IDL.xml 2008-03-12 19:16:50 UTC (rev 8995)
+++ branches/acq-experiment/Open-ILS/examples/fm_IDL.xml 2008-03-13 01:10:46 UTC (rev 8996)
@@ -2740,12 +2740,16 @@
<field reporter:label="Actual Receive Date" name="recv_time" oils_obj:array_position="8" oils_persist:virtual="false" reporter:datatype="timestamp" />
<field reporter:label="Fund" name="fund" oils_obj:array_position="9" oils_persist:virtual="false" reporter:datatype="link" />
<field reporter:label="Fund Debit" name="fund_debit" oils_obj:array_position="10" oils_persist:virtual="false" reporter:datatype="link" />
+ <field reporter:label="Owning Library" name="owning_lib" oils_obj:array_position="11" oils_persist:virtual="false" reporter:datatype="link" />
+ <field reporter:label="Shelving Location" name="location" oils_obj:array_position="12" oils_persist:virtual="false" reporter:datatype="link" />
</fields>
<links>
<link field="lineitem" reltype="has_a" key="id" map="" class="jub"/>
<link field="eg_copy_id" reltype="has_a" key="id" map="" class="acp"/>
<link field="fund" reltype="has_a" key="id" map="" class="acqf"/>
<link field="fund_debit" reltype="has_a" key="id" map="" class="acqfdeb"/>
+ <link field="owning_lib" reltype="has_a" key="id" map="" class="aou"/>
+ <link field="location" reltype="has_a" key="id" map="" class="acpl"/>
</links>
</class>
Modified: branches/acq-experiment/Open-ILS/src/sql/Pg/200.schema.acq.sql
===================================================================
--- branches/acq-experiment/Open-ILS/src/sql/Pg/200.schema.acq.sql 2008-03-12 19:16:50 UTC (rev 8995)
+++ branches/acq-experiment/Open-ILS/src/sql/Pg/200.schema.acq.sql 2008-03-13 01:10:46 UTC (rev 8996)
@@ -152,9 +152,11 @@
lineitem INT NOT NULL REFERENCES acq.lineitem (id),
fund INT REFERENCES acq.fund (id),
fund_debit INT REFERENCES acq.fund_debit (id),
- eg_copy_id BIGINT REFERENCES asset.copy (id),
+ eg_copy_id BIGINT REFERENCES asset.copy (id) ON DELETE SET NULL,
barcode TEXT,
cn_label TEXT,
+ owning_lib INT REFERENCES actor.org_unit (id) ON DELETE SET NULL,
+ location INT REFERENCES asset.copy_location (id) ON DELETE SET NULL,
recv_time TIMESTAMP WITH TIME ZONE
);
More information about the open-ils-commits
mailing list