Skip to content

Commit

Permalink
fix(MySQL): missing schema altering tables in some conditions
Browse files Browse the repository at this point in the history
  • Loading branch information
Fabio286 committed May 31, 2021
1 parent acc1eeb commit faa799c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/libs/clients/MySQLClient.js
Expand Up @@ -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
Expand Down

0 comments on commit faa799c

Please sign in to comment.