diff options
author | Alexey Shchepin <alexey@process-one.net> | 2019-09-27 20:36:35 +0300 |
---|---|---|
committer | Alexey Shchepin <alexey@process-one.net> | 2019-09-27 20:36:58 +0300 |
commit | 8f7fa3894902ed2181b45723388ee9087b92c18a (patch) | |
tree | b4d448d361f7de5ea3886592a840a6b7d252e73e /sql/pg.sql | |
parent | Advertise muc#roominfo_logs in disco#info of the room (diff) |
Support OAUTH client authentication
Diffstat (limited to '')
-rw-r--r-- | sql/pg.sql | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -358,6 +358,13 @@ CREATE TABLE oauth_token ( CREATE UNIQUE INDEX i_oauth_token_token ON oauth_token USING btree (token); +CREATE TABLE oauth_client ( + client text PRIMARY KEY, + secret text NOT NULL, + grant_type text NOT NULL, + options text NOT NULL +); + CREATE TABLE route ( domain text NOT NULL, server_host text NOT NULL, |