1
0
Fork 0
mirror of https://github.com/processone/ejabberd synced 2025-10-05 19:42:11 +02:00

Reorganize SQL schema files

This commit is contained in:
Evgeniy Khramtsov 2018-07-19 10:24:19 +03:00
parent 8a441b9cac
commit e47475fff6
64 changed files with 2931 additions and 0 deletions

11
sql/pgsql/mod_push.sql Normal file
View file

@ -0,0 +1,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,
PRIMARY KEY (server_host, username, timestamp)
);
CREATE UNIQUE INDEX i_push_session_susn ON push_session (server_host, username, service, node);