不要怂,就是干,撸起袖子干!

Commit b50934db by Mick Hansen

fix schema on schema issue

1 parent fa6bee7c
Showing with 2 additions and 2 deletions
......@@ -133,7 +133,7 @@ module.exports = (function() {
}
}
if (options.schema) {
if (!tableName.schema && options.schema) {
tableName = self.QueryGenerator.addSchema({
tableName: tableName,
schema: options.schema
......@@ -150,7 +150,7 @@ module.exports = (function() {
});
});
} else {
if (options.schema) {
if (!tableName.schema && options.schema) {
tableName = self.QueryGenerator.addSchema({
tableName: tableName,
schema: options.schema
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!