changeset 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 0d4474051eeb
children c21b986cff30
files db/pubsub.sql
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
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 (