%%% Database schema (version / storage / table)
%%%
+%%% The table 'hosts' keeps the dynamic hosts (not defined in ejabberd.cfg)
+%%%
%%% 3.0.0-alpha-x / mnesia / hosts
%%% host = string()
%%% clusterid = integer()
{clusterid, int},
{config, text}]}]),
- %% Now let's add the default vhost: "localhost"
- gen_storage:dirty_write(HostB, #hosts{host = Host,
- clusterid = 1,
- config = ""}),
-
self() ! reload,
timer:send_interval(?RELOAD_INTERVAL, reload),
{noreply, State#state{state=running,odbc_wait_time=0}};