Index: openacs-4/packages/acs-messaging/sql/postgresql/acs-messaging-drop.sql
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/acs-messaging/sql/postgresql/acs-messaging-drop.sql,v
diff -u -r1.2 -r1.3
--- openacs-4/packages/acs-messaging/sql/postgresql/acs-messaging-drop.sql	14 Jun 2001 05:03:39 -0000	1.2
+++ openacs-4/packages/acs-messaging/sql/postgresql/acs-messaging-drop.sql	5 Jul 2001 21:11:37 -0000	1.3
@@ -7,11 +7,16 @@
 --
 
 -- drop functions
+drop trigger acs_message_insert_tr on acs_messages;
+drop trigger acs_message_update_tr on acs_messages;
+drop function acs_message_insert_tr();
+drop function acs_message_update_tr();
+
 drop function acs_message__edit (integer,varchar,varchar,varchar,
-                                 text,timestamp,integer,varchar,boolean);
+                                 text,integer,timestamp,integer,varchar,boolean);
 drop function acs_message__new (integer,integer,timestamp,integer,
                                 varchar,varchar,varchar,varchar,varchar,text,
-                                integer,integer,integer,varchar,integer,boolean);
+                                integer,integer,integer,varchar,varchar,boolean);
 drop function acs_message__delete (integer);
 drop function acs_message__message_p (integer);
 drop function acs_message__send (integer,varchar,integer,timestamp);
