Fix broken mysql adapter after merging pull request
This commit is contained in:
parent
ee6c2bff21
commit
e6be50eb81
|
@ -460,7 +460,7 @@ MySQL.prototype.alterTable = function (model, actualFields, actualIndexes, done,
|
|||
});
|
||||
|
||||
if (sql.length) {
|
||||
var query = 'ALTER TABLE ' + self.tableEscaped(model) + ' + sql.join(',\n');
|
||||
var query = 'ALTER TABLE ' + self.tableEscaped(model) + ' ' + sql.join(',\n');
|
||||
if (checkOnly) {
|
||||
done(null, true, {statements: sql, query: query});
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue