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

mod_push.sql « sqlite « sql - github.com/processone/ejabberd.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 702eec667240f337db07255e2c8ff4d60e443bfc (plain)
1
2
3
4
5
6
7
8
9
10
11
CREATE TABLE push_session (
    username text NOT NULL,
    server_host text NOT NULL,
    timestamp bigint NOT NULL,
    service text NOT NULL,
    node text NOT NULL,
    xml text NOT NULL
);

CREATE UNIQUE INDEX i_server_host_username_timestamp ON push_session (server_host, username, timestamp);
CREATE UNIQUE INDEX i_push_session_susn ON push_session (server_host, username, service, node);