Open chvanikoff opened 7 years ago
This is definitely should be supported, I wasn't able to find a native way for a table renaming, so some emulation should be done.
Yep, I believe the only thing Mnesia supports is: 1) create new table with same structure but new name 2) Copy data over from old table to new table 3) Destroy old table
There should be a possibility to rename tables in migrations, like with Postgres or Mysql:
rename table(:old), to: table(:new)