[open-ils-commits] r13556 - in trunk/Open-ILS: examples src/sql/Pg (scottmk)
svn at svn.open-ils.org
svn at svn.open-ils.org
Thu Jul 9 14:45:58 EDT 2009
Author: scottmk
Date: 2009-07-09 14:45:54 -0400 (Thu, 09 Jul 2009)
New Revision: 13556
Modified:
trunk/Open-ILS/examples/fm_IDL.xml
trunk/Open-ILS/src/sql/Pg/002.schema.config.sql
Log:
Add new column org_depth to config.standing_penalty.
SQL to alter existing table:
alter table config.standing_penalty
add column org_depth integer;
Modified: trunk/Open-ILS/examples/fm_IDL.xml
===================================================================
--- trunk/Open-ILS/examples/fm_IDL.xml 2009-07-09 14:31:44 UTC (rev 13555)
+++ trunk/Open-ILS/examples/fm_IDL.xml 2009-07-09 18:45:54 UTC (rev 13556)
@@ -1894,6 +1894,7 @@
<field name="name" reporter:datatype="text"/>
<field name="label" reporter:datatype="text" oils_persist:i18n="true"/>
<field name="block_list" reporter:datatype="text"/>
+ <field name="org_depth" reporter:datatype="int"/>
</fields>
<links/>
<permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
Modified: trunk/Open-ILS/src/sql/Pg/002.schema.config.sql
===================================================================
--- trunk/Open-ILS/src/sql/Pg/002.schema.config.sql 2009-07-09 14:31:44 UTC (rev 13555)
+++ trunk/Open-ILS/src/sql/Pg/002.schema.config.sql 2009-07-09 18:45:54 UTC (rev 13556)
@@ -112,10 +112,11 @@
$$;
CREATE TABLE config.standing_penalty (
- id SERIAL PRIMARY KEY,
+ id SERIAL PRIMARY KEY,
name TEXT NOT NULL UNIQUE,
label TEXT NOT NULL,
- block_list TEXT
+ block_list TEXT,
+ org_depth INTEGER
);
INSERT INTO config.standing_penalty (id,name,label,block_list)
VALUES (1,'PATRON_EXCEEDS_FINES','Patron exceeds fine threshold','CIRC|HOLD|RENEW');
More information about the open-ils-commits
mailing list