Add SQL as mod_proxy65 RAM backend

This commit is contained in:
Evgeniy Khramtsov
2017-03-31 08:16:28 +03:00
parent 3e4ed83cb3
commit f449df161a
4 changed files with 178 additions and 0 deletions
+12
View File
@@ -385,3 +385,15 @@ CREATE TABLE carboncopy (
CREATE UNIQUE INDEX i_carboncopy_ur ON carboncopy (username(75), resource(75));
CREATE INDEX i_carboncopy_user ON carboncopy (username(75));
CREATE TABLE proxy65 (
sid text NOT NULL,
pid_t text NOT NULL,
pid_i text NOT NULL,
node_t text NOT NULL,
node_i text NOT NULL,
jid_i text NOT NULL
) ENGINE=InnoDB CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
CREATE UNIQUE INDEX i_proxy65_sid ON proxy65 (sid(191));
CREATE INDEX i_proxy65_jid ON proxy65 (jid_i(191));