lib/fulmar/domain/task/database_sync.rake in fulmar-1.4.2 vs lib/fulmar/domain/task/database_sync.rake in fulmar-1.5.0
- old
+ new
@@ -33,10 +33,10 @@
end
end
end
end
-if db_configs.any?
+if configuration.feature?(:database) && db_configs.any?
namespace :database do
create_update_tasks(db_configs) if db_configs.count > 1
end
end