diff --git a/src/knex.js b/src/knex.js index 35c8cb5..ff1a9cd 100644 --- a/src/knex.js +++ b/src/knex.js @@ -1,2 +1,13 @@ const config = require("./cfg"); -module.exports = require("knex")(config.knex); +module.exports = require("knex")({ + ...config.knex, + log: { + warn(message) { + if (message.startsWith("FS-related option specified for migration configuration")) { + return; + } + + console.warn(message); + }, + }, +});