Skip to content

Commit f231a62

Browse files
committed
fix(createMigrationsTable): fix schema creation
1 parent a7739e9 commit f231a62

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

+1-1
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)