lundi 16 novembre 2015

Use old database in rails app

I just set up rails app from my old pc to new one. Everything is working fine. But I don't have any data in the database. But I have my previous database from my old pc. How can I use this old database so that I get all the previous data? I am using mysql database, rails 3.2 and ruby. 1.9.3. So basically I need to import data from old database to new one. Or can I just change the new sql file with the new one?

Aucun commentaire:

Enregistrer un commentaire