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 -

c# - DevExpress RepositoryItemComboBox BackColor property ignored -

django - Creating multiple model instances in DRF3 -