Index: openacs-4/packages/layout-manager/sql/postgresql/includelets-create.sql
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/layout-manager/sql/postgresql/includelets-create.sql,v
diff -u -r1.2 -r1.3
--- openacs-4/packages/layout-manager/sql/postgresql/includelets-create.sql	30 Jul 2008 11:59:33 -0000	1.2
+++ openacs-4/packages/layout-manager/sql/postgresql/includelets-create.sql	2 Aug 2008 05:29:10 -0000	1.3
@@ -24,6 +24,9 @@
                                     references apm_package_types(package_key)
                                     on delete cascade
                                     constraint l_includelets_pp_nn
+                                    not null,
+    internally_managed_p            boolean
+                                    constraint l_includelets_i_m_nn
                                     not null
 );
 
@@ -67,3 +70,11 @@
 comment on column layout_includelets.initializer is '
     The name of an optional initialization procedure to run after the default constructor.
 ';
+
+comment on column layout_includelets.internally_managed_p is '
+    If true, external application/includelet managers (like layout-subsite-integration) should
+    ignore the existence of this includelet.  While this was added explicitly to port the
+    rather quaint and eccentric xowiki portlet to the layout manager, which has its admin
+    portlet create layout elements via a dynamically generated form in a very non-.LRN
+    manner, it''s probably generally useful.
+';
