mirror of
https://github.com/meineerde/redmine.git
synced 2025-12-19 15:01:14 +00:00
Plugin migration directory should use plugin directory (#14402).
git-svn-id: http://svn.redmine.org/redmine/trunk@14364 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
0a6f936626
commit
15c7066dde
@ -432,7 +432,7 @@ module Redmine #:nodoc:
|
||||
|
||||
# The directory containing this plugin's migrations (<tt>plugin/db/migrate</tt>)
|
||||
def migration_directory
|
||||
File.join(Rails.root, 'plugins', id.to_s, 'db', 'migrate')
|
||||
File.join(directory, 'db', 'migrate')
|
||||
end
|
||||
|
||||
# Returns the version number of the latest migration for this plugin. Returns
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user