mirror of
https://github.com/processone/ejabberd
synced 2025-10-03 09:49:18 +02:00
Add SQL support for mod_push
This commit is contained in:
parent
88928c0149
commit
db57394399
9 changed files with 324 additions and 46 deletions
|
@ -391,3 +391,14 @@ CREATE TABLE proxy65 (
|
|||
|
||||
CREATE UNIQUE INDEX i_proxy65_sid ON proxy65 (sid(191));
|
||||
CREATE INDEX i_proxy65_jid ON proxy65 (jid_i(191));
|
||||
|
||||
CREATE TABLE push_session (
|
||||
username text NOT NULL,
|
||||
timestamp bigint NOT NULL,
|
||||
service text NOT NULL,
|
||||
node text NOT NULL,
|
||||
xml text NOT NULL
|
||||
);
|
||||
|
||||
CREATE UNIQUE INDEX i_push_usn ON push_session (username(191), service(191), node(191));
|
||||
CREATE UNIQUE INDEX i_push_ut ON push_session (username(191), timestamp);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue