Mercurial > libervia-pubsub
diff db/pubsub.sql @ 479:cfa40fa108a4
db: fix pubsub.sql syntax
author | Goffi <goffi@goffi.org> |
---|---|
date | Wed, 11 May 2022 14:47:53 +0200 |
parents | b544109ab4c4 |
children |
line wrap: on
line diff
--- a/db/pubsub.sql Wed May 11 13:39:08 2022 +0200 +++ b/db/pubsub.sql Wed May 11 14:47:53 2022 +0200 @@ -65,9 +65,9 @@ subscription_depth text CHECK (subscription_depth IN (NULL, '1', 'all')), public boolean NOT NULL DEFAULT FALSE, - UNIQUE (entity_id, resource, node_id)), - UNIQUE (entity_id, ext_service, ext_node)), - ; + UNIQUE (entity_id, resource, node_id), + UNIQUE (entity_id, ext_service, ext_node) +); CREATE TABLE items ( item_id serial PRIMARY KEY,