Skip to content

Commit

Permalink
fix(schema): add withSchema method to the schema builder
Browse files Browse the repository at this point in the history
  • Loading branch information
thetutlage committed Dec 23, 2017
1 parent 484a6c1 commit 5703a7c
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions src/Schema/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,20 @@ class Schema {
return this.db.fn
}

/**
* Select schema to be used with postgreSQL.
*
* @method withSchema
*
* @param {String} schema
*
* @chainable
*/
withSchema (schema) {
this.schema.withSchema(schema)
return this
}

/**
* Create a extension.
*
Expand Down

0 comments on commit 5703a7c

Please sign in to comment.