[erlang-questions] Mnesia Callbacks?

nx <>
Sat Mar 21 23:52:57 CET 2015


I'm trying to make a simple module for 1) creating a mnesia table and
2) seed the created table with default data.

I'm not finding anything in the docs on passing a callback module
option into create_table or anything.

Currently I'm using this to create and seed my table:

reset() ->
  setup(),
  timer:sleep(3000),
  seed().

Any ideas?


More information about the erlang-questions mailing list