diff --git a/lib/redmine/plugin.rb b/lib/redmine/plugin.rb index fb42a8fa9..78eee1e7f 100644 --- a/lib/redmine/plugin.rb +++ b/lib/redmine/plugin.rb @@ -485,6 +485,10 @@ module Redmine def open Migrator.new(:up, migrations, schema_migration) end + + def current_version + Migrator.current_version + end end class Migrator < ActiveRecord::Migrator