Index: openacs-4/packages/acs-core-docs/www/object-system-design.adp
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/acs-core-docs/www/object-system-design.adp,v
diff -u -r1.1.2.3 -r1.1.2.4
--- openacs-4/packages/acs-core-docs/www/object-system-design.adp 23 Jun 2016 08:32:45 -0000 1.1.2.3
+++ openacs-4/packages/acs-core-docs/www/object-system-design.adp 19 Nov 2016 09:21:54 -0000 1.1.2.4
@@ -1,5 +1,5 @@
- The context system forms the basis for the rest of the OpenACS
access control system, which is described in in two separate
documents: one for the permissions
@@ -394,11 +394,11 @@
around three tables that keep track of object types, attributes,
and relation types. The first table is acs_object_types
, shown here in an
abbreviated form:create table acs_object_types (
- object_type varchar(100) not null primary key,
+ object_type varchar(1000) not null primary key,
supertype references acs_object_types (object_type),
abstract_p char(1) default 'f' not null
- pretty_name varchar(100) not null unique,
- pretty_plural varchar(100) not null unique,
+ pretty_name varchar(1000) not null unique,
+ pretty_plural varchar(1000) not null unique,
table_name varchar(30) not null unique,
id_column varchar(30) not null,
name_method varchar(30),
@@ -475,7 +475,7 @@
each group membership relation in which they participated.
In OpenACS 4, this sort of data can be stored as a relationship
type, in acs_rel_types
. The key parts of this table
look like this:
create table acs_rel_types (
- rel_type varchar(100) not null
+ rel_type varchar(1000) not null
references acs_object_types(object_type),
object_type_one not null
references acs_object_types (object_type),