Index: openacs-4/packages/file-storage/sql/oracle/file-storage-create.sql
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/file-storage/sql/oracle/file-storage-create.sql,v
diff -u -r1.3 -r1.4
--- openacs-4/packages/file-storage/sql/oracle/file-storage-create.sql	30 Aug 2001 12:43:31 -0000	1.3
+++ openacs-4/packages/file-storage/sql/oracle/file-storage-create.sql	4 Sep 2001 01:25:11 -0000	1.4
@@ -6,6 +6,22 @@
 -- @cvs-id $Id$
 --
 
+-- 
+-- To enable site-wide search to distinguish CR items as File Storage items
+-- we create an item subtype of content_item in the ACS Object Model
+begin
+ acs_object_type.create_type (
+   object_type   => 'file_storage_item',
+   pretty_name   => 'File Storage Item',
+   pretty_plural => 'File Storage Items',
+   supertype     => 'content_item',
+   table_name    => 'fs_root_folders',  -- JS: Will not do anything, but we have to insert something
+   id_column     => 'folder_id'         -- JS: Same.
+ );
+end;
+/
+show errors;
+
 --
 -- We need to create a root folder in the content repository for 
 -- each instance of file storage
