[open-ils-commits] r13532 - in trunk/Open-ILS: examples src/sql/Pg (scottmk)
svn at svn.open-ils.org
svn at svn.open-ils.org
Wed Jul 8 13:27:13 EDT 2009
Author: scottmk
Date: 2009-07-08 13:27:10 -0400 (Wed, 08 Jul 2009)
New Revision: 13532
Modified:
trunk/Open-ILS/examples/fm_IDL.xml
trunk/Open-ILS/src/sql/Pg/005.schema.actors.sql
Log:
Add a new boolean column usr_summary to actor.stat_cat.
SQL to apply this change to an existing table:
alter table actor.stat_cat
add column usr_summary boolean not null default false;
Modified: trunk/Open-ILS/examples/fm_IDL.xml
===================================================================
--- trunk/Open-ILS/examples/fm_IDL.xml 2009-07-08 17:21:47 UTC (rev 13531)
+++ trunk/Open-ILS/examples/fm_IDL.xml 2009-07-08 17:27:10 UTC (rev 13532)
@@ -2807,6 +2807,7 @@
<field reporter:label="Name" name="name" reporter:datatype="text" oils_persist:i18n="true"/>
<field reporter:label="OPAC Visible" name="opac_visible" reporter:datatype="bool"/>
<field reporter:label="Owning Library" name="owner" reporter:datatype="org_unit"/>
+ <field reporter:label="User Summary" name="usr_summary" reporter:datatype="bool"/>
</fields>
<links>
<link field="owner" reltype="has_a" key="id" map="" class="aou"/>
Modified: trunk/Open-ILS/src/sql/Pg/005.schema.actors.sql
===================================================================
--- trunk/Open-ILS/src/sql/Pg/005.schema.actors.sql 2009-07-08 17:21:47 UTC (rev 13531)
+++ trunk/Open-ILS/src/sql/Pg/005.schema.actors.sql 2009-07-08 17:27:10 UTC (rev 13532)
@@ -184,6 +184,7 @@
owner INT NOT NULL,
name TEXT NOT NULL,
opac_visible BOOL NOT NULL DEFAULT FALSE,
+ usr_summary BOOL NOT NULL DEFAULT FALSE,
CONSTRAINT sc_once_per_owner UNIQUE (owner,name)
);
COMMENT ON TABLE actor.stat_cat IS $$
More information about the open-ils-commits
mailing list