diff --git a/src/packages/database/interfaces.js b/src/packages/database/interfaces.js index 6b14f704..5236951e 100644 --- a/src/packages/database/interfaces.js +++ b/src/packages/database/interfaces.js @@ -23,6 +23,8 @@ export type Database$environment = { database?: string; username?: string; password?: string; + port?: number; + ssl?: boolean; url?: string; }; diff --git a/src/packages/database/utils/connect.js b/src/packages/database/utils/connect.js index 99a5cab0..113ec1a6 100644 --- a/src/packages/database/utils/connect.js +++ b/src/packages/database/utils/connect.js @@ -22,6 +22,8 @@ export default function connect(path, config = {}) { database, username, password, + port, + ssl, url } = config; @@ -48,6 +50,8 @@ export default function connect(path, config = {}) { host, database, password, + port, + ssl, user: username, socketPath: socket, filename: usingSQLite ?