Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/processone/ejabberd.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sql/pgsql/ejabberd_oauth.sql')
-rw-r--r--sql/pgsql/ejabberd_oauth.sql8
1 files changed, 8 insertions, 0 deletions
diff --git a/sql/pgsql/ejabberd_oauth.sql b/sql/pgsql/ejabberd_oauth.sql
new file mode 100644
index 000000000..527331e9e
--- /dev/null
+++ b/sql/pgsql/ejabberd_oauth.sql
@@ -0,0 +1,8 @@
+CREATE TABLE oauth_token (
+ token text NOT NULL,
+ jid text NOT NULL,
+ scope text NOT NULL,
+ "expire" bigint NOT NULL
+);
+
+CREATE UNIQUE INDEX i_oauth_token_token ON oauth_token (token);