rake-db 2.3.34 → 2.3.36
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.js +1 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -2
package/dist/index.mjs
CHANGED
|
@@ -2,7 +2,6 @@ import { singleQuote, quote, isRaw, getRaw, toArray, raw, EnumColumn, columnType
|
|
|
2
2
|
import path from 'path';
|
|
3
3
|
import { readdir, mkdir, writeFile } from 'fs/promises';
|
|
4
4
|
import prompts from 'prompts';
|
|
5
|
-
import { pathToFileURL } from 'url';
|
|
6
5
|
|
|
7
6
|
var __defProp$6 = Object.defineProperty;
|
|
8
7
|
var __defProps$5 = Object.defineProperties;
|
|
@@ -1291,7 +1290,7 @@ const processMigration = async (db, up, file, config, options, appCodeUpdaterCac
|
|
|
1291
1290
|
clearChanges();
|
|
1292
1291
|
let changes = changeCache[file.path];
|
|
1293
1292
|
if (!changes) {
|
|
1294
|
-
await config.import(
|
|
1293
|
+
await config.import(file.path);
|
|
1295
1294
|
changes = getCurrentChanges();
|
|
1296
1295
|
changeCache[file.path] = changes;
|
|
1297
1296
|
}
|