view .svn/pristine/70/706a81236a3578317d828beb9423327b5b69e98d.svn-base @ 1519:afce8026aaeb redmine-2.4-integration

Merge from branch "live"
author Chris Cannam
date Tue, 09 Sep 2014 09:34:53 +0100
parents cbb26bc654de
children
line wrap: on
line source
class <%= class_name %> < ActiveRecord::Migration
  def self.up
  <%- plugins.each do |plugin| -%>
    Engines.plugins["<%= plugin.name %>"].migrate(<%= new_versions[plugin.name] %>)
  <%- end -%>
  end

  def self.down
  <%- plugins.each do |plugin| -%>
    Engines.plugins["<%= plugin.name %>"].migrate(<%= current_versions[plugin.name] %>)
  <%- end -%>
  end
end