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:
parent
8a441b9cac
commit
e47475fff6
64 changed files with 2931 additions and 0 deletions
11
sql/pgsql/mod_push.sql
Normal file
11
sql/pgsql/mod_push.sql
Normal 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);
|
Loading…
Add table
Add a link
Reference in a new issue