We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 2bab8cb + 42db883 commit 8f88a73Copy full SHA for 8f88a73
api.js
@@ -218,6 +218,9 @@ dbmigrate.prototype = {
218
if (arguments.length > 0) {
219
if (typeof specification === 'number') {
220
this.internals.argv.count = arguments[0];
221
+ } else if (typeof specification === 'string') {
222
+ this.internals.argv.destination = specification;
223
+ this.internals.argv.count = Number.MAX_VALUE;
224
} else if (typeof specification === 'function') {
225
callback = specification;
226
}
0 commit comments