Index: openacs-4/packages/contacts-lite/sql/postgresql/contacts-plsql.sql
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/contacts-lite/sql/postgresql/contacts-plsql.sql,v
diff -u -r1.1 -r1.2
--- openacs-4/packages/contacts-lite/sql/postgresql/contacts-plsql.sql	20 Jan 2021 18:35:37 -0000	1.1
+++ openacs-4/packages/contacts-lite/sql/postgresql/contacts-plsql.sql	20 Jan 2021 21:01:04 -0000	1.2
@@ -1,5 +1,7 @@
 -- @cvs-id: $Id$	
 
+select acs_object_type__drop_type('contact', TRUE);
+
 create function inline_0 () 
 returns integer as '  
 begin 
@@ -23,7 +25,7 @@
 
 drop function inline_0 ();
 
-create function contact__new (varchar, varchar, varchar, varchar, varchar, 
+create or replace function contact__new (varchar, varchar, varchar, varchar, varchar, 
     varchar, varchar, varchar, integer, integer, text, varchar, varchar, integer,varchar,integer,integer) 
 returns integer as ' 
 declare 
