We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c80fefe commit 6946569Copy full SHA for 6946569
lib/discovery.js
@@ -103,6 +103,7 @@ function mixinDiscovery(PostgreSQL) {
103
}
104
return {
105
owner: options.owner || options.schema,
106
+ schema: options.owner || options.schema,
107
table: table,
108
options: options,
109
cb: cb,
@@ -331,10 +332,6 @@ function mixinDiscovery(PostgreSQL) {
331
332
};
333
334
PostgreSQL.prototype.getDefaultSchema = function() {
- if (this.dataSource && this.dataSource.settings &&
335
- this.dataSource.settings.database) {
336
- return this.dataSource.settings.database;
337
- }
338
- return undefined;
+ return '';
339
340
0 commit comments