Is there a config option that would let us disable updating of the structure.sql?
It constantly updates everytime we run a migration and we don't need it to update.
We just need it for legacy tables.
Is there a config option that would let us disable updating of the structure.sql?
It constantly updates everytime we run a migration and we don't need it to update.
We just need it for legacy tables.
You can disable that in your config/application.rb
:
config.active_record.dump_schema_after_migration = false
See the configuration guide here.