From d274fbb228d7970ee2a1ef62d1296f27a27ea676 Mon Sep 17 00:00:00 2001 From: zetxx Date: Fri, 29 Jul 2022 16:47:55 +0300 Subject: [PATCH] fix: example config --- examples/example.mssql.config.js | 29 ++++++++++++++++++----------- 1 file changed, 18 insertions(+), 11 deletions(-) diff --git a/examples/example.mssql.config.js b/examples/example.mssql.config.js index 9a64f1e..f8e56c3 100644 --- a/examples/example.mssql.config.js +++ b/examples/example.mssql.config.js @@ -1,15 +1,22 @@ module.exports = { - server: 'localhost', - user: 'sa', - password: '*******', - database: 'migration-test', - pool: { - max: 10, - min: 0, - idleTimeoutMillis: 30000 + connect: { + server: 'localhost', + user: 'sa', + password: '***', + database: 'mfactor', + pool: { + max: 10, + min: 0, + idleTimeoutMillis: 60000 + }, + options: { + encrypt: true, // for azure + trustServerCertificate: true // change to true for local dev / self-signed certs + } }, - options: { - encrypt: true, // for azure - trustServerCertificate: true // change to true for local dev / self-signed certs + link: { + SP: { + schemas: ['a', 'b'] // schemas allowed + } } }; \ No newline at end of file