database migration - How to disable updating of structure.sql in rails? -
this question has answer here:
- how disable db:schema:dump migrations 6 answers
is there config option let disable updating of structure.sql?
it updates everytime run migration , don't need update.
we need legacy tables.
you can disable in config/application.rb
:
config.active_record.dump_schema_after_migration = false
see configuration guide here.
Comments
Post a Comment