parent
5598d34478
commit
0b03106946
|
@ -188,7 +188,7 @@ CREATE TABLE pubsub_state (
|
|||
nodeid bigint,
|
||||
jid text,
|
||||
affiliation character(1),
|
||||
subscription character(1),
|
||||
subscriptions text,
|
||||
stateid bigint auto_increment primary key
|
||||
) CHARACTER SET utf8;
|
||||
CREATE INDEX i_pubsub_state_jid ON pubsub_state(jid(60));
|
||||
|
|
|
@ -190,7 +190,7 @@ CREATE TABLE pubsub_state (
|
|||
nodeid bigint REFERENCES pubsub_node(nodeid) ON DELETE CASCADE,
|
||||
jid text,
|
||||
affiliation character(1),
|
||||
subscription character(1),
|
||||
subscriptions text,
|
||||
stateid SERIAL UNIQUE
|
||||
);
|
||||
CREATE INDEX i_pubsub_state_jid ON pubsub_state USING btree (jid);
|
||||
|
|
Loading…
Reference in New Issue