You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been migrating a project from AR to Sequel. After doing all the necessary changes in the models and other layers and making the specs run, I'm finding an issue when running my first migration. First, my dump is called ActiveRecord::Schema. So, with ActiveRecord out, that's the first "ouch" moment. My first step, I assume, is regenerate the schema, hopefully to an hybrid/sql format. How could I generate it from the existing file/database?
The other question would be: what to do with the remaining migrations? They all subclass ActiveRecord::Migration, so db:structure:load and other tasks fail as soon as they load one of the files. How to migrate them/ignore them at best?
The text was updated successfully, but these errors were encountered:
I've been migrating a project from AR to Sequel. After doing all the necessary changes in the models and other layers and making the specs run, I'm finding an issue when running my first migration. First, my dump is called
ActiveRecord::Schema
. So, with ActiveRecord out, that's the first "ouch" moment. My first step, I assume, is regenerate the schema, hopefully to an hybrid/sql format. How could I generate it from the existing file/database?The other question would be: what to do with the remaining migrations? They all subclass
ActiveRecord::Migration
, so db:structure:load and other tasks fail as soon as they load one of the files. How to migrate them/ignore them at best?The text was updated successfully, but these errors were encountered: