Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
例如,我保存{id, name}在 mnesia 并想更新到,每次更改架构时{id, name, age}都必须调用吗?transform_table
{id, name}
{id, name, age}
transform_table
最简单的方法是删除表并重新创建它。如果您需要将数据保留在表中,mnesia:transform_table是要走的路。
mnesia:transform_table