当前位置: 动力学知识库 > 问答 > 编程问答 >

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

问题描述:

This question already has an answer here:

  • How to disable db:schema:dump for migrations

    6 answers

网友答案:

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

config.active_record.dump_schema_after_migration = false

See the configuration guide here.

分享给朋友:
您可能感兴趣的文章:
随机阅读: