aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBadlop <badlop@process-one.net>2010-12-22 22:29:49 +0100
committerBadlop <badlop@process-one.net>2010-12-23 02:15:43 +0100
commit268e80ece7fa7b37486a0d27ff1e876453d797be (patch)
tree0505312639bfeea528e826413fe6fc4b135fd39e
parentAdd support in WebAdmin to register vhosts, and a page to restart or remove it (diff)
Document in mod_muc.erl the gen_storage table schema (EJAB-1368)
-rw-r--r--src/mod_muc/mod_muc.erl38
1 files changed, 38 insertions, 0 deletions
diff --git a/src/mod_muc/mod_muc.erl b/src/mod_muc/mod_muc.erl
index 5e8e25dd3..e47d422d4 100644
--- a/src/mod_muc/mod_muc.erl
+++ b/src/mod_muc/mod_muc.erl
@@ -24,6 +24,44 @@
%%%
%%%----------------------------------------------------------------------
+%%% Database schema (version / storage / table)
+%%%
+%%% 3.0.0-alpha / mnesia / muc_online_room
+%%% name_host = {Name::binary(), Host::binary()}
+%%% pid = pid()
+%%% 3.0.0-alpha / mnesia / muc_room_opt
+%%% name_host = {Name::binary(), Host::binary()}
+%%% opt = atom()
+%%% val = atom() | string()
+%%% 3.0.0-alpha / mnesia / muc_room_affiliation
+%%% name_host = {Name::binary(), Host::binary()}
+%%% jid = jid()
+%%% affiliation = owner |
+%%% reason = string()
+%%% 3.0.0-alpha / mnesia / muc_registered
+%%% us_host = {{Username::binary(), Host::binary()}, MucHost::binary()}}
+%%% nick = binary()
+%%%
+%%% 3.0.0-alpha / odbc / muc_online_room
+%%% name = text
+%%% host = text
+%%% pid = text
+%%% 3.0.0-alpha / odbc / muc_room_opt
+%%% name = text
+%%% host = text
+%%% opt = text
+%%% 3.0.0-alpha / mnesia / muc_room_affiliation
+%%% name = text
+%%% host = text
+%%% jid = text
+%%% affiliation = text
+%%% reason = text
+%%% 3.0.0-alpha / mnesia / muc_registered
+%%% us = text
+%%% host = text
+%%% nick = text
+%%%
+
-module(mod_muc).
-author('alexey@process-one.net').