Index: openacs-4/packages/acs-mail-lite/sql/postgresql/acs-mail-lite-create.sql
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/acs-mail-lite/sql/postgresql/acs-mail-lite-create.sql,v
diff -u -r1.3 -r1.4
--- openacs-4/packages/acs-mail-lite/sql/postgresql/acs-mail-lite-create.sql	30 Oct 2005 11:53:15 -0000	1.3
+++ openacs-4/packages/acs-mail-lite/sql/postgresql/acs-mail-lite-create.sql	29 Nov 2005 11:28:26 -0000	1.4
@@ -24,9 +24,9 @@
 );
 
 create table acs_mail_lite_mail_log (
-    user_id                     integer
-                                constraint acs_mail_lite_log_user_id_fk
-                                references users (user_id)
+    party_id                     integer
+                                constraint acs_mail_lite_log_party_id_fk
+                                references parties (party_id)
                                 on delete cascade
 				constraint acs_mail_lite_log_pk
 				primary key,
@@ -35,9 +35,9 @@
 
 
 create table acs_mail_lite_bounce (
-    user_id                     integer
-                                constraint acs_mail_lite_bou_user_id_fk
-                                references users (user_id)
+    party_id                     integer
+                                constraint acs_mail_lite_bou_party_id_fk
+                                references parties (party_id)
                                 on delete cascade
 				constraint acs_mail_lite_bou_pk
 				primary key,
