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:
parent
95a4b1b266
commit
92db9ff105
41 changed files with 222 additions and 53 deletions
|
@ -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)}]),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue