Index: openacs-4/packages/acs-kernel/sql/postgresql/acs-metadata-create.sql
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/acs-kernel/sql/postgresql/acs-metadata-create.sql,v
diff -u -r1.3 -r1.4
--- openacs-4/packages/acs-kernel/sql/postgresql/acs-metadata-create.sql	20 Mar 2001 06:02:57 -0000	1.3
+++ openacs-4/packages/acs-kernel/sql/postgresql/acs-metadata-create.sql	9 Apr 2001 04:55:14 -0000	1.4
@@ -82,7 +82,8 @@
         clr_keys_p      boolean default ''t'';
 begin
         if new.object_type = old.object_type and 
-           new.supertype = old.supertype then
+           ((new.supertype = old.supertype) or 
+            (new.supertype is null and old.supertype is null)) then
 
            return new;
 
