Skip to content

Commit

Permalink
fix(createMigrationsTable): fix schema creation
Browse files Browse the repository at this point in the history
  • Loading branch information
drakmail committed May 16, 2020
1 parent a7739e9 commit f231a62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ var PgDriver = Base.extend({
.then(
function () {
// create schema if not exists
return this.all('CREATE SCHEMA IF NOT EXISTS ' + searchPath);
return this.all('SET search_path TO ' + this.schema);
}.bind(this)
)
.then(
Expand Down

0 comments on commit f231a62

Please sign in to comment.