1
0
Fork 0
mirror of https://github.com/processone/ejabberd synced 2025-10-05 19:42:11 +02:00

Improve handling of mnesia schema

This commit is contained in:
Christophe Romain 2016-11-30 11:09:17 +01:00
parent 95a4b1b266
commit 92db9ff105
41 changed files with 222 additions and 53 deletions

View file

@ -49,7 +49,7 @@
-record(sql_pool, {host, pid}).
start_link(Host) ->
mnesia:create_table(sql_pool,
ejabberd_mnesia:create(?MODULE, sql_pool,
[{ram_copies, [node()]}, {type, bag},
{local_content, true},
{attributes, record_info(fields, sql_pool)}]),