原因是这样的,运维不开放正式环境数据库的alter权限,所以每次都要给他们把sql语句发过去, 由他们来操作. https://github.com/capistrano/rails Require everything (bundler, rails/assets and rails/migrations): # Capfile require 'capistrano/rails' Or require just what you need manually: # Capfile requir…