diff db/pubsub.sql @ 182:4aa29b1a8c67

Add send_last_published_item configuration item to nodes table definition.
author Ralph Meijer <ralphm@ik.nu>
date Fri, 11 Apr 2008 13:48:12 +0000
parents f766e46dce0f
children a5d267289e92
line wrap: on
line diff
--- a/db/pubsub.sql	Thu Apr 10 14:37:43 2008 +0000
+++ b/db/pubsub.sql	Fri Apr 11 13:48:12 2008 +0000
@@ -8,6 +8,8 @@
     node text not null unique,
     persistent boolean not null default true,
     deliver_payload boolean not null default true
+    send_last_published_item text not null default 'on_sub'
+        check (send_last_published_item in ('never', 'on_sub')),
 );
 
 create table affiliations (