[open-ils-commits] r17036 - in branches/seials-integration/Open-ILS: examples src/sql/Pg (dbwells)
svn at svn.open-ils.org
svn at svn.open-ils.org
Mon Jul 26 17:57:05 EDT 2010
Author: dbwells
Date: 2010-07-26 17:56:58 -0400 (Mon, 26 Jul 2010)
New Revision: 17036
Modified:
branches/seials-integration/Open-ILS/examples/fm_IDL.xml
branches/seials-integration/Open-ILS/src/sql/Pg/210.schema.serials.sql
Log:
'shadowed' column for serial.item, pcrud for serial units, a few whitespace changes
Modified: branches/seials-integration/Open-ILS/examples/fm_IDL.xml
===================================================================
--- branches/seials-integration/Open-ILS/examples/fm_IDL.xml 2010-07-26 18:09:10 UTC (rev 17035)
+++ branches/seials-integration/Open-ILS/examples/fm_IDL.xml 2010-07-26 21:56:58 UTC (rev 17036)
@@ -3165,7 +3165,7 @@
</permacrud>
</class>
- <class id="sunit" controller="open-ils.cstore" oils_obj:fieldmapper="serial::unit" oils_persist:tablename="serial.unit" reporter:label="Unit">
+ <class id="sunit" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="serial::unit" oils_persist:tablename="serial.unit" reporter:label="Unit">
<fields oils_persist:primary="id" oils_persist:sequence="asset.copy_id_seq">
<field reporter:label="ID" name="id" reporter:datatype="id"/>
<field reporter:label="Statistical Category Entries" name="stat_cat_entries" oils_persist:virtual="true" reporter:datatype="link"/>
@@ -3249,6 +3249,7 @@
<field reporter:label="Date Received" name="date_received" reporter:datatype="timestamp"/>
<field reporter:label="Status" name="status" reporter:datatype="text"/>
<field reporter:label="Notes" name="notes" oils_persist:virtual="true" reporter:datatype="link"/>
+ <field reporter:label="Shadowed?" name="shadowed" oils_persist:virtual="true" reporter:datatype="bool"/>
</fields>
<links>
<link field="creator" reltype="has_a" key="id" map="" class="au"/>
Modified: branches/seials-integration/Open-ILS/src/sql/Pg/210.schema.serials.sql
===================================================================
--- branches/seials-integration/Open-ILS/src/sql/Pg/210.schema.serials.sql 2010-07-26 18:09:10 UTC (rev 17035)
+++ branches/seials-integration/Open-ILS/src/sql/Pg/210.schema.serials.sql 2010-07-26 21:56:58 UTC (rev 17036)
@@ -219,10 +219,11 @@
DEFERRABLE INITIALLY DEFERRED,
date_expected TIMESTAMP WITH TIME ZONE,
date_received TIMESTAMP WITH TIME ZONE
- status TEXT CONSTRAINT valid_status CHECK
- (
- status IN ('Bindery', 'Bound', 'Claimed', 'Discarded', 'Expected', 'Not Held', 'Not Published', 'Received')
- ) DEFAULT 'Expected'
+ status TEXT CONSTRAINT valid_status CHECK
+ (
+ status IN ('Bindery', 'Bound', 'Claimed', 'Discarded', 'Expected', 'Not Held', 'Not Published', 'Received')
+ ) DEFAULT 'Expected',
+ shadowed BOOL DEFAULT FALSE -- ignore when generating summaries/labels
);
CREATE TABLE serial.item_note (
More information about the open-ils-commits
mailing list