class method
self.dump_schema_after_migration
Ruby on Rails 4.2.9
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 85
mattr_accessor :dump_schema_after_migration, instance_writer: false
Defined in activerecord/lib/active_record/core.rb line 85
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveRecord::Core