Index: openacs-4/packages/bulk-mail/sql/postgresql/bulk-mail-views-create.sql
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/bulk-mail/sql/postgresql/bulk-mail-views-create.sql,v
diff -u -r1.1.1.1 -r1.1.1.1.2.1
--- openacs-4/packages/bulk-mail/sql/postgresql/bulk-mail-views-create.sql	15 May 2002 22:07:52 -0000	1.1.1.1
+++ openacs-4/packages/bulk-mail/sql/postgresql/bulk-mail-views-create.sql	23 Jun 2003 19:44:31 -0000	1.1.1.1.2.1
@@ -9,10 +9,10 @@
 as
     select bulk_mail_messages.*
     from bulk_mail_messages
-    where sent_p = 'f';
+    where status = 'pending';
 
 create view bulk_mail_messages_sent
 as
     select bulk_mail_messages.*
     from bulk_mail_messages
-    where sent_p = 't';
+    where status = 'sent';
