• K
    Dump schema cache for custom connection · 6cd75796
    Kir Shatrov 提交于
    Today `rake db:schema:cache:dump` only supports dumping cache for a
    single connection (`ActiveRecord::Base.connection`). This doesn't work
    for apps with multiple databases.
    
    This PR makes `DatabaseTasks` to provide an API for dumping schema cache
    for any connection.
    6cd75796
database_tasks.rb 11.4 KB