Patch #31485 ยป add-support-for-schema-format-sql.diff
lib/tasks/redmine.rake | ||
---|---|---|
137 | 137 |
abort "Plugin #{name} was not found." |
138 | 138 |
end |
139 | 139 | |
140 |
Rake::Task["db:schema:dump"].invoke |
|
140 |
case ActiveRecord::Base.schema_format |
|
141 |
when :ruby |
|
142 |
Rake::Task["db:schema:dump"].invoke |
|
143 |
when :sql |
|
144 |
Rake::Task["db:structure:dump"].invoke |
|
145 |
end |
|
141 | 146 |
end |
142 | 147 | |
143 | 148 |
desc 'Copies plugins assets into the public directory.' |