fix(MySQL): missing schema altering tables in some conditions

This commit is contained in:
Fabio Di Stasio 2021-05-31 17:07:48 +02:00
parent acc1eeb094
commit faa799c8ea
1 changed files with 1 additions and 1 deletions

View File

@ -1117,7 +1117,7 @@ export class MySQLClient extends AntaresCore {
options
} = params;
let sql = `ALTER TABLE \`${this._schema}\`.\`${table}\` `;
let sql = `ALTER TABLE \`${this._schema || params.options.schema}\`.\`${table}\` `;
const alterColumns = [];
// OPTIONS