create_table(Tab) -> ok | exit(Reason)
A wrapper function for mnesia:create_table/2
, which creates a table (if there is no existing table) with an appropriate set of attributes
. The table only resides on the local node and its storage type is the same as the schema
table on the local node, that is, {ram_copies,[node()]}
or {disc_copies,[node()]}
.
This function is used by erl_interface
to create the Mnesia table if it does not already exist.