diff --git a/lib/adapters/mysql.js b/lib/adapters/mysql.js index a10a7eed..42cf83a9 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 `' + model + '` ' + sql.join(',\n'); + var query = 'ALTER TABLE ' + self.tableEscaped(model) + ' + sql.join(',\n'); if (checkOnly) { done(null, true, {statements: sql, query: query}); } else {