diff db/pubsub.sql @ 240:70c8bb90d75f

added access_model to config, default to 'open'
author Goffi <goffi@goffi.org>
date Tue, 22 May 2012 21:21:57 +0200
parents 274a45d2a5ab
children 42048e37699e
line wrap: on
line diff
--- a/db/pubsub.sql	Sun May 20 00:52:13 2012 +0200
+++ b/db/pubsub.sql	Tue May 22 21:21:57 2012 +0200
@@ -8,6 +8,8 @@
     node text NOT NULL UNIQUE,
     node_type text NOT NULL DEFAULT 'leaf'
         CHECK (node_type IN ('leaf', 'collection')),
+    access_model text NOT NULL DEFAULT 'open'
+        CHECK (access_model IN ('open', 'roster')),
     persist_items boolean,
     deliver_payloads boolean NOT NULL DEFAULT TRUE,
     send_last_published_item text NOT NULL DEFAULT 'on_sub'