Explorar el Código

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
tags/4.1.0
Go MAEDA hace 5 años
padre
commit
3dc836a945
Se han modificado 1 ficheros con 6 adiciones y 1 borrados
  1. 6
    1
      lib/tasks/redmine.rake

+ 6
- 1
lib/tasks/redmine.rake Ver fichero

@@ -137,7 +137,12 @@ DESC
abort "Plugin #{name} was not found."
end

Rake::Task["db:schema:dump"].invoke
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.'

Cargando…
Cancelar
Guardar