Any way to convert migration

Hi all,

I have a mysql dump for my app. i need to generate migration files
is there any way to convert mysql dump data into migration files.


Arun A.

If it is just schema definition, you can load it to the DB, run ‘rake
db:schema:dump’, and to copy/modify db/schema.rb to be your first
migration. If there is data, you can use DataLoader to load your SQL
directly from a migration:


This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs