method
dump_schema_after_migration
rails latest stable - Class:
ActiveRecord
dump_schema_after_migrationpublic
Specify whether schema dump should happen at the end of the bin/rails db:migrate command. This is true by default, which is useful for the development environment. This should ideally be false in the production environment where dumping schema is rarely needed.