mirror of
https://github.com/meineerde/redmine.git
synced 2025-10-17 17:01:01 +00:00
Add support for :sql ActiveRecord::Base.schema_format in redmine:plugins:migrate (#31485).
Patch by Kouhei Sutou. git-svn-id: http://svn.redmine.org/redmine/trunk@18212 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
f76a85dc5a
commit
3dc836a945
@ -137,7 +137,12 @@ DESC
|
||||
abort "Plugin #{name} was not found."
|
||||
end
|
||||
|
||||
case ActiveRecord::Base.schema_format
|
||||
when :ruby
|
||||
Rake::Task["db:schema:dump"].invoke
|
||||
when :sql
|
||||
Rake::Task["db:structure:dump"].invoke
|
||||
end
|
||||
end
|
||||
|
||||
desc 'Copies plugins assets into the public directory.'
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user