summaryrefslogtreecommitdiffstats
path: root/vendor/plugins/engines
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/plugins/engines')
-rw-r--r--vendor/plugins/engines/tasks/engines.rake1
1 files changed, 1 insertions, 0 deletions
diff --git a/vendor/plugins/engines/tasks/engines.rake b/vendor/plugins/engines/tasks/engines.rake
index 48e317066..231cd025a 100644
--- a/vendor/plugins/engines/tasks/engines.rake
+++ b/vendor/plugins/engines/tasks/engines.rake
@@ -37,6 +37,7 @@ namespace :db do
desc 'Migrate plugins to current status.'
task :plugins => :environment do
Engines.plugins.each do |plugin|
+ next unless plugin.respond_to?(:migration_directory)
next unless File.exists? plugin.migration_directory
puts "Migrating plugin #{plugin.name} ..."
plugin.migrate