diff --git a/lib/adapters/mysql.js b/lib/adapters/mysql.js index 42cf83a9..232a38bc 100644 --- a/lib/adapters/mysql.js +++ b/lib/adapters/mysql.js @@ -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 {