Mercurial > libervia-pubsub
annotate db/gateway.sql @ 329:98409ef42c94
PostGreSQL: schema update:
access models changes:
- renamed roster to publisher-roster, as roster is in fact the pubsub service's roster, so it was badly used
- added whitelist, publish-only
- new non standard (yet?) self-publisher. It is planed to allow publisher to publish, update and delete only its own items
- roster => publisher-roster renaming, and whitelist has been added to item access model too. publish-only and self-publisher don't make sense for items
added "member" to affiliations (will be used for whitelist)
news tables item_jids_authorized and item_languages.
updated to version 2
author | Goffi <goffi@goffi.org> |
---|---|
date | Sun, 26 Mar 2017 20:33:18 +0200 |
parents | 274a45d2a5ab |
children |
rev | line source |
---|---|
206
274a45d2a5ab
Implement root collection that includes all leaf nodes.
Ralph Meijer <ralphm@ik.nu>
parents:
diff
changeset
|
1 create table callbacks ( |
274a45d2a5ab
Implement root collection that includes all leaf nodes.
Ralph Meijer <ralphm@ik.nu>
parents:
diff
changeset
|
2 service text not null, |
274a45d2a5ab
Implement root collection that includes all leaf nodes.
Ralph Meijer <ralphm@ik.nu>
parents:
diff
changeset
|
3 node text not null, |
274a45d2a5ab
Implement root collection that includes all leaf nodes.
Ralph Meijer <ralphm@ik.nu>
parents:
diff
changeset
|
4 uri text not null, |
274a45d2a5ab
Implement root collection that includes all leaf nodes.
Ralph Meijer <ralphm@ik.nu>
parents:
diff
changeset
|
5 PRIMARY KEY (service, node, uri) |
274a45d2a5ab
Implement root collection that includes all leaf nodes.
Ralph Meijer <ralphm@ik.nu>
parents:
diff
changeset
|
6 ); |
274a45d2a5ab
Implement root collection that includes all leaf nodes.
Ralph Meijer <ralphm@ik.nu>
parents:
diff
changeset
|
7 |