[erlang-questions] mnesia initialization code review

Huseyin Yilmaz yilmazhuseyin@REDACTED
Mon Jul 28 13:24:33 CEST 2014

I tried to use mnesia couple of times before. But it always seemed too hard
to get it working right. So at last I think I got a good initialization.
Can you guys spend couple minutes to review my code.

My code is aimed to run as a single node (because multinode mnesia setup
seemed a lot of work). So only thing I do is to check if my tables are
there and if they aren't create them.

My code that initializes mnesia:

Backup and restore functions:

Thanks in advance.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20140728/94562aa1/attachment.htm>

More information about the erlang-questions mailing list