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

Commit c5104349 by Joshua Perry

Return the promise

1 parent 57dec764
Showing with 1 additions and 1 deletions
......@@ -328,7 +328,7 @@ module.exports = (function() {
sql = 'DESCRIBE ' + table + ';'
}
this.sequelize.query(sql, null, { raw: true }).then(function(data) {
return this.sequelize.query(sql, null, { raw: true }).then(function(data) {
// If no data is returned from the query, then the table name may be wrong.
// Query generators that use information_schema for retrieving table info will just return an empty result set,
// it will not throw an error like built-ins do (e.g. DESCRIBE on MySql).
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!