Commit 0cdc3e50 authored by jplang's avatar jplang

Plugin migration directory should use plugin directory (#14402).

git-svn-id: e93f8b46-1217-0410-a6f0-8f06a7374b81
parent 4a6c77c0
......@@ -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')
# Returns the version number of the latest migration for this plugin. Returns
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment