diff --git a/lib/schema/tablecompiler.js b/lib/schema/tablecompiler.js index 68d2d4958e..b06633a297 100644 --- a/lib/schema/tablecompiler.js +++ b/lib/schema/tablecompiler.js @@ -317,6 +317,7 @@ class TableCompiler { output: () => { return this.client .queryBuilder() + .withSchema(this.schemaNameRaw) .from(this.tableNameRaw) .columnInfo(column) .then((columnInfo) => {