Migrations and legacy database

I’m developing a first rails application whith a legacy oracle
database. I only have access to the datbase at work, but I would still
like to work from home too.

I need to maintain 2 different “migration environments” in the same
migration files.

  1. At work, I don’t use the up or down methods in my migrations
    classes.
  2. At home I would like to “build a copy” of the oracle database" with
    migrations and mySQL.

How can I accomplish this?
Thanks in advance for suggestions and help.

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