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:
parent
acc1eeb094
commit
faa799c8ea
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user