Fix broken mysql adapter after merging pull request

This commit is contained in:
Anatoliy Chakkaev 2012-10-22 00:43:00 +04:00
parent ee6c2bff21
commit e6be50eb81
1 changed files with 1 additions and 1 deletions

View File

@ -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 {