Index: openacs-4/packages/acs-events/acs-events.info =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-events/acs-events.info,v diff -u -N -r1.28 -r1.29 --- openacs-4/packages/acs-events/acs-events.info 26 Apr 2018 17:31:00 -0000 1.28 +++ openacs-4/packages/acs-events/acs-events.info 4 Jul 2018 17:26:55 -0000 1.29 @@ -7,14 +7,14 @@ f t - + OpenACS API support for relationships between intervals in time, activities, and parties. 2017-08-06 OpenACS The events service is primarily intended for use by writers of application packages and other service packages. The service allows developers to specify and manipulate relationships (possibly recurring) between an object and another object. 2 - + Index: openacs-4/packages/acs-events/sql/postgresql/acs-events-create.sql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-events/sql/postgresql/acs-events-create.sql,v diff -u -N -r1.23 -r1.24 --- openacs-4/packages/acs-events/sql/postgresql/acs-events-create.sql 26 Apr 2018 17:31:00 -0000 1.23 +++ openacs-4/packages/acs-events/sql/postgresql/acs-events-create.sql 4 Jul 2018 17:26:55 -0000 1.24 @@ -132,7 +132,7 @@ attr_id := acs_attribute__create_attribute ( 'acs_event', -- object_type 'html_p', -- attribute_name - 'string', -- datatype + 'boolean', -- datatype 'HTML?', -- pretty_name null, -- pretty_plural null, -- table_name (default) @@ -177,7 +177,7 @@ attr_id := acs_attribute__create_attribute ( 'acs_event', -- object_type 'redirect_to_rel_link_p', -- attribute_name - 'string', -- datatype + 'boolean', -- datatype 'Redirect to Related Link?', -- pretty_name null, -- pretty_plural null, -- table_name (default) Index: openacs-4/packages/acs-events/sql/postgresql/activity-create.sql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-events/sql/postgresql/activity-create.sql,v diff -u -N -r1.7 -r1.8 --- openacs-4/packages/acs-events/sql/postgresql/activity-create.sql 30 Mar 2013 13:00:29 -0000 1.7 +++ openacs-4/packages/acs-events/sql/postgresql/activity-create.sql 4 Jul 2018 17:26:55 -0000 1.8 @@ -70,7 +70,7 @@ attr_id := acs_attribute__create_attribute ( 'acs_activity', -- object_type 'html_p', -- attribute_name - 'string', -- data_type + 'boolean', -- data_type 'HTML?', -- pretty_name 'HTML?', -- pretty_plural null, -- table_name (default) Index: openacs-4/packages/acs-events/sql/postgresql/upgrade/upgrade-0.6.2d2-0.6.2d3.sql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-events/sql/postgresql/upgrade/upgrade-0.6.2d2-0.6.2d3.sql,v diff -u -N --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ openacs-4/packages/acs-events/sql/postgresql/upgrade/upgrade-0.6.2d2-0.6.2d3.sql 4 Jul 2018 17:26:55 -0000 1.1 @@ -0,0 +1,19 @@ + +DO $$ +BEGIN + update acs_attributes set + datatype = 'boolean' + where object_type = 'acs_activity' + and attribute_name = 'html_p'; + + update acs_attributes set + datatype = 'boolean' + where object_type = 'acs_event' + and attribute_name = 'html_p'; + + update acs_attributes set + datatype = 'boolean' + where object_type = 'acs_event' + and attribute_name = 'redirect_to_rel_link_p'; + +END$$;