diff options
| author | Kir Shatrov <shatrov@me.com> | 2016-12-31 12:06:15 -0500 |
|---|---|---|
| committer | Kir Shatrov <shatrov@me.com> | 2017-01-01 19:23:23 -0500 |
| commit | 6cd757963d7f6b9bb33704c82bd9ee2bacaa1e28 (patch) | |
| tree | 18d015b92654915188f53a5e4c7ccde340360ff3 /activerecord/test/models/event.rb | |
| parent | 233499b6d6f7df1b2b367ab2e0117021ac1e419b (diff) | |
| download | rails-6cd757963d7f6b9bb33704c82bd9ee2bacaa1e28.tar.gz rails-6cd757963d7f6b9bb33704c82bd9ee2bacaa1e28.tar.bz2 rails-6cd757963d7f6b9bb33704c82bd9ee2bacaa1e28.zip | |
Dump schema cache for custom connection
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.
Diffstat (limited to 'activerecord/test/models/event.rb')
0 files changed, 0 insertions, 0 deletions
