Skip to content

Commit b5daad4

Browse files
committed
Fix schema creation
1 parent a396a65 commit b5daad4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ var PgDriver = Base.extend({
241241
.then(
242242
function () {
243243
// create schema if not exists
244-
return this.all('CREATE SCHEMA IF NOT EXISTS ' + searchPath);
244+
return this.all('SET search_path TO ' + this.schema);
245245
}.bind(this)
246246
)
247247
.then(

0 commit comments

Comments
 (0)