[open-ils-commits] r12181 - in trunk/Open-ILS: examples src/sql/Pg (miker)
svn at svn.open-ils.org
svn at svn.open-ils.org
Fri Feb 13 20:11:32 EST 2009
Author: miker
Date: 2009-02-13 20:11:31 -0500 (Fri, 13 Feb 2009)
New Revision: 12181
Modified:
trunk/Open-ILS/examples/fm_IDL.xml
trunk/Open-ILS/src/sql/Pg/500.view.cross-schema.sql
Log:
cannot use "classname", we have reserved that in the js, and perl uses class_name. so, we will use fm_class
Modified: trunk/Open-ILS/examples/fm_IDL.xml
===================================================================
--- trunk/Open-ILS/examples/fm_IDL.xml 2009-02-13 22:21:34 UTC (rev 12180)
+++ trunk/Open-ILS/examples/fm_IDL.xml 2009-02-14 01:11:31 UTC (rev 12181)
@@ -3919,7 +3919,7 @@
<field name="ischanged" oils_obj:array_position="1" oils_persist:virtual="true" />
<field name="isdeleted" oils_obj:array_position="2" oils_persist:virtual="true" />
<field name="id" oils_obj:array_position="3" oils_persist:virtual="false" reporter:datatype="id" />
- <field name="classname" oils_obj:array_position="4" oils_persist:virtual="false" reporter:datatype="text"/>
+ <field name="fm_class" oils_obj:array_position="4" oils_persist:virtual="false" reporter:datatype="text"/>
<field name="field" oils_obj:array_position="5" oils_persist:virtual="false" reporter:datatype="text"/>
<field name="owner" oils_obj:array_position="6" oils_persist:virtual="false" reporter:datatype="org_unit"/>
<field name="string" oils_obj:array_position="7" oils_persist:virtual="false" reporter:datatype="text" oils_persist:i18n="true"/>
Modified: trunk/Open-ILS/src/sql/Pg/500.view.cross-schema.sql
===================================================================
--- trunk/Open-ILS/src/sql/Pg/500.view.cross-schema.sql 2009-02-13 22:21:34 UTC (rev 12180)
+++ trunk/Open-ILS/src/sql/Pg/500.view.cross-schema.sql 2009-02-14 01:11:31 UTC (rev 12181)
@@ -84,12 +84,12 @@
-- Not a view, but it's cross-schema..
CREATE TABLE config.idl_field_doc (
id BIGSERIAL PRIMARY KEY,
- classname TEXT NOT NULL,
+ fm_class TEXT NOT NULL,
field TEXT NOT NULL,
owner INT NOT NULL REFERENCES actor.org_unit (id) ON UPDATE CASCADE ON DELETE CASCADE DEFERRABLE INITIALLY DEFERRED,
string TEXT NOT NULL
);
-CREATE UNIQUE INDEX idl_field_doc_identity ON config.idl_field_doc (classname,field,owner);
+CREATE UNIQUE INDEX idl_field_doc_identity ON config.idl_field_doc (fm_class,field,owner);
COMMIT;
More information about the open-ils-commits
mailing list