Class: DataMapper::DestructiveMigrator
- Defined in:
- lib/dm-core/migrations/destructive_migrations.rb
Overview
module DestructiveMigrations
Class Method Summary collapse
Methods inherited from Migrator
inherited, subclasses, subclasses=
Class Method Details
.migrate(repository_name) ⇒ Object
11 12 13 14 15 |
# File 'lib/dm-core/migrations/destructive_migrations.rb', line 11 def self.migrate(repository_name) models.each do |model| model.auto_migrate! end end |