mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-26 16:26:24 +01:00
Merge pull request #576 from processone/revert-570-fix_added_sm_table_to_pg
Revert "added sm table to pg.sql"
This commit is contained in:
commit
8985a47468
15
sql/pg.sql
15
sql/pg.sql
@ -288,18 +288,3 @@ CREATE TABLE caps_features (
|
|||||||
);
|
);
|
||||||
|
|
||||||
CREATE INDEX i_caps_features_node_subnode ON caps_features USING btree (node, subnode);
|
CREATE INDEX i_caps_features_node_subnode ON caps_features USING btree (node, subnode);
|
||||||
|
|
||||||
CREATE TABLE sm (
|
|
||||||
usec bigint NOT NULL,
|
|
||||||
pid text NOT NULL,
|
|
||||||
node text NOT NULL,
|
|
||||||
username text NOT NULL,
|
|
||||||
resource text NOT NULL,
|
|
||||||
priority text NOT NULL,
|
|
||||||
info text NOT NULL
|
|
||||||
);
|
|
||||||
|
|
||||||
CREATE UNIQUE INDEX i_sid ON sm USING btree (usec, pid);
|
|
||||||
CREATE INDEX i_node ON sm USING btree (node);
|
|
||||||
CREATE INDEX i_username ON sm USING btree (username);
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user