Index: openacs-4/packages/calendar/calendar.info =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/calendar/calendar.info,v diff -u -r1.46 -r1.47 --- openacs-4/packages/calendar/calendar.info 30 Apr 2018 13:54:38 -0000 1.46 +++ openacs-4/packages/calendar/calendar.info 4 Jul 2018 17:31:27 -0000 1.47 @@ -7,7 +7,7 @@ f f - + Dirk Gomez Personal and shared event calendars. 2017-08-06 @@ -17,7 +17,7 @@ 2 #calendar.Calendar# - + Index: openacs-4/packages/calendar/sql/postgresql/calendar-create.sql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/calendar/sql/postgresql/calendar-create.sql,v diff -u -r1.19 -r1.20 --- openacs-4/packages/calendar/sql/postgresql/calendar-create.sql 22 Apr 2018 18:05:23 -0000 1.19 +++ openacs-4/packages/calendar/sql/postgresql/calendar-create.sql 4 Jul 2018 17:31:27 -0000 1.20 @@ -103,7 +103,7 @@ attr_id := acs_attribute__create_attribute ( 'calendar', -- object_type 'private_p', -- attribute_name - 'string', -- datatype + 'boolean', -- datatype 'Private Calendar', -- pretty_name 'Private Calendars', -- pretty_plural null, -- table_name (default) Index: openacs-4/packages/calendar/sql/postgresql/upgrade/upgrade-2.10.0d4-2.10.0d5.sql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/calendar/sql/postgresql/upgrade/upgrade-2.10.0d4-2.10.0d5.sql,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ openacs-4/packages/calendar/sql/postgresql/upgrade/upgrade-2.10.0d4-2.10.0d5.sql 4 Jul 2018 17:31:27 -0000 1.1 @@ -0,0 +1,8 @@ + +DO $$ +BEGIN + update acs_attributes set + datatype = 'boolean' + where object_type = 'calendar' + and attribute_name = 'private_p'; +END$$;