Project

General

Profile

Patch #4580 ยป 0001-run-rake-db-schema-dump-after-rake-db-migrate-plugin.patch

Konstantin Haase, 2010-01-14 14:10

View differences:

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."
    (1-1/1)