Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make sure we are using the correct connection pool when dumping the s…
…chema (rails#52777) * Add test to make sure the schemas are different Related to rails#52776. Those two schemas files should be different, as they are generated from different migrations. * Make sure we are using the correct connection pool when dumping the schema This was broken by 175bf82. Before we were switching the connection pool to use the one for the correspondent db config, but since we moved the `dump_schema` call to outside of the `with_temporary_pool` block, we were using the default connection pool. Fixes rails#52776.
- Loading branch information