We have a multiple database application where the primary database is the app’s own and the two other databases are legacy databases from Windows applications running in production.
We do not want to operate any migrations on these databases.
I noticed migrations take a long time with Rails 6. This is due to dumping schema on every database in the
So I can use
config.active_record.dump_schema_after_migration to disable this dumping, but then I would lose out on the schema getting updated for my
Would it be purposeful to add an option to disable migrations for a given database, say if you have one that is readonly?
Maybe we could have configuration for the schema dump option with an array of databases to dump the schema for?