rake-db 2.3.18 → 2.3.19

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -1214,7 +1214,7 @@ const processMigration = async (db, up, file, config, options, appCodeUpdaterCac
1214
1214
  if (callback) {
1215
1215
  change(callback);
1216
1216
  } else {
1217
- await config.import(pathToFileURL(file.path).toString());
1217
+ await config.import(pathToFileURL(file.path).pathname);
1218
1218
  changeCache[file.path] = getCurrentChangeCallback();
1219
1219
  }
1220
1220
  await getCurrentPromise();