[open-ils-commits] r19621 - in trunk/Open-ILS: examples src/sql/Pg src/sql/Pg/upgrade (miker)
svn at svn.open-ils.org
svn at svn.open-ils.org
Mon Mar 7 11:03:43 EST 2011
Author: miker
Date: 2011-03-07 11:03:40 -0500 (Mon, 07 Mar 2011)
New Revision: 19621
Modified:
trunk/Open-ILS/examples/fm_IDL.xml
trunk/Open-ILS/src/sql/Pg/002.schema.config.sql
trunk/Open-ILS/src/sql/Pg/upgrade/XXXX.schema.svf-phase-one.sql
Log:
add a description field to config.record_attr_definition
Modified: trunk/Open-ILS/examples/fm_IDL.xml
===================================================================
--- trunk/Open-ILS/examples/fm_IDL.xml 2011-03-07 16:03:38 UTC (rev 19620)
+++ trunk/Open-ILS/examples/fm_IDL.xml 2011-03-07 16:03:40 UTC (rev 19621)
@@ -575,6 +575,7 @@
<fields oils_persist:primary="name">
<field reporter:label="Name" name="name" reporter:datatype="id" reporter:selector="label" oils_obj:required="true"/>
<field reporter:label="Label" name="label" reporter:datatype="text" oils_obj:required="true"/>
+ <field reporter:label="Description" name="description" reporter:datatype="text" />
<field reporter:label="Filter?" name="filter" reporter:datatype="bool"/>
<field reporter:label="Sorter?" name="sorter" reporter:datatype="bool"/>
<field reporter:label="MARC Tag" name="tag" reporter:datatype="text"/>
Modified: trunk/Open-ILS/src/sql/Pg/002.schema.config.sql
===================================================================
--- trunk/Open-ILS/src/sql/Pg/002.schema.config.sql 2011-03-07 16:03:38 UTC (rev 19620)
+++ trunk/Open-ILS/src/sql/Pg/002.schema.config.sql 2011-03-07 16:03:40 UTC (rev 19621)
@@ -888,6 +888,7 @@
CREATE TABLE config.record_attr_definition (
name TEXT PRIMARY KEY,
label TEXT NOT NULL, -- I18N
+ description TEXT,
filter BOOL NOT NULL DEFAULT TRUE, -- becomes QP filter if true
sorter BOOL NOT NULL DEFAULT FALSE, -- becomes QP sort() axis if true
Modified: trunk/Open-ILS/src/sql/Pg/upgrade/XXXX.schema.svf-phase-one.sql
===================================================================
--- trunk/Open-ILS/src/sql/Pg/upgrade/XXXX.schema.svf-phase-one.sql 2011-03-07 16:03:38 UTC (rev 19620)
+++ trunk/Open-ILS/src/sql/Pg/upgrade/XXXX.schema.svf-phase-one.sql 2011-03-07 16:03:40 UTC (rev 19621)
@@ -5,6 +5,7 @@
CREATE TABLE config.record_attr_definition (
name TEXT PRIMARY KEY,
label TEXT NOT NULL, -- I18N
+ description TEXT,
filter BOOL NOT NULL DEFAULT TRUE, -- becomes QP filter if true
sorter BOOL NOT NULL DEFAULT FALSE, -- becomes QP sort() axis if true
More information about the open-ils-commits
mailing list