mirror of https://github.com/Fabio286/antares.git
fix(MySQL): missing schema altering tables in some conditions
This commit is contained in:
parent
acc1eeb094
commit
faa799c8ea
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue