diff --git a/src/main/libs/clients/MySQLClient.js b/src/main/libs/clients/MySQLClient.js index 9d85035a..07cec883 100644 --- a/src/main/libs/clients/MySQLClient.js +++ b/src/main/libs/clients/MySQLClient.js @@ -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