Refactor migration to move migrations paths to connection #31727
eileencodes wants to merge
eileencodes:refactor-migration-classes-to-allow-for-migrations_paths-on-conn
into rails:master