database migration - How to disable updating of structure.sql in rails? -


this question has answer here:

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

Popular posts from this blog

python - TypeError: start must be a integer -

html - How can i make an element from a bottom stacking context stays in front of another higher stacking context? -

sql - MySQL Custom calculate views -