1
1
mirror of https://github.com/Fabio286/antares.git synced 2025-02-17 12:10:39 +01:00

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

View File

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