inside Application.start()
I usually call a function like CreateTable.create()
where I use the :mnesia.create_table()
function to create an mnesia
table.
my base question: is this a proper way to create the table in production? cause every time the application starts it calls create_table
for existing table. though it doesn’t do any significant harm (?), wanted to know if there is some conventional way.
my main question: where to perform table transformations while using it in production? Do I call some functions from Application.start()
that invokes :mnesia.transform_table()
like before?