[open-ils-commits] r8777 - in branches/acq-experiment/Open-ILS:
examples src/sql/Pg
svn at svn.open-ils.org
svn at svn.open-ils.org
Tue Feb 19 12:02:41 EST 2008
Author: miker
Date: 2008-02-19 11:32:19 -0500 (Tue, 19 Feb 2008)
New Revision: 8777
Modified:
branches/acq-experiment/Open-ILS/examples/fm_IDL.xml
branches/acq-experiment/Open-ILS/src/sql/Pg/200.schema.acq.sql
Log:
adding nullable po_lineitem to picklist entry
Modified: branches/acq-experiment/Open-ILS/examples/fm_IDL.xml
===================================================================
--- branches/acq-experiment/Open-ILS/examples/fm_IDL.xml 2008-02-19 16:18:00 UTC (rev 8776)
+++ branches/acq-experiment/Open-ILS/examples/fm_IDL.xml 2008-02-19 16:32:19 UTC (rev 8777)
@@ -2667,10 +2667,12 @@
<field reporter:label="MARC" name="marc" oils_obj:array_position="8" oils_persist:virtual="false" reporter:datatype="text" />
<field reporter:label="Evergreen Bib ID" name="eg_bib_id" oils_obj:array_position="9" oils_persist:virtual="false" reporter:datatype="link" />
<field reporter:label="Source Label" name="source_label" oils_obj:array_position="10" oils_persist:virtual="false" reporter:datatype="text" />
- <field reporter:label="Attributes" name="attributes" oils_obj:array_position="11" oils_persist:virtual="true" reporter:datatype="link" />
+ <field reporter:label="Purchase Order Lineitem" name="po_lineitem" oils_obj:array_position="11" oils_persist:virtual="false" reporter:datatype="text" />
+ <field reporter:label="Attributes" name="attributes" oils_obj:array_position="12" oils_persist:virtual="true" reporter:datatype="link" />
</fields>
<links>
<link field="picklist" reltype="has_a" key="id" map="" class="acqpl"/>
+ <link field="po_lineitem" reltype="has_a" key="id" map="" class="acqpoli"/>
<link field="provider" reltype="has_a" key="id" map="" class="acqpro"/>
<link field="eg_bib_id" reltype="has_a" key="id" map="" class="bre"/>
<link field="attributes" reltype="has_many" key="picklist_entry" map="" class="acqplea"/>
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-02-19 16:18:00 UTC (rev 8776)
+++ branches/acq-experiment/Open-ILS/src/sql/Pg/200.schema.acq.sql 2008-02-19 16:32:19 UTC (rev 8777)
@@ -125,7 +125,8 @@
edit_time TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT NOW(),
marc TEXT NOT NULL,
eg_bib_id INT REFERENCES biblio.record_entry (id),
- source_label TEXT
+ source_label TEXT,
+ po_lineitem INT REFERENCES acq.po_lineitem (id)
);
CREATE TABLE acq.po_lineitem (
More information about the open-ils-commits
mailing list