Index: openacs-4/packages/xowiki/tcl/xowiki-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/xowiki/tcl/xowiki-procs.tcl,v diff -u -r1.542.2.180 -r1.542.2.181 --- openacs-4/packages/xowiki/tcl/xowiki-procs.tcl 28 Jul 2024 17:08:02 -0000 1.542.2.180 +++ openacs-4/packages/xowiki/tcl/xowiki-procs.tcl 24 Aug 2024 17:04:51 -0000 1.542.2.181 @@ -146,8 +146,15 @@ # xowiki_form_instance_item_index. # if {[::xo::dc has_hstore]} { + if {[xo::dc list check_type {select 1 from acs_datatypes where datatype = 'hstore'}] eq {}} { + xo::dc dml add_datatype_hstore { + insert into acs_datatypes (datatype, max_n_values, database_type, column_size) + values ('hstore', null, 'hstore', null) + } + } ::xo::db::CrAttribute create hkey \ -sqltype hstore \ + -datatype hstore \ -default "" } } \