As the title says, in my migration script, I'm just trying to print anything at this point, and nothing is making it to the console. Am I missing something, is this possible?
I've tried just throwing an Error immediately and the migration still says "migration: complete" with no other message about an exception or anything.
I've tried something as simple as the script below. in is not being logged to the console. I can throw as well, and it still says "migration: complete".
module.exports.up = async function (next) {
let client
console.log('in')
next()
}
module.exports.down = function (next) {
next()
}
As the title says, in my migration script, I'm just trying to print anything at this point, and nothing is making it to the console. Am I missing something, is this possible?
I've tried just throwing an Error immediately and the migration still says "migration: complete" with no other message about an exception or anything.
I've tried something as simple as the script below.
in
is not being logged to the console. I can throw as well, and it still says "migration: complete".