Patch #4580 ยป 0001-run-rake-db-schema-dump-after-rake-db-migrate-plugin.patch
lib/tasks/migrate_plugins.rake | ||
---|---|---|
7 | 7 |
puts "Migrating #{plugin.name}..." |
8 | 8 |
plugin.migrate |
9 | 9 |
end |
10 |
Rake::Task["db:schema:dump"].invoke if ActiveRecord::Base.schema_format == :ruby |
|
10 | 11 |
else |
11 | 12 |
puts "Undefined method plugins for Rails!" |
12 | 13 |
puts "Make sure engines plugin is installed." |