rake-db 2.3.12 → 2.3.13
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/CHANGELOG.md +8 -0
- package/dist/index.d.ts +104 -6
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
- package/src/commands/migrateOrRollback.ts +3 -3
- package/src/common.ts +2 -2
- package/src/migration/migration.ts +3 -3
package/dist/index.mjs
CHANGED
|
@@ -901,7 +901,7 @@ const createMigrationInterface = (tx, up, options, adapterOptions, appCodeUpdate
|
|
|
901
901
|
adapter.arrays = (q, types) => {
|
|
902
902
|
return wrapWithLog(log, q, () => arrays.call(adapter, q, types));
|
|
903
903
|
};
|
|
904
|
-
const db = createDb$1({ adapter
|
|
904
|
+
const db = createDb$1({ adapter });
|
|
905
905
|
const { prototype: proto } = MigrationBase;
|
|
906
906
|
for (const key of Object.getOwnPropertyNames(proto)) {
|
|
907
907
|
db[key] = proto[key];
|
|
@@ -1111,7 +1111,7 @@ var __spreadValues$1 = (a, b) => {
|
|
|
1111
1111
|
}
|
|
1112
1112
|
return a;
|
|
1113
1113
|
};
|
|
1114
|
-
const getDb = (adapter) => createDb$1({ adapter
|
|
1114
|
+
const getDb = (adapter) => createDb$1({ adapter });
|
|
1115
1115
|
const migrateOrRollback = async (options, config, args, up) => {
|
|
1116
1116
|
var _a, _b, _c, _d, _e;
|
|
1117
1117
|
config = __spreadValues$1({}, config);
|