@@ -37,6 +37,7 namespace :db do | |||
|
37 | 37 | desc 'Migrate plugins to current status.' |
|
38 | 38 | task :plugins => :environment do |
|
39 | 39 | Engines.plugins.each do |plugin| |
|
40 | next unless plugin.respond_to?(:migration_directory) | |
|
40 | 41 | next unless File.exists? plugin.migration_directory |
|
41 | 42 | puts "Migrating plugin #{plugin.name} ..." |
|
42 | 43 | plugin.migrate |
General Comments 0
You need to be logged in to leave comments.
Login now