Resolve the ordered list of migration SQL files between two module versions.
Source:R/migrate.R
getMigrationPath.RdTraverses inst/modules/{module}/ to build the chain of migration.sql
files required to advance from currentVersion to targetVersion. Returns
an empty list when the versions are equal or currentVersion is "0.0.0".
Usage
getMigrationPath(
module,
currentVersion,
targetVersion,
modulesRoot = resolvePackageDir("modules")
)