Index: openacs-4/packages/acs-content-repository/acs-content-repository.info
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/acs-content-repository/acs-content-repository.info,v
diff -u -r1.97 -r1.98
--- openacs-4/packages/acs-content-repository/acs-content-repository.info	10 Apr 2011 21:37:27 -0000	1.97
+++ openacs-4/packages/acs-content-repository/acs-content-repository.info	11 Apr 2011 00:28:54 -0000	1.98
@@ -7,7 +7,7 @@
     <initial-install-p>t</initial-install-p>
     <singleton-p>t</singleton-p>
 
-    <version name="5.7.0d3" url="http://openacs.org/repository/download/apm/acs-content-repository-5.7.0d3.apm">
+    <version name="5.7.0d4" url="http://openacs.org/repository/download/apm/acs-content-repository-5.7.0d4.apm">
         <owner url="http://openacs.org">OpenACS</owner>
         <summary>The canonical repository for OpenACS content.</summary>
         <release-date>2010-06-17</release-date>
@@ -20,7 +20,7 @@
         <license>GPL</license>
         <maturity>3</maturity>
 
-        <provides url="acs-content-repository" version="5.7.0d3"/>
+        <provides url="acs-content-repository" version="5.7.0d4"/>
         <requires url="acs-kernel" version="5.7.0d4"/>
         <requires url="acs-service-contract" version="5.7.0d1"/>
         <requires url="search" version="5.7.0d1"/>
Index: openacs-4/packages/acs-content-repository/sql/postgresql/types-create.sql
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/acs-content-repository/sql/postgresql/types-create.sql,v
diff -u -r1.6 -r1.7
--- openacs-4/packages/acs-content-repository/sql/postgresql/types-create.sql	27 Jul 2006 20:09:34 -0000	1.6
+++ openacs-4/packages/acs-content-repository/sql/postgresql/types-create.sql	11 Apr 2011 00:28:54 -0000	1.7
@@ -376,6 +376,28 @@
    'text'
  );
 
+ select content_type__create_attribute (
+   'content_revision',
+   'item_id',
+   'integer',
+   'Item id',
+   'Item ids',
+   null,
+   null,
+   'integer'
+ );
+
+ select content_type__create_attribute (
+   'content_revision',
+   'content',
+   'text',
+   'Content',
+   'Content',
+   null,
+   null,
+   'text'
+ );
+
 end;
 
 -- Declare standard relationships with children and other items
Index: openacs-4/packages/acs-content-repository/sql/postgresql/upgrade/upgrade-5.7.0d3-5.7.0d4.sql
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/acs-content-repository/sql/postgresql/upgrade/upgrade-5.7.0d3-5.7.0d4.sql,v
diff -u
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ openacs-4/packages/acs-content-repository/sql/postgresql/upgrade/upgrade-5.7.0d3-5.7.0d4.sql	11 Apr 2011 00:28:54 -0000	1.1
@@ -0,0 +1,25 @@
+begin;
+
+ select content_type__create_attribute (
+   'content_revision',
+   'item_id',
+   'integer',
+   'Item id',
+   'Item ids',
+   null,
+   null,
+   'integer'
+ );
+
+ select content_type__create_attribute (
+   'content_revision',
+   'content',
+   'text',
+   'Content',
+   'Content',
+   null,
+   null,
+   'text'
+ );
+
+end;