Index: openacs-4/packages/new-portal/sql/oracle/objects-create.sql
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/new-portal/sql/oracle/objects-create.sql,v
diff -u -r1.2 -r1.3
--- openacs-4/packages/new-portal/sql/oracle/objects-create.sql	28 Sep 2001 02:02:00 -0000	1.2
+++ openacs-4/packages/new-portal/sql/oracle/objects-create.sql	28 Sep 2001 15:40:55 -0000	1.3
@@ -57,12 +57,12 @@
 begin  
   acs_object_type.create_type (
     supertype     => 'acs_object',
-    object_type   => 'portal_layouts',
-    pretty_name   => 'Portal Layouts',
+    object_type   => 'portal_layout',
+    pretty_name   => 'Portal Layout',
     pretty_plural => 'Portal Layouts',
     table_name    => 'PORTAL_LAYOUTS',
     id_column     => 'LAYOUT_ID',
-    package_name  => 'portal_layouts'
+    package_name  => 'portal_layout'
   );
 end;
 /
@@ -73,15 +73,15 @@
  attr_id acs_attributes.attribute_id%TYPE; 
 begin
   attr_id := acs_attribute.create_attribute ( 
-    object_type    => 'portal_layouts', 
+    object_type    => 'portal_layout', 
     attribute_name => 'NAME', 
     pretty_name    => 'Name', 
     pretty_plural  => 'Names', 
     datatype       => 'string' 
   ); 
 
   attr_id := acs_attribute.create_attribute ( 
-    object_type    => 'portal_layouts', 
+    object_type    => 'portal_layout', 
     attribute_name => 'DESCRIPTION', 
     pretty_name    => 'Description', 
     pretty_plural  => 'Descriptions', 
@@ -135,39 +135,39 @@
  attr_id acs_attributes.attribute_id%TYPE; 
 begin
   attr_id := acs_attribute.create_attribute ( 
-    object_type    => 'portal_element_themes', 
+    object_type    => 'portal_element_theme', 
     attribute_name => 'NAME', 
     pretty_name    => 'Name', 
     pretty_plural  => 'Names', 
     datatype       => 'string' 
   ); 
 
   attr_id := acs_attribute.create_attribute ( 
-    object_type    => 'portal_element_themes', 
+    object_type    => 'portal_element_theme', 
     attribute_name => 'DESCRIPTION', 
     pretty_name    => 'Description', 
     pretty_plural  => 'Descriptions', 
     datatype       => 'string' 
   ); 
 
   attr_id := acs_attribute.create_attribute ( 
-    object_type    => 'portal_element_themes', 
+    object_type    => 'portal_element_theme', 
     attribute_name => 'TYPE', 
     pretty_name    => 'Type', 
     pretty_plural  => 'Types', 
     datatype       => 'string' 
   ); 
 
   attr_id := acs_attribute.create_attribute (
-    object_type    => 'portal_element_themes',
+    object_type    => 'portal_element_theme',
     attribute_name => 'FILENAME',
     pretty_name    => 'Filename',
     pretty_plural  => 'Filenames',
     datatype       => 'string'
   ); 
 
   attr_id := acs_attribute.create_attribute (
-    object_type    => 'portal_element_themes',
+    object_type    => 'portal_element_theme',
     attribute_name => 'resource_dir',
     pretty_name    => 'Resource Directory',
     pretty_plural  => 'Resource Directory',
