0

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.

Dr. Chocolate
  • 2,043
  • 4
  • 25
  • 45

1 Answers1

1

You can disable that in your config/application.rb:

config.active_record.dump_schema_after_migration = false

See the configuration guide here.

KARASZI István
  • 30,900
  • 8
  • 101
  • 128