Can I generate a ruby on rails database migration file from a MySQL sql file

Posted by PlanetMaster on Stack Overflow See other posts from Stack Overflow or by PlanetMaster
Published on 2010-05-02T20:04:39Z Indexed on 2010/05/02 20:07 UTC
Read the original article Hit count: 182

Filed under:
|

Hi,

I have a sql script file that upon import creates a table in a MySQL database and fills it with 2800 record. These are all the postal codes for the country Belgium.

Now I would like to make a Ruby on Rails database migration file from this. Any idea how I can do this?

Thanks, Michael

© Stack Overflow or respective owner

Related posts about ruby-on-rails

Related posts about mysql