Mercurial > libervia-pubsub
diff db/pubsub.sql @ 260:f0cd02c032b3
publish model management
author | Goffi <goffi@goffi.org> |
---|---|
date | Mon, 06 May 2013 00:26:37 +0200 |
parents | 50f6ee966da8 |
children | df1edebb0466 |
line wrap: on
line diff
--- a/db/pubsub.sql Mon May 06 00:11:44 2013 +0200 +++ b/db/pubsub.sql Mon May 06 00:26:37 2013 +0200 @@ -13,7 +13,9 @@ persist_items boolean, deliver_payloads boolean NOT NULL DEFAULT TRUE, send_last_published_item text NOT NULL DEFAULT 'on_sub' - CHECK (send_last_published_item IN ('never', 'on_sub')) + CHECK (send_last_published_item IN ('never', 'on_sub')), + publish_model text NOT NULL DEFAULT 'publishers' + CHECK (publish_model IN ('publishers', 'subscribers', 'open')) ); INSERT INTO nodes (node, node_type) values ('', 'collection');