Importing database from legacy aplication


I’m rebuilding from scratch a legacy application from php/mysql to

At some point I’m going to have to import the data from the legacy
application. One of the reasons for rebuilding is the badly implemented
Also I will have to map the old column names with the new ones and
convert the encoding from ISO-8859-1 to UTF-8.

Should I use migrations or a standalone script for that?
Where should I implement the tests?

Thanks in advance


I have tried to find posts relating this question but I didn’t really
tried the title of this post :stuck_out_tongue:

There is some info out there