Module: ActiveRecord::Migration::DesertMigration

Included in:
ActiveRecord::Migration
Defined in:
lib/desert/rails/migration.rb

Instance Method Summary collapse

Instance Method Details

#migrate_plugin(plugin_name, version) ⇒ Object



3
4
5
6
7
8
9
# File 'lib/desert/rails/migration.rb', line 3

def migrate_plugin(plugin_name, version)
  plugin = find_plugin(plugin_name)
  Desert::PluginMigrations::Migrator.migrate_plugin(
    plugin,
    version
  )
end