Answer the question
In order to leave comments, you need to log in
How to transfer data from one database to another with a different structure?
The site was rewritten, the structure of the database also underwent changes, now you need to transfer all the data from the old database to the new one.
Are there any convenient facilities for Symfony 2.7 and Doctrine? Or the old fashioned way, by hand?
Answer the question
In order to leave comments, you need to log in
Use dbForge Studio for MySQL
, it has a tool for comparing two databases, it can also make a patch, rolling it onto one database, it will make it identical to the second
And how do you imagine it in general? What should such a tool do? Analyze the old structure, then the new one, then get into your head and find out what exactly you reflected in these changes and what relates to what and prepare an SQL file for you based on the analysis of your brain?)
The easiest way is to write the script yourself)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question