24
1
mirror of https://github.com/processone/ejabberd.git synced 2024-06-06 21:37:17 +02:00

Document in mod_muc.erl the gen_storage table schema (EJAB-1368)

This commit is contained in:
Badlop 2010-12-22 22:29:49 +01:00
parent a33c389b9b
commit 268e80ece7

View File

@ -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').