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

Commit fa6bee7c by Mick Hansen

fix createTable migration support for non-pg dialects

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