Hi all,
I have a mysql dump for my app. i need to generate migration files
through
it.
is there any way to convert mysql dump data into migration files.
reply
Thanks
Arun A.
Hi all,
I have a mysql dump for my app. i need to generate migration files
through
it.
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:
Val
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs