Mercurial > libervia-pubsub
changeset 479:cfa40fa108a4
db: fix pubsub.sql syntax
author | Goffi <goffi@goffi.org> |
---|---|
date | Wed, 11 May 2022 14:47:53 +0200 |
parents | b544109ab4c4 |
children | 23a51b139024 |
files | db/pubsub.sql |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
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,