class method
self.dump_schema_after_migration
Ruby on Rails 5.2.8.1
Since v4.1.16 Last seen in v6.1.7.10Specify whether schema dump should happen at the end of the db:migrate rake task. 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.
Source
# File activerecord/lib/active_record/core.rb, line 105
mattr_accessor :dump_schema_after_migration, instance_writer: false, default: true
Defined in activerecord/lib/active_record/core.rb line 105
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveRecord::Core